require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_HIDHID_H_)) {
    eval 'sub _HIDHID_H_ () {1;}' unless defined(&_HIDHID_H_);
    if(defined(&_KERNEL) || defined(&_RUMPKERNEL)) {
	eval("sub hid_input () { 0; }") unless defined(&hid_input);
	eval("sub hid_output () { 1; }") unless defined(&hid_output);
	eval("sub hid_feature () { 2; }") unless defined(&hid_feature);
	eval("sub hid_collection () { 3; }") unless defined(&hid_collection);
	eval("sub hid_endcollection () { 4; }") unless defined(&hid_endcollection);
	eval("sub hid_none () { 5; }") unless defined(&hid_none);
    }
    eval 'sub HUP_UNDEFINED () {0x;}' unless defined(&HUP_UNDEFINED);
    eval 'sub HUP_GENERIC_DESKTOP () {0x1;}' unless defined(&HUP_GENERIC_DESKTOP);
    eval 'sub HUP_SIMULATION () {0x2;}' unless defined(&HUP_SIMULATION);
    eval 'sub HUP_VR_CONTROLS () {0x3;}' unless defined(&HUP_VR_CONTROLS);
    eval 'sub HUP_SPORTS_CONTROLS () {0x4;}' unless defined(&HUP_SPORTS_CONTROLS);
    eval 'sub HUP_GAMING_CONTROLS () {0x5;}' unless defined(&HUP_GAMING_CONTROLS);
    eval 'sub HUP_KEYBOARD () {0x7;}' unless defined(&HUP_KEYBOARD);
    eval 'sub HUP_LEDS () {0x8;}' unless defined(&HUP_LEDS);
    eval 'sub HUP_BUTTON () {0x9;}' unless defined(&HUP_BUTTON);
    eval 'sub HUP_ORDINALS () {0xa;}' unless defined(&HUP_ORDINALS);
    eval 'sub HUP_TELEPHONY () {0xb;}' unless defined(&HUP_TELEPHONY);
    eval 'sub HUP_CONSUMER () {0xc;}' unless defined(&HUP_CONSUMER);
    eval 'sub HUP_DIGITIZERS () {0xd;}' unless defined(&HUP_DIGITIZERS);
    eval 'sub HUP_PHYSICAL_IFACE () {0xe;}' unless defined(&HUP_PHYSICAL_IFACE);
    eval 'sub HUP_UNICODE () {0x10;}' unless defined(&HUP_UNICODE);
    eval 'sub HUP_ALPHANUM_DISPLAY () {0x14;}' unless defined(&HUP_ALPHANUM_DISPLAY);
    eval 'sub HUP_MONITOR () {0x80;}' unless defined(&HUP_MONITOR);
    eval 'sub HUP_MONITOR_ENUM_VAL () {0x81;}' unless defined(&HUP_MONITOR_ENUM_VAL);
    eval 'sub HUP_VESA_VC () {0x82;}' unless defined(&HUP_VESA_VC);
    eval 'sub HUP_VESA_CMD () {0x83;}' unless defined(&HUP_VESA_CMD);
    eval 'sub HUP_POWER () {0x84;}' unless defined(&HUP_POWER);
    eval 'sub HUP_BATTERY () {0x85;}' unless defined(&HUP_BATTERY);
    eval 'sub HUP_BARCODE_SCANNER () {0x8b;}' unless defined(&HUP_BARCODE_SCANNER);
    eval 'sub HUP_SCALE () {0x8c;}' unless defined(&HUP_SCALE);
    eval 'sub HUP_CAMERA_CONTROL () {0x90;}' unless defined(&HUP_CAMERA_CONTROL);
    eval 'sub HUP_ARCADE () {0x91;}' unless defined(&HUP_ARCADE);
    eval 'sub HUP_VENDOR () {0xff;}' unless defined(&HUP_VENDOR);
    eval 'sub HUP_FIDO () {0xf1d0;}' unless defined(&HUP_FIDO);
    eval 'sub HUP_MICROSOFT () {0xff00;}' unless defined(&HUP_MICROSOFT);
    eval 'sub HUP_APPLE () {0xff;}' unless defined(&HUP_APPLE);
    eval 'sub HUP_WACOM () {0xff00;}' unless defined(&HUP_WACOM);
    eval 'sub HUP_INAME () {0x1;}' unless defined(&HUP_INAME);
    eval 'sub HUP_PRESENT_STATUS () {0x2;}' unless defined(&HUP_PRESENT_STATUS);
    eval 'sub HUP_CHANGED_STATUS () {0x3;}' unless defined(&HUP_CHANGED_STATUS);
    eval 'sub HUP_UPS () {0x4;}' unless defined(&HUP_UPS);
    eval 'sub HUP_POWER_SUPPLY () {0x5;}' unless defined(&HUP_POWER_SUPPLY);
    eval 'sub HUP_BATTERY_SYSTEM () {0x10;}' unless defined(&HUP_BATTERY_SYSTEM);
    eval 'sub HUP_BATTERY_SYSTEM_ID () {0x11;}' unless defined(&HUP_BATTERY_SYSTEM_ID);
    eval 'sub HUP_PD_BATTERY () {0x12;}' unless defined(&HUP_PD_BATTERY);
    eval 'sub HUP_BATTERY_ID () {0x13;}' unless defined(&HUP_BATTERY_ID);
    eval 'sub HUP_CHARGER () {0x14;}' unless defined(&HUP_CHARGER);
    eval 'sub HUP_CHARGER_ID () {0x15;}' unless defined(&HUP_CHARGER_ID);
    eval 'sub HUP_POWER_CONVERTER () {0x16;}' unless defined(&HUP_POWER_CONVERTER);
    eval 'sub HUP_POWER_CONVERTER_ID () {0x17;}' unless defined(&HUP_POWER_CONVERTER_ID);
    eval 'sub HUP_OUTLET_SYSTEM () {0x18;}' unless defined(&HUP_OUTLET_SYSTEM);
    eval 'sub HUP_OUTLET_SYSTEM_ID () {0x19;}' unless defined(&HUP_OUTLET_SYSTEM_ID);
    eval 'sub HUP_INPUT () {0x1a;}' unless defined(&HUP_INPUT);
    eval 'sub HUP_INPUT_ID () {0x1b;}' unless defined(&HUP_INPUT_ID);
    eval 'sub HUP_OUTPUT () {0x1c;}' unless defined(&HUP_OUTPUT);
    eval 'sub HUP_OUTPUT_ID () {0x1d;}' unless defined(&HUP_OUTPUT_ID);
    eval 'sub HUP_FLOW () {0x1e;}' unless defined(&HUP_FLOW);
    eval 'sub HUP_FLOW_ID () {0x1f;}' unless defined(&HUP_FLOW_ID);
    eval 'sub HUP_OUTLET () {0x20;}' unless defined(&HUP_OUTLET);
    eval 'sub HUP_OUTLET_ID () {0x21;}' unless defined(&HUP_OUTLET_ID);
    eval 'sub HUP_GANG () {0x22;}' unless defined(&HUP_GANG);
    eval 'sub HUP_GANG_ID () {0x23;}' unless defined(&HUP_GANG_ID);
    eval 'sub HUP_POWER_SUMMARY () {0x24;}' unless defined(&HUP_POWER_SUMMARY);
    eval 'sub HUP_POWER_SUMMARY_ID () {0x25;}' unless defined(&HUP_POWER_SUMMARY_ID);
    eval 'sub HUP_VOLTAGE () {0x30;}' unless defined(&HUP_VOLTAGE);
    eval 'sub HUP_CURRENT () {0x31;}' unless defined(&HUP_CURRENT);
    eval 'sub HUP_FREQUENCY () {0x32;}' unless defined(&HUP_FREQUENCY);
    eval 'sub HUP_APPARENT_POWER () {0x33;}' unless defined(&HUP_APPARENT_POWER);
    eval 'sub HUP_ACTIVE_POWER () {0x34;}' unless defined(&HUP_ACTIVE_POWER);
    eval 'sub HUP_PERCENT_LOAD () {0x35;}' unless defined(&HUP_PERCENT_LOAD);
    eval 'sub HUP_TEMPERATURE () {0x36;}' unless defined(&HUP_TEMPERATURE);
    eval 'sub HUP_HUMIDITY () {0x37;}' unless defined(&HUP_HUMIDITY);
    eval 'sub HUP_BADCOUNT () {0x38;}' unless defined(&HUP_BADCOUNT);
    eval 'sub HUP_CONFIG_VOLTAGE () {0x40;}' unless defined(&HUP_CONFIG_VOLTAGE);
    eval 'sub HUP_CONFIG_CURRENT () {0x41;}' unless defined(&HUP_CONFIG_CURRENT);
    eval 'sub HUP_CONFIG_FREQUENCY () {0x42;}' unless defined(&HUP_CONFIG_FREQUENCY);
    eval 'sub HUP_CONFIG_APP_POWER () {0x43;}' unless defined(&HUP_CONFIG_APP_POWER);
    eval 'sub HUP_CONFIG_ACT_POWER () {0x44;}' unless defined(&HUP_CONFIG_ACT_POWER);
    eval 'sub HUP_CONFIG_PERCENT_LOAD () {0x45;}' unless defined(&HUP_CONFIG_PERCENT_LOAD);
    eval 'sub HUP_CONFIG_TEMPERATURE () {0x46;}' unless defined(&HUP_CONFIG_TEMPERATURE);
    eval 'sub HUP_CONFIG_HUMIDITY () {0x47;}' unless defined(&HUP_CONFIG_HUMIDITY);
    eval 'sub HUP_SWITCHON_CONTROL () {0x50;}' unless defined(&HUP_SWITCHON_CONTROL);
    eval 'sub HUP_SWITCHOFF_CONTROL () {0x51;}' unless defined(&HUP_SWITCHOFF_CONTROL);
    eval 'sub HUP_TOGGLE_CONTROL () {0x52;}' unless defined(&HUP_TOGGLE_CONTROL);
    eval 'sub HUP_LOW_VOLT_TRANSF () {0x53;}' unless defined(&HUP_LOW_VOLT_TRANSF);
    eval 'sub HUP_HIGH_VOLT_TRANSF () {0x54;}' unless defined(&HUP_HIGH_VOLT_TRANSF);
    eval 'sub HUP_DELAYBEFORE_REBOOT () {0x55;}' unless defined(&HUP_DELAYBEFORE_REBOOT);
    eval 'sub HUP_DELAYBEFORE_STARTUP () {0x56;}' unless defined(&HUP_DELAYBEFORE_STARTUP);
    eval 'sub HUP_DELAYBEFORE_SHUTDWN () {0x57;}' unless defined(&HUP_DELAYBEFORE_SHUTDWN);
    eval 'sub HUP_TEST () {0x58;}' unless defined(&HUP_TEST);
    eval 'sub HUP_MODULE_RESET () {0x59;}' unless defined(&HUP_MODULE_RESET);
    eval 'sub HUP_AUDIBLE_ALRM_CTL () {0x5a;}' unless defined(&HUP_AUDIBLE_ALRM_CTL);
    eval 'sub HUP_PRESENT () {0x60;}' unless defined(&HUP_PRESENT);
    eval 'sub HUP_GOOD () {0x61;}' unless defined(&HUP_GOOD);
    eval 'sub HUP_INTERNAL_FAILURE () {0x62;}' unless defined(&HUP_INTERNAL_FAILURE);
    eval 'sub HUP_PD_VOLT_OUTOF_RANGE () {0x63;}' unless defined(&HUP_PD_VOLT_OUTOF_RANGE);
    eval 'sub HUP_FREQ_OUTOFRANGE () {0x64;}' unless defined(&HUP_FREQ_OUTOFRANGE);
    eval 'sub HUP_OVERLOAD () {0x65;}' unless defined(&HUP_OVERLOAD);
    eval 'sub HUP_OVERCHARGED () {0x66;}' unless defined(&HUP_OVERCHARGED);
    eval 'sub HUP_OVERTEMPERATURE () {0x67;}' unless defined(&HUP_OVERTEMPERATURE);
    eval 'sub HUP_SHUTDOWN_REQUESTED () {0x68;}' unless defined(&HUP_SHUTDOWN_REQUESTED);
    eval 'sub HUP_SHUTDOWN_IMMINENT () {0x69;}' unless defined(&HUP_SHUTDOWN_IMMINENT);
    eval 'sub HUP_SWITCH_ON_OFF () {0x6b;}' unless defined(&HUP_SWITCH_ON_OFF);
    eval 'sub HUP_SWITCHABLE () {0x6c;}' unless defined(&HUP_SWITCHABLE);
    eval 'sub HUP_USED () {0x6d;}' unless defined(&HUP_USED);
    eval 'sub HUP_BOOST () {0x6e;}' unless defined(&HUP_BOOST);
    eval 'sub HUP_BUCK () {0x6f;}' unless defined(&HUP_BUCK);
    eval 'sub HUP_INITIALIZED () {0x70;}' unless defined(&HUP_INITIALIZED);
    eval 'sub HUP_TESTED () {0x71;}' unless defined(&HUP_TESTED);
    eval 'sub HUP_AWAITING_POWER () {0x72;}' unless defined(&HUP_AWAITING_POWER);
    eval 'sub HUP_COMMUNICATION_LOST () {0x73;}' unless defined(&HUP_COMMUNICATION_LOST);
    eval 'sub HUP_IMANUFACTURER () {0xfd;}' unless defined(&HUP_IMANUFACTURER);
    eval 'sub HUP_IPRODUCT () {0xfe;}' unless defined(&HUP_IPRODUCT);
    eval 'sub HUP_ISERIALNUMBER () {0xff;}' unless defined(&HUP_ISERIALNUMBER);
    eval 'sub HUB_SMB_BATTERY_MODE () {0x1;}' unless defined(&HUB_SMB_BATTERY_MODE);
    eval 'sub HUB_SMB_BATTERY_STATUS () {0x2;}' unless defined(&HUB_SMB_BATTERY_STATUS);
    eval 'sub HUB_SMB_ALARM_WARNING () {0x3;}' unless defined(&HUB_SMB_ALARM_WARNING);
    eval 'sub HUB_SMB_CHARGER_MODE () {0x4;}' unless defined(&HUB_SMB_CHARGER_MODE);
    eval 'sub HUB_SMB_CHARGER_STATUS () {0x5;}' unless defined(&HUB_SMB_CHARGER_STATUS);
    eval 'sub HUB_SMB_CHARGER_SPECINF () {0x6;}' unless defined(&HUB_SMB_CHARGER_SPECINF);
    eval 'sub HUB_SMB_SELECTR_STATE () {0x7;}' unless defined(&HUB_SMB_SELECTR_STATE);
    eval 'sub HUB_SMB_SELECTR_PRESETS () {0x8;}' unless defined(&HUB_SMB_SELECTR_PRESETS);
    eval 'sub HUB_SMB_SELECTR_INFO () {0x9;}' unless defined(&HUB_SMB_SELECTR_INFO);
    eval 'sub HUB_SMB_OPT_MFGFUNC1 () {0x10;}' unless defined(&HUB_SMB_OPT_MFGFUNC1);
    eval 'sub HUB_SMB_OPT_MFGFUNC2 () {0x11;}' unless defined(&HUB_SMB_OPT_MFGFUNC2);
    eval 'sub HUB_SMB_OPT_MFGFUNC3 () {0x12;}' unless defined(&HUB_SMB_OPT_MFGFUNC3);
    eval 'sub HUB_SMB_OPT_MFGFUNC4 () {0x13;}' unless defined(&HUB_SMB_OPT_MFGFUNC4);
    eval 'sub HUB_SMB_OPT_MFGFUNC5 () {0x14;}' unless defined(&HUB_SMB_OPT_MFGFUNC5);
    eval 'sub HUB_CONNECTIONTOSMBUS () {0x15;}' unless defined(&HUB_CONNECTIONTOSMBUS);
    eval 'sub HUB_OUTPUT_CONNECTION () {0x16;}' unless defined(&HUB_OUTPUT_CONNECTION);
    eval 'sub HUB_CHARGER_CONNECTION () {0x17;}' unless defined(&HUB_CHARGER_CONNECTION);
    eval 'sub HUB_BATTERY_INSERTION () {0x18;}' unless defined(&HUB_BATTERY_INSERTION);
    eval 'sub HUB_USENEXT () {0x19;}' unless defined(&HUB_USENEXT);
    eval 'sub HUB_OKTOUSE () {0x1a;}' unless defined(&HUB_OKTOUSE);
    eval 'sub HUB_BATTERY_SUPPORTED () {0x1b;}' unless defined(&HUB_BATTERY_SUPPORTED);
    eval 'sub HUB_SELECTOR_REVISION () {0x1c;}' unless defined(&HUB_SELECTOR_REVISION);
    eval 'sub HUB_CHARGING_INDICATOR () {0x1d;}' unless defined(&HUB_CHARGING_INDICATOR);
    eval 'sub HUB_MANUFACTURER_ACCESS () {0x28;}' unless defined(&HUB_MANUFACTURER_ACCESS);
    eval 'sub HUB_REM_CAPACITY_LIM () {0x29;}' unless defined(&HUB_REM_CAPACITY_LIM);
    eval 'sub HUB_REM_TIME_LIM () {0x2a;}' unless defined(&HUB_REM_TIME_LIM);
    eval 'sub HUB_ATRATE () {0x2b;}' unless defined(&HUB_ATRATE);
    eval 'sub HUB_CAPACITY_MODE () {0x2c;}' unless defined(&HUB_CAPACITY_MODE);
    eval 'sub HUB_BCAST_TO_CHARGER () {0x2d;}' unless defined(&HUB_BCAST_TO_CHARGER);
    eval 'sub HUB_PRIMARY_BATTERY () {0x2e;}' unless defined(&HUB_PRIMARY_BATTERY);
    eval 'sub HUB_CHANGE_CONTROLLER () {0x2f;}' unless defined(&HUB_CHANGE_CONTROLLER);
    eval 'sub HUB_TERMINATE_CHARGE () {0x40;}' unless defined(&HUB_TERMINATE_CHARGE);
    eval 'sub HUB_TERMINATE_DISCHARGE () {0x41;}' unless defined(&HUB_TERMINATE_DISCHARGE);
    eval 'sub HUB_BELOW_REM_CAP_LIM () {0x42;}' unless defined(&HUB_BELOW_REM_CAP_LIM);
    eval 'sub HUB_REM_TIME_LIM_EXP () {0x43;}' unless defined(&HUB_REM_TIME_LIM_EXP);
    eval 'sub HUB_CHARGING () {0x44;}' unless defined(&HUB_CHARGING);
    eval 'sub HUB_DISCHARGING () {0x45;}' unless defined(&HUB_DISCHARGING);
    eval 'sub HUB_FULLY_CHARGED () {0x46;}' unless defined(&HUB_FULLY_CHARGED);
    eval 'sub HUB_FULLY_DISCHARGED () {0x47;}' unless defined(&HUB_FULLY_DISCHARGED);
    eval 'sub HUB_CONDITIONING_FLAG () {0x48;}' unless defined(&HUB_CONDITIONING_FLAG);
    eval 'sub HUB_ATRATE_OK () {0x49;}' unless defined(&HUB_ATRATE_OK);
    eval 'sub HUB_SMB_ERROR_CODE () {0x4a;}' unless defined(&HUB_SMB_ERROR_CODE);
    eval 'sub HUB_NEED_REPLACEMENT () {0x4b;}' unless defined(&HUB_NEED_REPLACEMENT);
    eval 'sub HUB_ATRATE_TIMETOFULL () {0x60;}' unless defined(&HUB_ATRATE_TIMETOFULL);
    eval 'sub HUB_ATRATE_TIMETOEMPTY () {0x61;}' unless defined(&HUB_ATRATE_TIMETOEMPTY);
    eval 'sub HUB_AVERAGE_CURRENT () {0x62;}' unless defined(&HUB_AVERAGE_CURRENT);
    eval 'sub HUB_MAXERROR () {0x63;}' unless defined(&HUB_MAXERROR);
    eval 'sub HUB_REL_STATEOF_CHARGE () {0x64;}' unless defined(&HUB_REL_STATEOF_CHARGE);
    eval 'sub HUB_ABS_STATEOF_CHARGE () {0x65;}' unless defined(&HUB_ABS_STATEOF_CHARGE);
    eval 'sub HUB_REM_CAPACITY () {0x66;}' unless defined(&HUB_REM_CAPACITY);
    eval 'sub HUB_FULLCHARGE_CAPACITY () {0x67;}' unless defined(&HUB_FULLCHARGE_CAPACITY);
    eval 'sub HUB_RUNTIMETO_EMPTY () {0x68;}' unless defined(&HUB_RUNTIMETO_EMPTY);
    eval 'sub HUB_AVERAGETIMETO_EMPTY () {0x69;}' unless defined(&HUB_AVERAGETIMETO_EMPTY);
    eval 'sub HUB_AVERAGETIMETO_FULL () {0x6a;}' unless defined(&HUB_AVERAGETIMETO_FULL);
    eval 'sub HUB_CYCLECOUNT () {0x6b;}' unless defined(&HUB_CYCLECOUNT);
    eval 'sub HUB_BATTPACKMODEL_LEVEL () {0x80;}' unless defined(&HUB_BATTPACKMODEL_LEVEL);
    eval 'sub HUB_INTERNAL_CHARGE_CTL () {0x81;}' unless defined(&HUB_INTERNAL_CHARGE_CTL);
    eval 'sub HUB_PRIMARY_BATTERY_SUP () {0x82;}' unless defined(&HUB_PRIMARY_BATTERY_SUP);
    eval 'sub HUB_DESIGN_CAPACITY () {0x83;}' unless defined(&HUB_DESIGN_CAPACITY);
    eval 'sub HUB_SPECIFICATION_INFO () {0x84;}' unless defined(&HUB_SPECIFICATION_INFO);
    eval 'sub HUB_MANUFACTURER_DATE () {0x85;}' unless defined(&HUB_MANUFACTURER_DATE);
    eval 'sub HUB_SERIAL_NUMBER () {0x86;}' unless defined(&HUB_SERIAL_NUMBER);
    eval 'sub HUB_IMANUFACTURERNAME () {0x87;}' unless defined(&HUB_IMANUFACTURERNAME);
    eval 'sub HUB_IDEVICENAME () {0x88;}' unless defined(&HUB_IDEVICENAME);
    eval 'sub HUB_IDEVICECHEMISTERY () {0x89;}' unless defined(&HUB_IDEVICECHEMISTERY);
    eval 'sub HUB_MANUFACTURERDATA () {0x8a;}' unless defined(&HUB_MANUFACTURERDATA);
    eval 'sub HUB_RECHARGABLE () {0x8b;}' unless defined(&HUB_RECHARGABLE);
    eval 'sub HUB_WARN_CAPACITY_LIM () {0x8c;}' unless defined(&HUB_WARN_CAPACITY_LIM);
    eval 'sub HUB_CAPACITY_GRANUL1 () {0x8d;}' unless defined(&HUB_CAPACITY_GRANUL1);
    eval 'sub HUB_CAPACITY_GRANUL2 () {0x8e;}' unless defined(&HUB_CAPACITY_GRANUL2);
    eval 'sub HUB_IOEM_INFORMATION () {0x8f;}' unless defined(&HUB_IOEM_INFORMATION);
    eval 'sub HUB_INHIBIT_CHARGE () {0xc0;}' unless defined(&HUB_INHIBIT_CHARGE);
    eval 'sub HUB_ENABLE_POLLING () {0xc1;}' unless defined(&HUB_ENABLE_POLLING);
    eval 'sub HUB_RESTORE_TO_ZERO () {0xc2;}' unless defined(&HUB_RESTORE_TO_ZERO);
    eval 'sub HUB_AC_PRESENT () {0xd0;}' unless defined(&HUB_AC_PRESENT);
    eval 'sub HUB_BATTERY_PRESENT () {0xd1;}' unless defined(&HUB_BATTERY_PRESENT);
    eval 'sub HUB_POWER_FAIL () {0xd2;}' unless defined(&HUB_POWER_FAIL);
    eval 'sub HUB_ALARM_INHIBITED () {0xd3;}' unless defined(&HUB_ALARM_INHIBITED);
    eval 'sub HUB_THERMISTOR_UNDRANGE () {0xd4;}' unless defined(&HUB_THERMISTOR_UNDRANGE);
    eval 'sub HUB_THERMISTOR_HOT () {0xd5;}' unless defined(&HUB_THERMISTOR_HOT);
    eval 'sub HUB_THERMISTOR_COLD () {0xd6;}' unless defined(&HUB_THERMISTOR_COLD);
    eval 'sub HUB_THERMISTOR_OVERANGE () {0xd7;}' unless defined(&HUB_THERMISTOR_OVERANGE);
    eval 'sub HUB_BS_VOLT_OUTOF_RANGE () {0xd8;}' unless defined(&HUB_BS_VOLT_OUTOF_RANGE);
    eval 'sub HUB_BS_CURR_OUTOF_RANGE () {0xd9;}' unless defined(&HUB_BS_CURR_OUTOF_RANGE);
    eval 'sub HUB_BS_CURR_NOT_REGULTD () {0xda;}' unless defined(&HUB_BS_CURR_NOT_REGULTD);
    eval 'sub HUB_BS_VOLT_NOT_REGULTD () {0xdb;}' unless defined(&HUB_BS_VOLT_NOT_REGULTD);
    eval 'sub HUB_MASTER_MODE () {0xdc;}' unless defined(&HUB_MASTER_MODE);
    eval 'sub HUB_CHARGER_SELECTR_SUP () {0xf0;}' unless defined(&HUB_CHARGER_SELECTR_SUP);
    eval 'sub HUB_CHARGER_SPEC () {0xf1;}' unless defined(&HUB_CHARGER_SPEC);
    eval 'sub HUB_LEVEL2 () {0xf2;}' unless defined(&HUB_LEVEL2);
    eval 'sub HUB_LEVEL3 () {0xf3;}' unless defined(&HUB_LEVEL3);
    eval 'sub HUG_POINTER () {0x1;}' unless defined(&HUG_POINTER);
    eval 'sub HUG_MOUSE () {0x2;}' unless defined(&HUG_MOUSE);
    eval 'sub HUG_FN_KEY () {0x3;}' unless defined(&HUG_FN_KEY);
    eval 'sub HUG_JOYSTICK () {0x4;}' unless defined(&HUG_JOYSTICK);
    eval 'sub HUG_GAME_PAD () {0x5;}' unless defined(&HUG_GAME_PAD);
    eval 'sub HUG_KEYBOARD () {0x6;}' unless defined(&HUG_KEYBOARD);
    eval 'sub HUG_KEYPAD () {0x7;}' unless defined(&HUG_KEYPAD);
    eval 'sub HUG_X () {0x30;}' unless defined(&HUG_X);
    eval 'sub HUG_Y () {0x31;}' unless defined(&HUG_Y);
    eval 'sub HUG_Z () {0x32;}' unless defined(&HUG_Z);
    eval 'sub HUG_RX () {0x33;}' unless defined(&HUG_RX);
    eval 'sub HUG_RY () {0x34;}' unless defined(&HUG_RY);
    eval 'sub HUG_RZ () {0x35;}' unless defined(&HUG_RZ);
    eval 'sub HUG_SLIDER () {0x36;}' unless defined(&HUG_SLIDER);
    eval 'sub HUG_DIAL () {0x37;}' unless defined(&HUG_DIAL);
    eval 'sub HUG_WHEEL () {0x38;}' unless defined(&HUG_WHEEL);
    eval 'sub HUG_HAT_SWITCH () {0x39;}' unless defined(&HUG_HAT_SWITCH);
    eval 'sub HUG_COUNTED_BUFFER () {0x3a;}' unless defined(&HUG_COUNTED_BUFFER);
    eval 'sub HUG_BYTE_COUNT () {0x3b;}' unless defined(&HUG_BYTE_COUNT);
    eval 'sub HUG_MOTION_WAKEUP () {0x3c;}' unless defined(&HUG_MOTION_WAKEUP);
    eval 'sub HUG_VX () {0x40;}' unless defined(&HUG_VX);
    eval 'sub HUG_VY () {0x41;}' unless defined(&HUG_VY);
    eval 'sub HUG_VZ () {0x42;}' unless defined(&HUG_VZ);
    eval 'sub HUG_VBRX () {0x43;}' unless defined(&HUG_VBRX);
    eval 'sub HUG_VBRY () {0x44;}' unless defined(&HUG_VBRY);
    eval 'sub HUG_VBRZ () {0x45;}' unless defined(&HUG_VBRZ);
    eval 'sub HUG_VNO () {0x46;}' unless defined(&HUG_VNO);
    eval 'sub HUG_TWHEEL () {0x48;}' unless defined(&HUG_TWHEEL);
    eval 'sub HUG_SYSTEM_CONTROL () {0x80;}' unless defined(&HUG_SYSTEM_CONTROL);
    eval 'sub HUG_SYSTEM_POWER_DOWN () {0x81;}' unless defined(&HUG_SYSTEM_POWER_DOWN);
    eval 'sub HUG_SYSTEM_SLEEP () {0x82;}' unless defined(&HUG_SYSTEM_SLEEP);
    eval 'sub HUG_SYSTEM_WAKEUP () {0x83;}' unless defined(&HUG_SYSTEM_WAKEUP);
    eval 'sub HUG_SYSTEM_CONTEXT_MENU () {0x84;}' unless defined(&HUG_SYSTEM_CONTEXT_MENU);
    eval 'sub HUG_SYSTEM_MAIN_MENU () {0x85;}' unless defined(&HUG_SYSTEM_MAIN_MENU);
    eval 'sub HUG_SYSTEM_APP_MENU () {0x86;}' unless defined(&HUG_SYSTEM_APP_MENU);
    eval 'sub HUG_SYSTEM_MENU_HELP () {0x87;}' unless defined(&HUG_SYSTEM_MENU_HELP);
    eval 'sub HUG_SYSTEM_MENU_EXIT () {0x88;}' unless defined(&HUG_SYSTEM_MENU_EXIT);
    eval 'sub HUG_SYSTEM_MENU_SELECT () {0x89;}' unless defined(&HUG_SYSTEM_MENU_SELECT);
    eval 'sub HUG_SYSTEM_MENU_RIGHT () {0x8a;}' unless defined(&HUG_SYSTEM_MENU_RIGHT);
    eval 'sub HUG_SYSTEM_MENU_LEFT () {0x8b;}' unless defined(&HUG_SYSTEM_MENU_LEFT);
    eval 'sub HUG_SYSTEM_MENU_UP () {0x8c;}' unless defined(&HUG_SYSTEM_MENU_UP);
    eval 'sub HUG_SYSTEM_MENU_DOWN () {0x8d;}' unless defined(&HUG_SYSTEM_MENU_DOWN);
    eval 'sub HUD_UNDEFINED () {0x;}' unless defined(&HUD_UNDEFINED);
    eval 'sub HUD_DIGITIZER () {0x1;}' unless defined(&HUD_DIGITIZER);
    eval 'sub HUD_PEN () {0x2;}' unless defined(&HUD_PEN);
    eval 'sub HUD_TOUCH_SCREEN () {0x4;}' unless defined(&HUD_TOUCH_SCREEN);
    eval 'sub HUD_TOUCHPAD () {0x5;}' unless defined(&HUD_TOUCHPAD);
    eval 'sub HUD_CONFIG () {0xe;}' unless defined(&HUD_CONFIG);
    eval 'sub HUD_FINGER () {0x22;}' unless defined(&HUD_FINGER);
    eval 'sub HUD_TIP_PRESSURE () {0x30;}' unless defined(&HUD_TIP_PRESSURE);
    eval 'sub HUD_BARREL_PRESSURE () {0x31;}' unless defined(&HUD_BARREL_PRESSURE);
    eval 'sub HUD_IN_RANGE () {0x32;}' unless defined(&HUD_IN_RANGE);
    eval 'sub HUD_TOUCH () {0x33;}' unless defined(&HUD_TOUCH);
    eval 'sub HUD_UNTOUCH () {0x34;}' unless defined(&HUD_UNTOUCH);
    eval 'sub HUD_TAP () {0x35;}' unless defined(&HUD_TAP);
    eval 'sub HUD_QUALITY () {0x36;}' unless defined(&HUD_QUALITY);
    eval 'sub HUD_DATA_VALID () {0x37;}' unless defined(&HUD_DATA_VALID);
    eval 'sub HUD_TRANSDUCER_INDEX () {0x38;}' unless defined(&HUD_TRANSDUCER_INDEX);
    eval 'sub HUD_TABLET_FKEYS () {0x39;}' unless defined(&HUD_TABLET_FKEYS);
    eval 'sub HUD_PROGRAM_CHANGE_KEYS () {0x3a;}' unless defined(&HUD_PROGRAM_CHANGE_KEYS);
    eval 'sub HUD_BATTERY_STRENGTH () {0x3b;}' unless defined(&HUD_BATTERY_STRENGTH);
    eval 'sub HUD_INVERT () {0x3c;}' unless defined(&HUD_INVERT);
    eval 'sub HUD_X_TILT () {0x3d;}' unless defined(&HUD_X_TILT);
    eval 'sub HUD_Y_TILT () {0x3e;}' unless defined(&HUD_Y_TILT);
    eval 'sub HUD_AZIMUTH () {0x3f;}' unless defined(&HUD_AZIMUTH);
    eval 'sub HUD_ALTITUDE () {0x40;}' unless defined(&HUD_ALTITUDE);
    eval 'sub HUD_TWIST () {0x41;}' unless defined(&HUD_TWIST);
    eval 'sub HUD_TIP_SWITCH () {0x42;}' unless defined(&HUD_TIP_SWITCH);
    eval 'sub HUD_SEC_TIP_SWITCH () {0x43;}' unless defined(&HUD_SEC_TIP_SWITCH);
    eval 'sub HUD_BARREL_SWITCH () {0x44;}' unless defined(&HUD_BARREL_SWITCH);
    eval 'sub HUD_ERASER () {0x45;}' unless defined(&HUD_ERASER);
    eval 'sub HUD_TABLET_PICK () {0x46;}' unless defined(&HUD_TABLET_PICK);
    eval 'sub HUD_CONFIDENCE () {0x47;}' unless defined(&HUD_CONFIDENCE);
    eval 'sub HUD_WIDTH () {0x48;}' unless defined(&HUD_WIDTH);
    eval 'sub HUD_HEIGHT () {0x49;}' unless defined(&HUD_HEIGHT);
    eval 'sub HUD_CONTACTID () {0x51;}' unless defined(&HUD_CONTACTID);
    eval 'sub HUD_INPUT_MODE () {0x52;}' unless defined(&HUD_INPUT_MODE);
    eval 'sub HUD_DEVICE_INDEX () {0x53;}' unless defined(&HUD_DEVICE_INDEX);
    eval 'sub HUD_CONTACTCOUNT () {0x54;}' unless defined(&HUD_CONTACTCOUNT);
    eval 'sub HUD_CONTACT_MAX () {0x55;}' unless defined(&HUD_CONTACT_MAX);
    eval 'sub HUD_SCAN_TIME () {0x56;}' unless defined(&HUD_SCAN_TIME);
    eval 'sub HUD_BUTTON_TYPE () {0x59;}' unless defined(&HUD_BUTTON_TYPE);
    eval 'sub HUD_LED_NUM_LOCK () {0x1;}' unless defined(&HUD_LED_NUM_LOCK);
    eval 'sub HUD_LED_CAPS_LOCK () {0x2;}' unless defined(&HUD_LED_CAPS_LOCK);
    eval 'sub HUD_LED_SCROLL_LOCK () {0x3;}' unless defined(&HUD_LED_SCROLL_LOCK);
    eval 'sub HUD_LED_COMPOSE () {0x4;}' unless defined(&HUD_LED_COMPOSE);
    eval 'sub HUD_LED_KANA () {0x5;}' unless defined(&HUD_LED_KANA);
    eval 'sub HUC_AC_PAN () {0x238;}' unless defined(&HUC_AC_PAN);
    eval 'sub HUF_U2FHID () {0x1;}' unless defined(&HUF_U2FHID);
    eval 'sub HID_USAGE2 {
        my($p, $u) = @_;
	    eval q(((($p) << 16) | $u));
    }' unless defined(&HID_USAGE2);
    eval 'sub HID_GET_USAGE {
        my($u) = @_;
	    eval q((($u) & 0xffff));
    }' unless defined(&HID_GET_USAGE);
    eval 'sub HID_GET_USAGE_PAGE {
        my($u) = @_;
	    eval q(((($u) >> 16) & 0xffff));
    }' unless defined(&HID_GET_USAGE_PAGE);
    eval 'sub HCOLL_PHYSICAL () {0;}' unless defined(&HCOLL_PHYSICAL);
    eval 'sub HCOLL_APPLICATION () {1;}' unless defined(&HCOLL_APPLICATION);
    eval 'sub HCOLL_LOGICAL () {2;}' unless defined(&HCOLL_LOGICAL);
    eval 'sub HIO_CONST () {0x1;}' unless defined(&HIO_CONST);
    eval 'sub HIO_VARIABLE () {0x2;}' unless defined(&HIO_VARIABLE);
    eval 'sub HIO_RELATIVE () {0x4;}' unless defined(&HIO_RELATIVE);
    eval 'sub HIO_WRAP () {0x8;}' unless defined(&HIO_WRAP);
    eval 'sub HIO_NONLINEAR () {0x10;}' unless defined(&HIO_NONLINEAR);
    eval 'sub HIO_NOPREF () {0x20;}' unless defined(&HIO_NOPREF);
    eval 'sub HIO_NULLSTATE () {0x40;}' unless defined(&HIO_NULLSTATE);
    eval 'sub HIO_VOLATILE () {0x80;}' unless defined(&HIO_VOLATILE);
    eval 'sub HIO_BUFBYTES () {0x100;}' unless defined(&HIO_BUFBYTES);
    eval 'sub HCC_UNDEFINED () {0x;}' unless defined(&HCC_UNDEFINED);
    eval 'sub HCC_MAX () {0x23;}' unless defined(&HCC_MAX);
}
1;
