require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&APS_ACCEL_STATE)) {
    sub APS_ACCEL_STATE () {	0x4;}
}
unless(defined(&APS_INIT)) {
    sub APS_INIT () {	0x10;}
}
unless(defined(&APS_STATE)) {
    sub APS_STATE () {	0x11;}
}
unless(defined(&APS_XACCEL)) {
    sub APS_XACCEL () {	0x12;}
}
unless(defined(&APS_YACCEL)) {
    sub APS_YACCEL () {	0x14;}
}
unless(defined(&APS_TEMP)) {
    sub APS_TEMP () {	0x16;}
}
unless(defined(&APS_XVAR)) {
    sub APS_XVAR () {	0x17;}
}
unless(defined(&APS_YVAR)) {
    sub APS_YVAR () {	0x19;}
}
unless(defined(&APS_TEMP2)) {
    sub APS_TEMP2 () {	0x1b;}
}
unless(defined(&APS_UNKNOWN)) {
    sub APS_UNKNOWN () {	0x1c;}
}
unless(defined(&APS_INPUT)) {
    sub APS_INPUT () {	0x1d;}
}
unless(defined(&APS_CMD)) {
    sub APS_CMD () {	0x1f;}
}
unless(defined(&APS_STATE_NEWDATA)) {
    sub APS_STATE_NEWDATA () {	0x50;}
}
unless(defined(&APS_CMD_START)) {
    sub APS_CMD_START () {	0x1;}
}
unless(defined(&APS_INPUT_KB)) {
    sub APS_INPUT_KB () {	(1<< 5);}
}
unless(defined(&APS_INPUT_MS)) {
    sub APS_INPUT_MS () {	(1<< 6);}
}
unless(defined(&APS_INPUT_LIDOPEN)) {
    sub APS_INPUT_LIDOPEN () {	(1<< 7);}
}
unless(defined(&APS_ADDR_SIZE)) {
    sub APS_ADDR_SIZE () {	0x1f;}
}
1;
