require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_ADB_AKBDVAR_H_)) {
    eval 'sub _ADB_AKBDVAR_H_ () {1;}' unless defined(&_ADB_AKBDVAR_H_);
    if(defined(&WSDISPLAY_COMPAT_RAWKBD)) {
	eval 'sub MAXKEYS () {20;}' unless defined(&MAXKEYS);
	eval 'sub REP_DELAY1 () {400;}' unless defined(&REP_DELAY1);
	eval 'sub REP_DELAYN () {100;}' unless defined(&REP_DELAYN);
    }
    eval 'sub LED_NUMLOCK () {0x1;}' unless defined(&LED_NUMLOCK);
    eval 'sub LED_CAPSLOCK () {0x2;}' unless defined(&LED_CAPSLOCK);
    eval 'sub LED_SCROLL_LOCK () {0x4;}' unless defined(&LED_SCROLL_LOCK);
}
1;
