require '_h2ph_pre.ph';

unless(defined(&KBD_RESET)) {
    sub KBD_RESET () {	0xff;}
}
unless(defined(&KBD_IDLE)) {
    sub KBD_IDLE () {	0x7f;}
}
unless(defined(&KBD_LAYOUT)) {
    sub KBD_LAYOUT () {	0xfe;}
}
unless(defined(&KB_SUN2)) {
    sub KB_SUN2 () {	2;}
}
unless(defined(&KB_SUN3)) {
    sub KB_SUN3 () {	3;}
}
unless(defined(&KB_SUN4)) {
    sub KB_SUN4 () {	4;}
}
unless(defined(&KBD_KEYMASK)) {
    sub KBD_KEYMASK () {	0x7f;}
}
unless(defined(&KBD_UP)) {
    sub KBD_UP () {	0x80;}
}
unless(defined(&KBD_L1)) {
    sub KBD_L1 () {	1;}
}
unless(defined(&KBD_A)) {
    sub KBD_A () {	77;}
}
unless(defined(&KBD_CMD_RESET)) {
    sub KBD_CMD_RESET () {	1;}
}
unless(defined(&KBD_CMD_BELL)) {
    sub KBD_CMD_BELL () {	2;}
}
unless(defined(&KBD_CMD_NOBELL)) {
    sub KBD_CMD_NOBELL () {	3;}
}
unless(defined(&KBD_CMD_CLICK)) {
    sub KBD_CMD_CLICK () {	10;}
}
unless(defined(&KBD_CMD_NOCLICK)) {
    sub KBD_CMD_NOCLICK () {	11;}
}
unless(defined(&KBD_CMD_SETLED)) {
    sub KBD_CMD_SETLED () {	14;}
}
unless(defined(&KBD_CMD_GLAYOUT)) {
    sub KBD_CMD_GLAYOUT () {	15;}
}
unless(defined(&LED_NUM_LOCK)) {
    sub LED_NUM_LOCK () {	0x1;}
}
unless(defined(&LED_COMPOSE)) {
    sub LED_COMPOSE () {	0x2;}
}
unless(defined(&LED_SCROLL_LOCK)) {
    sub LED_SCROLL_LOCK () {	0x4;}
}
unless(defined(&LED_CAPS_LOCK)) {
    sub LED_CAPS_LOCK () {	0x8;}
}
unless(defined(&CAPSLOCK)) {
    sub CAPSLOCK () {	0;}
}
unless(defined(&SHIFTLOCK)) {
    sub SHIFTLOCK () {	1;}
}
unless(defined(&LEFTSHIFT)) {
    sub LEFTSHIFT () {	2;}
}
unless(defined(&RIGHTSHIFT)) {
    sub RIGHTSHIFT () {	3;}
}
unless(defined(&LEFTCTRL)) {
    sub LEFTCTRL () {	4;}
}
unless(defined(&RIGHTCTRL)) {
    sub RIGHTCTRL () {	5;}
}
unless(defined(&ALTGRAPH)) {
    sub ALTGRAPH () {	9;}
}
unless(defined(&ALT)) {
    sub ALT () {	10;}
}
unless(defined(&NUMLOCK)) {
    sub NUMLOCK () {	11;}
}
unless(defined(&SYSTEMBIT)) {
    sub SYSTEMBIT () {	1;}
}
unless(defined(&SHIFTKEYS)) {
    sub SHIFTKEYS () {	0x100;}
}
unless(defined(&BUCKYBITS)) {
    sub BUCKYBITS () {	0x200;}
}
unless(defined(&FUNNY)) {
    sub FUNNY () {	0x300;}
}
unless(defined(&NOP)) {
    sub NOP () {	0x300;}
}
unless(defined(&OOPS)) {
    sub OOPS () {	0x301;}
}
unless(defined(&RESET)) {
    sub RESET () {	0x306;}
}
unless(defined(&ERROR)) {
    sub ERROR () {	0x307;}
}
unless(defined(&IDLE)) {
    sub IDLE () {	0x308;}
}
unless(defined(&COMPOSE)) {
    sub COMPOSE () {	0x309;}
}
unless(defined(&NONL)) {
    sub NONL () {	0x30a;}
}
unless(defined(&FA_CLASS)) {
    sub FA_CLASS () {	0x400;}
}
unless(defined(&FA_UMLAUT)) {
    sub FA_UMLAUT () {	0x400;}
}
unless(defined(&FA_CFLEX)) {
    sub FA_CFLEX () {	0x401;}
}
unless(defined(&FA_TILDE)) {
    sub FA_TILDE () {	0x402;}
}
unless(defined(&FA_CEDILLA)) {
    sub FA_CEDILLA () {	0x403;}
}
unless(defined(&FA_ACUTE)) {
    sub FA_ACUTE () {	0x404;}
}
unless(defined(&FA_GRAVE)) {
    sub FA_GRAVE () {	0x405;}
}
unless(defined(&FA_CLASS_LAST)) {
    sub FA_CLASS_LAST () {	0x405;}
}
unless(defined(&STRING)) {
    sub STRING () {	0x500;}
}
unless(defined(&KTAB_STRLEN)) {
    sub KTAB_STRLEN () {	10;}
}
unless(defined(&HOMEARROW)) {
    sub HOMEARROW () {	0x00;}
}
unless(defined(&UPARROW)) {
    sub UPARROW () {	0x01;}
}
unless(defined(&DOWNARROW)) {
    sub DOWNARROW () {	0x02;}
}
unless(defined(&LEFTARROW)) {
    sub LEFTARROW () {	0x03;}
}
unless(defined(&RIGHTARROR)) {
    sub RIGHTARROR () {	0x04;}
}
unless(defined(&FUNCKEYS)) {
    sub FUNCKEYS () {	0x600;}
}
unless(defined(&LEFTFUNC)) {
    sub LEFTFUNC () {	0x600;}
}
unless(defined(&RIGHTFUNC)) {
    sub RIGHTFUNC () {	0x610;}
}
unless(defined(&TOPFUNC)) {
    sub TOPFUNC () {	0x620;}
}
unless(defined(&BOTTOMFUNC)) {
    sub BOTTOMFUNC () {	0x630;}
}
unless(defined(&LF)) {
    sub LF {
	local($n) = @_;
	eval q(( &LEFTFUNC+($n)-1));
    }
}
unless(defined(&RF)) {
    sub RF {
	local($n) = @_;
	eval q(( &RIGHTFUNC+($n)-1));
    }
}
unless(defined(&TF)) {
    sub TF {
	local($n) = @_;
	eval q(( &TOPFUNC+($n)-1));
    }
}
unless(defined(&BF)) {
    sub BF {
	local($n) = @_;
	eval q(( &BOTTOMFUNC+($n)-1));
    }
}
unless(defined(&PADKEYS)) {
    sub PADKEYS () {	0x700;}
}
unless(defined(&PADEQUAL)) {
    sub PADEQUAL () {	0x700;}
}
unless(defined(&PADSLASH)) {
    sub PADSLASH () {	0x701;}
}
unless(defined(&PADSTAR)) {
    sub PADSTAR () {	0x702;}
}
unless(defined(&PADMINUS)) {
    sub PADMINUS () {	0x703;}
}
unless(defined(&PADSEP)) {
    sub PADSEP () {	0x704;}
}
unless(defined(&PAD7)) {
    sub PAD7 () {	0x705;}
}
unless(defined(&PAD8)) {
    sub PAD8 () {	0x706;}
}
unless(defined(&PAD9)) {
    sub PAD9 () {	0x707;}
}
unless(defined(&PADPLUS)) {
    sub PADPLUS () {	0x708;}
}
unless(defined(&PAD4)) {
    sub PAD4 () {	0x709;}
}
unless(defined(&PAD5)) {
    sub PAD5 () {	0x70a;}
}
unless(defined(&PAD6)) {
    sub PAD6 () {	0x70b;}
}
unless(defined(&PAD1)) {
    sub PAD1 () {	0x70c;}
}
unless(defined(&PAD2)) {
    sub PAD2 () {	0x70d;}
}
unless(defined(&PAD3)) {
    sub PAD3 () {	0x70e;}
}
unless(defined(&PAD0)) {
    sub PAD0 () {	0x70f;}
}
unless(defined(&PADDOT)) {
    sub PADDOT () {	0x710;}
}
unless(defined(&PADENTER)) {
    sub PADENTER () {	0x711;}
}
if(defined(&_KERNEL)) {
}
1;
