require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_WSCONS_WSCONSIO_H_)) {
    eval 'sub _DEV_WSCONS_WSCONSIO_H_ () {1;}' unless defined(&_DEV_WSCONS_WSCONSIO_H_);
    require 'sys/types.ph';
    require 'sys/ioccom.ph';
    require 'sys/time.ph';
    require 'dev/wscons/wsksymvar.ph';
    eval 'sub WSEVENT_VERSION () {1;}' unless defined(&WSEVENT_VERSION);
    eval 'sub WSCONS_EVENT_KEY_UP () {1;}' unless defined(&WSCONS_EVENT_KEY_UP);
    eval 'sub WSCONS_EVENT_KEY_DOWN () {2;}' unless defined(&WSCONS_EVENT_KEY_DOWN);
    eval 'sub WSCONS_EVENT_ALL_KEYS_UP () {3;}' unless defined(&WSCONS_EVENT_ALL_KEYS_UP);
    eval 'sub WSCONS_EVENT_MOUSE_UP () {4;}' unless defined(&WSCONS_EVENT_MOUSE_UP);
    eval 'sub WSCONS_EVENT_MOUSE_DOWN () {5;}' unless defined(&WSCONS_EVENT_MOUSE_DOWN);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_X () {6;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_X);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_Y () {7;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_Y);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_X () {8;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_X);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_Y () {9;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_Y);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_Z () {10;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_Z);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_Z () {11;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_Z);
    eval 'sub WSCONS_EVENT_SCREEN_SWITCH () {12;}' unless defined(&WSCONS_EVENT_SCREEN_SWITCH);
    eval 'sub WSCONS_EVENT_ASCII () {13;}' unless defined(&WSCONS_EVENT_ASCII);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_W () {14;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_W);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_W () {15;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_W);
    eval 'sub WSCONS_EVENT_HSCROLL () {16;}' unless defined(&WSCONS_EVENT_HSCROLL);
    eval 'sub WSCONS_EVENT_VSCROLL () {17;}' unless defined(&WSCONS_EVENT_VSCROLL);
    eval 'sub WSKBDIO_GTYPE () { &_IOR(ord(\'W\'), 0, \'u_int\');}' unless defined(&WSKBDIO_GTYPE);
    eval 'sub WSKBD_TYPE_LK201 () {1;}' unless defined(&WSKBD_TYPE_LK201);
    eval 'sub WSKBD_TYPE_LK401 () {2;}' unless defined(&WSKBD_TYPE_LK401);
    eval 'sub WSKBD_TYPE_PC_XT () {3;}' unless defined(&WSKBD_TYPE_PC_XT);
    eval 'sub WSKBD_TYPE_PC_AT () {4;}' unless defined(&WSKBD_TYPE_PC_AT);
    eval 'sub WSKBD_TYPE_USB () {5;}' unless defined(&WSKBD_TYPE_USB);
    eval 'sub WSKBD_TYPE_NEXT () {6;}' unless defined(&WSKBD_TYPE_NEXT);
    eval 'sub WSKBD_TYPE_HPC_KBD () {7;}' unless defined(&WSKBD_TYPE_HPC_KBD);
    eval 'sub WSKBD_TYPE_HPC_BTN () {8;}' unless defined(&WSKBD_TYPE_HPC_BTN);
    eval 'sub WSKBD_TYPE_ARCHIMEDES () {9;}' unless defined(&WSKBD_TYPE_ARCHIMEDES);
    eval 'sub WSKBD_TYPE_RISCPC () {10;}' unless defined(&WSKBD_TYPE_RISCPC);
    eval 'sub WSKBD_TYPE_ADB () {11;}' unless defined(&WSKBD_TYPE_ADB);
    eval 'sub WSKBD_TYPE_HIL () {12;}' unless defined(&WSKBD_TYPE_HIL);
    eval 'sub WSKBD_TYPE_AMIGA () {13;}' unless defined(&WSKBD_TYPE_AMIGA);
    eval 'sub WSKBD_TYPE_MAPLE () {14;}' unless defined(&WSKBD_TYPE_MAPLE);
    eval 'sub WSKBD_TYPE_ATARI () {15;}' unless defined(&WSKBD_TYPE_ATARI);
    eval 'sub WSKBD_TYPE_SUN () {16;}' unless defined(&WSKBD_TYPE_SUN);
    eval 'sub WSKBD_TYPE_SUN5 () {17;}' unless defined(&WSKBD_TYPE_SUN5);
    eval 'sub WSKBD_TYPE_SGI () {18;}' unless defined(&WSKBD_TYPE_SGI);
    eval 'sub WSKBD_TYPE_MATRIXKP () {19;}' unless defined(&WSKBD_TYPE_MATRIXKP);
    eval 'sub WSKBD_TYPE_EWS4800 () {20;}' unless defined(&WSKBD_TYPE_EWS4800);
    eval 'sub WSKBD_TYPE_BLUETOOTH () {21;}' unless defined(&WSKBD_TYPE_BLUETOOTH);
    eval 'sub WSKBD_TYPE_ZAURUS () {22;}' unless defined(&WSKBD_TYPE_ZAURUS);
    eval 'sub WSKBD_TYPE_LUNA () {23;}' unless defined(&WSKBD_TYPE_LUNA);
    eval 'sub WSKBD_TYPE_RFB () {24;}' unless defined(&WSKBD_TYPE_RFB);
    eval 'sub WSKBD_TYPE_EPOC () {25;}' unless defined(&WSKBD_TYPE_EPOC);
    eval 'sub WSKBD_TYPE_HYPERV () {26;}' unless defined(&WSKBD_TYPE_HYPERV);
    eval 'sub WSKBD_BELL_DOPITCH () {0x1;}' unless defined(&WSKBD_BELL_DOPITCH);
    eval 'sub WSKBD_BELL_DOPERIOD () {0x2;}' unless defined(&WSKBD_BELL_DOPERIOD);
    eval 'sub WSKBD_BELL_DOVOLUME () {0x4;}' unless defined(&WSKBD_BELL_DOVOLUME);
    eval 'sub WSKBD_BELL_DOALL () {0x7;}' unless defined(&WSKBD_BELL_DOALL);
    eval 'sub WSKBDIO_BELL () { &_IO(ord(\'W\'), 1);}' unless defined(&WSKBDIO_BELL);
    eval 'sub WSKBDIO_COMPLEXBELL () { &_IOW(ord(\'W\'), 2, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_COMPLEXBELL);
    eval 'sub WSKBDIO_SETBELL () { &_IOW(ord(\'W\'), 3, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_SETBELL);
    eval 'sub WSKBDIO_GETBELL () { &_IOR(ord(\'W\'), 4, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_GETBELL);
    eval 'sub WSKBDIO_SETDEFAULTBELL () { &_IOW(ord(\'W\'), 5, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_SETDEFAULTBELL);
    eval 'sub WSKBDIO_GETDEFAULTBELL () { &_IOR(ord(\'W\'), 6, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_GETDEFAULTBELL);
    eval 'sub WSKBD_KEYREPEAT_DODEL1 () {0x1;}' unless defined(&WSKBD_KEYREPEAT_DODEL1);
    eval 'sub WSKBD_KEYREPEAT_DODELN () {0x2;}' unless defined(&WSKBD_KEYREPEAT_DODELN);
    eval 'sub WSKBD_KEYREPEAT_DOALL () {0x3;}' unless defined(&WSKBD_KEYREPEAT_DOALL);
    eval 'sub WSKBDIO_SETKEYREPEAT () { &_IOW(ord(\'W\'), 7, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_SETKEYREPEAT);
    eval 'sub WSKBDIO_GETKEYREPEAT () { &_IOR(ord(\'W\'), 8, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_GETKEYREPEAT);
    eval 'sub WSKBDIO_SETDEFAULTKEYREPEAT () { &_IOW(ord(\'W\'), 9, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_SETDEFAULTKEYREPEAT);
    eval 'sub WSKBDIO_GETDEFAULTKEYREPEAT () { &_IOR(ord(\'W\'), 10, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_GETDEFAULTKEYREPEAT);
    eval 'sub WSKBD_LED_CAPS () {0x1;}' unless defined(&WSKBD_LED_CAPS);
    eval 'sub WSKBD_LED_NUM () {0x2;}' unless defined(&WSKBD_LED_NUM);
    eval 'sub WSKBD_LED_SCROLL () {0x4;}' unless defined(&WSKBD_LED_SCROLL);
    eval 'sub WSKBD_LED_COMPOSE () {0x8;}' unless defined(&WSKBD_LED_COMPOSE);
    eval 'sub WSKBDIO_SETLEDS () { &_IOW(ord(\'W\'), 11, \'int\');}' unless defined(&WSKBDIO_SETLEDS);
    eval 'sub WSKBDIO_GETLEDS () { &_IOR(ord(\'W\'), 12, \'int\');}' unless defined(&WSKBDIO_GETLEDS);
    eval 'sub WSKBDIO_MAXMAPLEN () {65536;}' unless defined(&WSKBDIO_MAXMAPLEN);
    eval 'sub WSKBDIO_GETMAP () { &_IOWR(ord(\'W\'), 13, \'struct wskbd_map_data\');}' unless defined(&WSKBDIO_GETMAP);
    eval 'sub WSKBDIO_SETMAP () { &_IOW(ord(\'W\'), 14, \'struct wskbd_map_data\');}' unless defined(&WSKBDIO_SETMAP);
    eval 'sub WSKBDIO_GETENCODING () { &_IOR(ord(\'W\'), 15,  &kbd_t);}' unless defined(&WSKBDIO_GETENCODING);
    eval 'sub WSKBDIO_SETENCODING () { &_IOW(ord(\'W\'), 16,  &kbd_t);}' unless defined(&WSKBDIO_SETENCODING);
    eval 'sub WSKBDIO_SETMODE () { &_IOW(ord(\'W\'), 19, \'int\');}' unless defined(&WSKBDIO_SETMODE);
    eval 'sub WSKBDIO_GETMODE () { &_IOR(ord(\'W\'), 20, \'int\');}' unless defined(&WSKBDIO_GETMODE);
    eval 'sub WSKBD_TRANSLATED () {0;}' unless defined(&WSKBD_TRANSLATED);
    eval 'sub WSKBD_RAW () {1;}' unless defined(&WSKBD_RAW);
    eval 'sub WSKBDIO_SETKEYCLICK () { &_IOW(ord(\'W\'), 21, \'int\');}' unless defined(&WSKBDIO_SETKEYCLICK);
    eval 'sub WSKBDIO_GETKEYCLICK () { &_IOR(ord(\'W\'), 22, \'int\');}' unless defined(&WSKBDIO_GETKEYCLICK);
    eval 'sub WSKBD_SCROLL_DOMODIFIER () {0x1;}' unless defined(&WSKBD_SCROLL_DOMODIFIER);
    eval 'sub WSKBD_SCROLL_DOMODE () {0x2;}' unless defined(&WSKBD_SCROLL_DOMODE);
    eval 'sub WSKBD_SCROLL_DOALL () {0x3;}' unless defined(&WSKBD_SCROLL_DOALL);
    eval 'sub WSKBD_SCROLL_MODE_NORMAL () {0x;}' unless defined(&WSKBD_SCROLL_MODE_NORMAL);
    eval 'sub WSKBD_SCROLL_MODE_HOLD () {0x1;}' unless defined(&WSKBD_SCROLL_MODE_HOLD);
    eval 'sub WSKBDIO_GETSCROLL () { &_IOR(ord(\'W\'), 23, \'struct wskbd_scroll_data\');}' unless defined(&WSKBDIO_GETSCROLL);
    eval 'sub WSKBDIO_SETSCROLL () { &_IOW(ord(\'W\'), 24, \'struct wskbd_scroll_data\');}' unless defined(&WSKBDIO_SETSCROLL);
    eval 'sub WSKBDIO_SETVERSION () { &_IOW(ord(\'W\'), 25, \'int\');}' unless defined(&WSKBDIO_SETVERSION);
    eval 'sub WSKBDIO_EVENT_VERSION () { &WSEVENT_VERSION;}' unless defined(&WSKBDIO_EVENT_VERSION);
    eval 'sub WSMOUSEIO_GTYPE () { &_IOR(ord(\'W\'), 32, \'u_int\');}' unless defined(&WSMOUSEIO_GTYPE);
    eval 'sub WSMOUSE_TYPE_VSXXX () {1;}' unless defined(&WSMOUSE_TYPE_VSXXX);
    eval 'sub WSMOUSE_TYPE_PS2 () {2;}' unless defined(&WSMOUSE_TYPE_PS2);
    eval 'sub WSMOUSE_TYPE_USB () {3;}' unless defined(&WSMOUSE_TYPE_USB);
    eval 'sub WSMOUSE_TYPE_LMS () {4;}' unless defined(&WSMOUSE_TYPE_LMS);
    eval 'sub WSMOUSE_TYPE_MMS () {5;}' unless defined(&WSMOUSE_TYPE_MMS);
    eval 'sub WSMOUSE_TYPE_TPANEL () {6;}' unless defined(&WSMOUSE_TYPE_TPANEL);
    eval 'sub WSMOUSE_TYPE_NEXT () {7;}' unless defined(&WSMOUSE_TYPE_NEXT);
    eval 'sub WSMOUSE_TYPE_ARCHIMEDES () {8;}' unless defined(&WSMOUSE_TYPE_ARCHIMEDES);
    eval 'sub WSMOUSE_TYPE_HIL () {9;}' unless defined(&WSMOUSE_TYPE_HIL);
    eval 'sub WSMOUSE_TYPE_AMIGA () {10;}' unless defined(&WSMOUSE_TYPE_AMIGA);
    eval 'sub WSMOUSE_TYPE_MAXINE () {11;}' unless defined(&WSMOUSE_TYPE_MAXINE);
    eval 'sub WSMOUSE_TYPE_MAPLE () {12;}' unless defined(&WSMOUSE_TYPE_MAPLE);
    eval 'sub WSMOUSE_TYPE_SGI () {13;}' unless defined(&WSMOUSE_TYPE_SGI);
    eval 'sub WSMOUSE_TYPE_BLUETOOTH () {14;}' unless defined(&WSMOUSE_TYPE_BLUETOOTH);
    eval 'sub WSMOUSE_TYPE_ADB () {15;}' unless defined(&WSMOUSE_TYPE_ADB);
    eval 'sub WSMOUSE_TYPE_PSEUDO () {16;}' unless defined(&WSMOUSE_TYPE_PSEUDO);
    eval 'sub WSMOUSEIO_SRES () { &_IOW(ord(\'W\'), 33, \'u_int\');}' unless defined(&WSMOUSEIO_SRES);
    eval 'sub WSMOUSE_RES_MIN () {0;}' unless defined(&WSMOUSE_RES_MIN);
    eval 'sub WSMOUSE_RES_DEFAULT () {75;}' unless defined(&WSMOUSE_RES_DEFAULT);
    eval 'sub WSMOUSE_RES_MAX () {100;}' unless defined(&WSMOUSE_RES_MAX);
    eval 'sub WSMOUSEIO_SSCALE () { &_IOW(ord(\'W\'), 34, \'u_int\'[2]);}' unless defined(&WSMOUSEIO_SSCALE);
    eval 'sub WSMOUSEIO_SRATE () { &_IOW(ord(\'W\'), 35, \'u_int\');}' unless defined(&WSMOUSEIO_SRATE);
    eval 'sub WSMOUSE_RATE_MIN () {0;}' unless defined(&WSMOUSE_RATE_MIN);
    eval 'sub WSMOUSE_RATE_DEFAULT () {50;}' unless defined(&WSMOUSE_RATE_DEFAULT);
    eval 'sub WSMOUSE_RATE_MAX () {100;}' unless defined(&WSMOUSE_RATE_MAX);
    eval 'sub WSMOUSE_CALIBCOORDS_MAX () {16;}' unless defined(&WSMOUSE_CALIBCOORDS_MAX);
    eval 'sub WSMOUSE_CALIBCOORDS_RESET () {-1;}' unless defined(&WSMOUSE_CALIBCOORDS_RESET);
    eval 'sub WSMOUSEIO_SCALIBCOORDS () { &_IOW(ord(\'W\'), 36, \'struct wsmouse_calibcoords\');}' unless defined(&WSMOUSEIO_SCALIBCOORDS);
    eval 'sub WSMOUSEIO_GCALIBCOORDS () { &_IOR(ord(\'W\'), 37, \'struct wsmouse_calibcoords\');}' unless defined(&WSMOUSEIO_GCALIBCOORDS);
    eval 'sub WSMOUSE_ID_TYPE_UIDSTR () {0;}' unless defined(&WSMOUSE_ID_TYPE_UIDSTR);
    eval 'sub WSMOUSE_ID_MAXLEN () {256;}' unless defined(&WSMOUSE_ID_MAXLEN);
    eval 'sub WSMOUSEIO_GETID () { &_IOWR(ord(\'W\'), 38, \'struct wsmouse_id\');}' unless defined(&WSMOUSEIO_GETID);
    eval 'sub WSMOUSEIO_GETREPEAT () { &_IOR(ord(\'W\'), 39, \'struct wsmouse_repeat\');}' unless defined(&WSMOUSEIO_GETREPEAT);
    eval 'sub WSMOUSEIO_SETREPEAT () { &_IOW(ord(\'W\'), 40, \'struct wsmouse_repeat\');}' unless defined(&WSMOUSEIO_SETREPEAT);
    eval 'sub WSMOUSEIO_SETVERSION () { &_IOW(ord(\'W\'), 41, \'int\');}' unless defined(&WSMOUSEIO_SETVERSION);
    eval 'sub WSMOUSE_EVENT_VERSION () { &WSEVENT_VERSION;}' unless defined(&WSMOUSE_EVENT_VERSION);
    eval("sub WSMOUSECFG_REVERSE_SCROLLING () { 0; }") unless defined(&WSMOUSECFG_REVERSE_SCROLLING);
    eval("sub WSMOUSECFG_HORIZSCROLLDIST () { 1; }") unless defined(&WSMOUSECFG_HORIZSCROLLDIST);
    eval("sub WSMOUSECFG_VERTSCROLLDIST () { 2; }") unless defined(&WSMOUSECFG_VERTSCROLLDIST);
    eval 'sub WSMOUSECFG_MAX () {(128);}' unless defined(&WSMOUSECFG_MAX);
    eval 'sub WSMOUSEIO_GETPARAMS () { &_IOW(ord(\'W\'), 42, \'struct wsmouse_parameters\');}' unless defined(&WSMOUSEIO_GETPARAMS);
    eval 'sub WSMOUSEIO_SETPARAMS () { &_IOW(ord(\'W\'), 43, \'struct wsmouse_parameters\');}' unless defined(&WSMOUSEIO_SETPARAMS);
    eval 'sub WSDISPLAYIO_GTYPE () { &_IOR(ord(\'W\'), 64, \'u_int\');}' unless defined(&WSDISPLAYIO_GTYPE);
    eval 'sub WSDISPLAY_TYPE_UNKNOWN () {0;}' unless defined(&WSDISPLAY_TYPE_UNKNOWN);
    eval 'sub WSDISPLAY_TYPE_PM_MONO () {1;}' unless defined(&WSDISPLAY_TYPE_PM_MONO);
    eval 'sub WSDISPLAY_TYPE_PM_COLOR () {2;}' unless defined(&WSDISPLAY_TYPE_PM_COLOR);
    eval 'sub WSDISPLAY_TYPE_CFB () {3;}' unless defined(&WSDISPLAY_TYPE_CFB);
    eval 'sub WSDISPLAY_TYPE_XCFB () {4;}' unless defined(&WSDISPLAY_TYPE_XCFB);
    eval 'sub WSDISPLAY_TYPE_MFB () {5;}' unless defined(&WSDISPLAY_TYPE_MFB);
    eval 'sub WSDISPLAY_TYPE_SFB () {6;}' unless defined(&WSDISPLAY_TYPE_SFB);
    eval 'sub WSDISPLAY_TYPE_ISAVGA () {7;}' unless defined(&WSDISPLAY_TYPE_ISAVGA);
    eval 'sub WSDISPLAY_TYPE_PCIVGA () {8;}' unless defined(&WSDISPLAY_TYPE_PCIVGA);
    eval 'sub WSDISPLAY_TYPE_TGA () {9;}' unless defined(&WSDISPLAY_TYPE_TGA);
    eval 'sub WSDISPLAY_TYPE_SFBP () {10;}' unless defined(&WSDISPLAY_TYPE_SFBP);
    eval 'sub WSDISPLAY_TYPE_PCIMISC () {11;}' unless defined(&WSDISPLAY_TYPE_PCIMISC);
    eval 'sub WSDISPLAY_TYPE_NEXTMONO () {12;}' unless defined(&WSDISPLAY_TYPE_NEXTMONO);
    eval 'sub WSDISPLAY_TYPE_PX () {13;}' unless defined(&WSDISPLAY_TYPE_PX);
    eval 'sub WSDISPLAY_TYPE_PXG () {14;}' unless defined(&WSDISPLAY_TYPE_PXG);
    eval 'sub WSDISPLAY_TYPE_TX () {15;}' unless defined(&WSDISPLAY_TYPE_TX);
    eval 'sub WSDISPLAY_TYPE_HPCFB () {16;}' unless defined(&WSDISPLAY_TYPE_HPCFB);
    eval 'sub WSDISPLAY_TYPE_VIDC () {17;}' unless defined(&WSDISPLAY_TYPE_VIDC);
    eval 'sub WSDISPLAY_TYPE_SPX () {18;}' unless defined(&WSDISPLAY_TYPE_SPX);
    eval 'sub WSDISPLAY_TYPE_GPX () {19;}' unless defined(&WSDISPLAY_TYPE_GPX);
    eval 'sub WSDISPLAY_TYPE_LCG () {20;}' unless defined(&WSDISPLAY_TYPE_LCG);
    eval 'sub WSDISPLAY_TYPE_VAX_MONO () {21;}' unless defined(&WSDISPLAY_TYPE_VAX_MONO);
    eval 'sub WSDISPLAY_TYPE_SB_P9100 () {22;}' unless defined(&WSDISPLAY_TYPE_SB_P9100);
    eval 'sub WSDISPLAY_TYPE_EGA () {23;}' unless defined(&WSDISPLAY_TYPE_EGA);
    eval 'sub WSDISPLAY_TYPE_DCPVR () {24;}' unless defined(&WSDISPLAY_TYPE_DCPVR);
    eval 'sub WSDISPLAY_TYPE_GBOX () {25;}' unless defined(&WSDISPLAY_TYPE_GBOX);
    eval 'sub WSDISPLAY_TYPE_TOPCAT () {26;}' unless defined(&WSDISPLAY_TYPE_TOPCAT);
    eval 'sub WSDISPLAY_TYPE_RBOX () {27;}' unless defined(&WSDISPLAY_TYPE_RBOX);
    eval 'sub WSDISPLAY_TYPE_CATSEYE () {28;}' unless defined(&WSDISPLAY_TYPE_CATSEYE);
    eval 'sub WSDISPLAY_TYPE_DVBOX () {29;}' unless defined(&WSDISPLAY_TYPE_DVBOX);
    eval 'sub WSDISPLAY_TYPE_TVRX () {30;}' unless defined(&WSDISPLAY_TYPE_TVRX);
    eval 'sub WSDISPLAY_TYPE_HYPERION () {31;}' unless defined(&WSDISPLAY_TYPE_HYPERION);
    eval 'sub WSDISPLAY_TYPE_AMIGACC () {32;}' unless defined(&WSDISPLAY_TYPE_AMIGACC);
    eval 'sub WSDISPLAY_TYPE_SUN24 () {33;}' unless defined(&WSDISPLAY_TYPE_SUN24);
    eval 'sub WSDISPLAY_TYPE_NEWPORT () {34;}' unless defined(&WSDISPLAY_TYPE_NEWPORT);
    eval 'sub WSDISPLAY_TYPE_GR2 () {35;}' unless defined(&WSDISPLAY_TYPE_GR2);
    eval 'sub WSDISPLAY_TYPE_SUNCG12 () {36;}' unless defined(&WSDISPLAY_TYPE_SUNCG12);
    eval 'sub WSDISPLAY_TYPE_SUNCG14 () {37;}' unless defined(&WSDISPLAY_TYPE_SUNCG14);
    eval 'sub WSDISPLAY_TYPE_SUNTCX () {38;}' unless defined(&WSDISPLAY_TYPE_SUNTCX);
    eval 'sub WSDISPLAY_TYPE_SUNFFB () {39;}' unless defined(&WSDISPLAY_TYPE_SUNFFB);
    eval 'sub WSDISPLAY_TYPE_STI () {40;}' unless defined(&WSDISPLAY_TYPE_STI);
    eval 'sub WSDISPLAY_TYPE_HDLCD () {41;}' unless defined(&WSDISPLAY_TYPE_HDLCD);
    eval 'sub WSDISPLAY_TYPE_VESA () {42;}' unless defined(&WSDISPLAY_TYPE_VESA);
    eval 'sub WSDISPLAY_TYPE_XILFB () {43;}' unless defined(&WSDISPLAY_TYPE_XILFB);
    eval 'sub WSDISPLAY_TYPE_LIGHT () {44;}' unless defined(&WSDISPLAY_TYPE_LIGHT);
    eval 'sub WSDISPLAY_TYPE_GENFB () {45;}' unless defined(&WSDISPLAY_TYPE_GENFB);
    eval 'sub WSDISPLAY_TYPE_CRIME () {46;}' unless defined(&WSDISPLAY_TYPE_CRIME);
    eval 'sub WSDISPLAY_TYPE_PXALCD () {47;}' unless defined(&WSDISPLAY_TYPE_PXALCD);
    eval 'sub WSDISPLAY_TYPE_AG10 () {48;}' unless defined(&WSDISPLAY_TYPE_AG10);
    eval 'sub WSDISPLAY_TYPE_DL () {49;}' unless defined(&WSDISPLAY_TYPE_DL);
    eval 'sub WSDISPLAY_TYPE_XVR1000 () {50;}' unless defined(&WSDISPLAY_TYPE_XVR1000);
    eval 'sub WSDISPLAY_TYPE_LUNA () {51;}' unless defined(&WSDISPLAY_TYPE_LUNA);
    eval 'sub WSDISPLAY_TYPE_GRF () {52;}' unless defined(&WSDISPLAY_TYPE_GRF);
    eval 'sub WSDISPLAY_TYPE_VNC () {53;}' unless defined(&WSDISPLAY_TYPE_VNC);
    eval 'sub WSDISPLAY_TYPE_VALKYRIE () {54;}' unless defined(&WSDISPLAY_TYPE_VALKYRIE);
    eval 'sub WSDISPLAY_TYPE_IMXIPU () {55;}' unless defined(&WSDISPLAY_TYPE_IMXIPU);
    eval 'sub WSDISPLAY_TYPE_VC4 () {56;}' unless defined(&WSDISPLAY_TYPE_VC4);
    eval 'sub WSDISPLAY_TYPE_OMAP3 () {57;}' unless defined(&WSDISPLAY_TYPE_OMAP3);
    eval 'sub WSDISPLAY_TYPE_WINDERMERE () {58;}' unless defined(&WSDISPLAY_TYPE_WINDERMERE);
    eval 'sub WSDISPLAY_TYPE_CLPS711X () {59;}' unless defined(&WSDISPLAY_TYPE_CLPS711X);
    eval 'sub WSDISPLAY_TYPE_ALLWINNER () {60;}' unless defined(&WSDISPLAY_TYPE_ALLWINNER);
    eval 'sub WSDISPLAY_TYPE_MGX () {61;}' unless defined(&WSDISPLAY_TYPE_MGX);
    eval 'sub WSDISPLAY_TYPE_MESON () {62;}' unless defined(&WSDISPLAY_TYPE_MESON);
    eval 'sub WSDISPLAY_TYPE_TEGRA () {63;}' unless defined(&WSDISPLAY_TYPE_TEGRA);
    eval 'sub WSDISPLAY_TYPE_PLATINUM () {64;}' unless defined(&WSDISPLAY_TYPE_PLATINUM);
    eval 'sub WSDISPLAY_TYPE_PLFB () {65;}' unless defined(&WSDISPLAY_TYPE_PLFB);
    eval 'sub WSDISPLAY_TYPE_SSDFB () {66;}' unless defined(&WSDISPLAY_TYPE_SSDFB);
    eval 'sub WSDISPLAY_TYPE_HOLLYWOOD () {67;}' unless defined(&WSDISPLAY_TYPE_HOLLYWOOD);
    eval 'sub WSDISPLAYIO_GINFO () { &_IOR(ord(\'W\'), 65, \'struct wsdisplay_fbinfo\');}' unless defined(&WSDISPLAYIO_GINFO);
    eval 'sub WSDISPLAYIO_GETCMAP () { &_IOW(ord(\'W\'), 66, \'struct wsdisplay_cmap\');}' unless defined(&WSDISPLAYIO_GETCMAP);
    eval 'sub WSDISPLAYIO_PUTCMAP () { &_IOW(ord(\'W\'), 67, \'struct wsdisplay_cmap\');}' unless defined(&WSDISPLAYIO_PUTCMAP);
    eval 'sub WSDISPLAYIO_GVIDEO () { &_IOR(ord(\'W\'), 68, \'u_int\');}' unless defined(&WSDISPLAYIO_GVIDEO);
    eval 'sub WSDISPLAYIO_SVIDEO () { &_IOW(ord(\'W\'), 69, \'u_int\');}' unless defined(&WSDISPLAYIO_SVIDEO);
    eval 'sub WSDISPLAYIO_VIDEO_OFF () {0;}' unless defined(&WSDISPLAYIO_VIDEO_OFF);
    eval 'sub WSDISPLAYIO_VIDEO_ON () {1;}' unless defined(&WSDISPLAYIO_VIDEO_ON);
    eval 'sub WSDISPLAY_CURSOR_DOCUR () {0x1;}' unless defined(&WSDISPLAY_CURSOR_DOCUR);
    eval 'sub WSDISPLAY_CURSOR_DOPOS () {0x2;}' unless defined(&WSDISPLAY_CURSOR_DOPOS);
    eval 'sub WSDISPLAY_CURSOR_DOHOT () {0x4;}' unless defined(&WSDISPLAY_CURSOR_DOHOT);
    eval 'sub WSDISPLAY_CURSOR_DOCMAP () {0x8;}' unless defined(&WSDISPLAY_CURSOR_DOCMAP);
    eval 'sub WSDISPLAY_CURSOR_DOSHAPE () {0x10;}' unless defined(&WSDISPLAY_CURSOR_DOSHAPE);
    eval 'sub WSDISPLAY_CURSOR_DOALL () {0x1f;}' unless defined(&WSDISPLAY_CURSOR_DOALL);
    eval 'sub WSDISPLAYIO_GCURPOS () { &_IOR(ord(\'W\'), 70, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_GCURPOS);
    eval 'sub WSDISPLAYIO_SCURPOS () { &_IOW(ord(\'W\'), 71, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_SCURPOS);
    eval 'sub WSDISPLAYIO_GCURMAX () { &_IOR(ord(\'W\'), 72, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_GCURMAX);
    eval 'sub WSDISPLAYIO_GCURSOR () { &_IOWR(ord(\'W\'), 73, \'struct wsdisplay_cursor\');}' unless defined(&WSDISPLAYIO_GCURSOR);
    eval 'sub WSDISPLAYIO_SCURSOR () { &_IOW(ord(\'W\'), 74, \'struct wsdisplay_cursor\');}' unless defined(&WSDISPLAYIO_SCURSOR);
    eval 'sub WSDISPLAYIO_GMODE () { &_IOR(ord(\'W\'), 75, \'u_int\');}' unless defined(&WSDISPLAYIO_GMODE);
    eval 'sub WSDISPLAYIO_SMODE () { &_IOW(ord(\'W\'), 76, \'u_int\');}' unless defined(&WSDISPLAYIO_SMODE);
    eval 'sub WSDISPLAYIO_MODE_EMUL () {0;}' unless defined(&WSDISPLAYIO_MODE_EMUL);
    eval 'sub WSDISPLAYIO_MODE_MAPPED () {1;}' unless defined(&WSDISPLAYIO_MODE_MAPPED);
    eval 'sub WSDISPLAYIO_MODE_DUMBFB () {2;}' unless defined(&WSDISPLAYIO_MODE_DUMBFB);
    eval 'sub WSDISPLAY_FONTENC_ISO () {0;}' unless defined(&WSDISPLAY_FONTENC_ISO);
    eval 'sub WSDISPLAY_FONTENC_IBM () {1;}' unless defined(&WSDISPLAY_FONTENC_IBM);
    eval 'sub WSDISPLAY_FONTENC_PCVT () {2;}' unless defined(&WSDISPLAY_FONTENC_PCVT);
    eval 'sub WSDISPLAY_FONTENC_ISO7 () {3;}' unless defined(&WSDISPLAY_FONTENC_ISO7);
    eval 'sub WSDISPLAY_FONTENC_ISO2 () {4;}' unless defined(&WSDISPLAY_FONTENC_ISO2);
    eval 'sub WSDISPLAY_FONTENC_KOI8_R () {5;}' unless defined(&WSDISPLAY_FONTENC_KOI8_R);
    eval 'sub WSDISPLAY_MAXFONTSZ () {(512*1024);}' unless defined(&WSDISPLAY_MAXFONTSZ);
    eval 'sub WSDISPLAY_FONTORDER_KNOWN () {0;}' unless defined(&WSDISPLAY_FONTORDER_KNOWN);
    eval 'sub WSDISPLAY_FONTORDER_L2R () {1;}' unless defined(&WSDISPLAY_FONTORDER_L2R);
    eval 'sub WSDISPLAY_FONTORDER_R2L () {2;}' unless defined(&WSDISPLAY_FONTORDER_R2L);
    eval 'sub WSDISPLAYIO_LDFONT () { &_IOW(ord(\'W\'), 77, \'struct wsdisplay_font\');}' unless defined(&WSDISPLAYIO_LDFONT);
    eval 'sub WSDISPLAYIO_ADDSCREEN () { &_IOW(ord(\'W\'), 78, \'struct wsdisplay_addscreendata\');}' unless defined(&WSDISPLAYIO_ADDSCREEN);
    eval 'sub WSDISPLAY_DELSCR_FORCE () {1;}' unless defined(&WSDISPLAY_DELSCR_FORCE);
    eval 'sub WSDISPLAYIO_DELSCREEN () { &_IOW(ord(\'W\'), 79, \'struct wsdisplay_delscreendata\');}' unless defined(&WSDISPLAYIO_DELSCREEN);
    eval 'sub WSDISPLAYIO_SFONT () { &_IOW(ord(\'W\'), 80, \'struct wsdisplay_usefontdata\');}' unless defined(&WSDISPLAYIO_SFONT);
    eval 'sub _O_WSDISPLAY_KBD_ADD () {0;}' unless defined(&_O_WSDISPLAY_KBD_ADD);
    eval 'sub _O_WSDISPLAY_KBD_DEL () {1;}' unless defined(&_O_WSDISPLAY_KBD_DEL);
    eval 'sub _O_WSDISPLAYIO_SETKEYBOARD () { &_IOWR(ord(\'W\'), 81, \'struct wsdisplay_kbddata\');}' unless defined(&_O_WSDISPLAYIO_SETKEYBOARD);
    eval 'sub WSDISPLAYIO_PARAM_BACKLIGHT () {1;}' unless defined(&WSDISPLAYIO_PARAM_BACKLIGHT);
    eval 'sub WSDISPLAYIO_PARAM_BRIGHTNESS () {2;}' unless defined(&WSDISPLAYIO_PARAM_BRIGHTNESS);
    eval 'sub WSDISPLAYIO_PARAM_CONTRAST () {3;}' unless defined(&WSDISPLAYIO_PARAM_CONTRAST);
    eval 'sub WSDISPLAYIO_GETPARAM () { &_IOWR(ord(\'W\'), 82, \'struct wsdisplay_param\');}' unless defined(&WSDISPLAYIO_GETPARAM);
    eval 'sub WSDISPLAYIO_SETPARAM () { &_IOWR(ord(\'W\'), 83, \'struct wsdisplay_param\');}' unless defined(&WSDISPLAYIO_SETPARAM);
    eval 'sub WSDISPLAYIO_GETACTIVESCREEN () { &_IOR(ord(\'W\'), 84, \'int\');}' unless defined(&WSDISPLAYIO_GETACTIVESCREEN);
    eval 'sub WSDISPLAY_CHAR_BRIGHT () {1;}' unless defined(&WSDISPLAY_CHAR_BRIGHT);
    eval 'sub WSDISPLAY_CHAR_BLINK () {2;}' unless defined(&WSDISPLAY_CHAR_BLINK);
    eval 'sub WSDISPLAYIO_GETWSCHAR () { &_IOWR(ord(\'W\'), 85, \'struct wsdisplay_char\');}' unless defined(&WSDISPLAYIO_GETWSCHAR);
    eval 'sub WSDISPLAYIO_PUTWSCHAR () { &_IOWR(ord(\'W\'), 86, \'struct wsdisplay_char\');}' unless defined(&WSDISPLAYIO_PUTWSCHAR);
    eval 'sub WSDISPLAY_SCROLL_DOFASTLINES () {0x1;}' unless defined(&WSDISPLAY_SCROLL_DOFASTLINES);
    eval 'sub WSDISPLAY_SCROLL_DOSLOWLINES () {0x2;}' unless defined(&WSDISPLAY_SCROLL_DOSLOWLINES);
    eval 'sub WSDISPLAY_SCROLL_DOALL () {0x3;}' unless defined(&WSDISPLAY_SCROLL_DOALL);
    eval 'sub WSDISPLAYIO_DGSCROLL () { &_IOR(ord(\'W\'), 87, \'struct wsdisplay_scroll_data\');}' unless defined(&WSDISPLAYIO_DGSCROLL);
    eval 'sub WSDISPLAYIO_DSSCROLL () { &_IOW(ord(\'W\'), 88, \'struct wsdisplay_scroll_data\');}' unless defined(&WSDISPLAYIO_DSSCROLL);
    eval 'sub WSDISPLAYIO_GMSGATTRS () { &_IOR(ord(\'W\'), 89, \'struct wsdisplay_msgattrs\');}' unless defined(&WSDISPLAYIO_GMSGATTRS);
    eval 'sub WSDISPLAYIO_SMSGATTRS () { &_IOW(ord(\'W\'), 90, \'struct wsdisplay_msgattrs\');}' unless defined(&WSDISPLAYIO_SMSGATTRS);
    eval 'sub WSDISPLAYIO_GBORDER () { &_IOR(ord(\'W\'), 91, \'int\');}' unless defined(&WSDISPLAYIO_GBORDER);
    eval 'sub WSDISPLAYIO_SBORDER () { &_IOW(ord(\'W\'), 92, \'int\');}' unless defined(&WSDISPLAYIO_SBORDER);
    eval 'sub WSDISPLAYIO_SSPLASH () { &_IOW(ord(\'W\'), 93, \'int\');}' unless defined(&WSDISPLAYIO_SSPLASH);
    eval 'sub WSDISPLAYIO_SPROGRESS () { &_IOW(ord(\'W\'), 94, \'int\');}' unless defined(&WSDISPLAYIO_SPROGRESS);
    eval 'sub WSDISPLAYIO_LINEBYTES () { &_IOR(ord(\'W\'), 95, \'u_int\');}' unless defined(&WSDISPLAYIO_LINEBYTES);
    eval 'sub WSDISPLAYIO_SETVERSION () { &_IOW(ord(\'W\'), 96, \'int\');}' unless defined(&WSDISPLAYIO_SETVERSION);
    eval 'sub WSDISPLAYIO_EVENT_VERSION () { &WSEVENT_VERSION;}' unless defined(&WSDISPLAYIO_EVENT_VERSION);
    eval 'sub WSMUX_MOUSE () {1;}' unless defined(&WSMUX_MOUSE);
    eval 'sub WSMUX_KBD () {2;}' unless defined(&WSMUX_KBD);
    eval 'sub WSMUX_MUX () {3;}' unless defined(&WSMUX_MUX);
    eval 'sub WSMUX_BELL () {4;}' unless defined(&WSMUX_BELL);
    eval 'sub WSMUXIO_ADD_DEVICE () { &_IOW(ord(\'W\'), 97, \'struct wsmux_device\');}' unless defined(&WSMUXIO_ADD_DEVICE);
    eval 'sub WSMUX_ADD_DEVICE () { &WSMUXIO_ADD_DEVICE;}' unless defined(&WSMUX_ADD_DEVICE);
    eval 'sub WSMUXIO_REMOVE_DEVICE () { &_IOW(ord(\'W\'), 98, \'struct wsmux_device\');}' unless defined(&WSMUXIO_REMOVE_DEVICE);
    eval 'sub WSMUX_REMOVE_DEVICE () { &WSMUXIO_REMOVE_DEVICE;}' unless defined(&WSMUX_REMOVE_DEVICE);
    eval 'sub WSMUX_MAXDEV () {32;}' unless defined(&WSMUX_MAXDEV);
    eval 'sub WSMUXIO_LIST_DEVICES () { &_IOWR(ord(\'W\'), 99, \'struct wsmux_device_list\');}' unless defined(&WSMUXIO_LIST_DEVICES);
    eval 'sub WSMUX_LIST_DEVICES () { &WSMUXIO_LIST_DEVICES;}' unless defined(&WSMUX_LIST_DEVICES);
    eval 'sub WSMUXIO_INJECTEVENT () { &_IOW(ord(\'W\'), 100, \'struct wscons_event\');}' unless defined(&WSMUXIO_INJECTEVENT);
    eval 'sub WSMUX_INJECTEVENT () { &WSMUXIO_INJECTEVENT;}' unless defined(&WSMUX_INJECTEVENT);
    eval 'sub WSDISPLAYIO_BUS_PCI () {0;}' unless defined(&WSDISPLAYIO_BUS_PCI);
    eval 'sub WSDISPLAYIO_BUS_SBUS () {1;}' unless defined(&WSDISPLAYIO_BUS_SBUS);
    eval 'sub WSDISPLAYIO_BUS_SOC () {2;}' unless defined(&WSDISPLAYIO_BUS_SOC);
    eval 'sub WSDISPLAYIO_GET_BUSID () { &_IOR(ord(\'W\'), 101, \'struct wsdisplayio_bus_id\');}' unless defined(&WSDISPLAYIO_GET_BUSID);
    eval 'sub WSDISPLAYIO_GET_EDID () { &_IOWR(ord(\'W\'), 102, \'struct wsdisplayio_edid_info\');}' unless defined(&WSDISPLAYIO_GET_EDID);
    eval 'sub WSDISPLAYIO_SET_POLLING () { &_IOW(ord(\'W\'), 103, \'int\');}' unless defined(&WSDISPLAYIO_SET_POLLING);
    eval 'sub WSDISPLAYIOMGWEHITANDKILLEDASKUNK () { &WSDISPLAYIO_SET_POLLING;}' unless defined(&WSDISPLAYIOMGWEHITANDKILLEDASKUNK);
    eval 'sub WSFB_RGB () {0;}' unless defined(&WSFB_RGB);
    eval 'sub WSFB_CI () {1;}' unless defined(&WSFB_CI);
    eval 'sub WSFB_GREYSCALE () {2;}' unless defined(&WSFB_GREYSCALE);
    eval 'sub WSFB_YUV () {3;}' unless defined(&WSFB_YUV);
    eval 'sub WSFB_YUY2 () {4;}' unless defined(&WSFB_YUY2);
    eval 'sub WSFB_VRAM_IS_RAM () {0x1;}' unless defined(&WSFB_VRAM_IS_RAM);
    eval 'sub WSFB_VRAM_IS_SPLIT () {0x2;}' unless defined(&WSFB_VRAM_IS_SPLIT);
    eval 'sub WSDISPLAYIO_GET_FBINFO () { &_IOWR(ord(\'W\'), 104, \'struct wsdisplayio_fbinfo\');}' unless defined(&WSDISPLAYIO_GET_FBINFO);
    eval 'sub WSFB_BLIT_FILL () {1;}' unless defined(&WSFB_BLIT_FILL);
    eval 'sub WSFB_BLIT_COPY () {2;}' unless defined(&WSFB_BLIT_COPY);
    eval 'sub WSFB_BLIT_TRANS () {3;}' unless defined(&WSFB_BLIT_TRANS);
    eval 'sub WSDISPLAYIO_DOBLIT () { &_IOWR(ord(\'W\'), 105, \'struct wsdisplayio_blit\');}' unless defined(&WSDISPLAYIO_DOBLIT);
    eval 'sub WSDISPLAYIO_WAITBLIT () { &_IOWR(ord(\'W\'), 106, \'struct wsdisplayio_blit\');}' unless defined(&WSDISPLAYIO_WAITBLIT);
    eval 'sub WSDISPLAYIO_LISTFONTS () { &_IOWR(ord(\'W\'), 107, \'struct wsdisplayio_fontinfo\');}' unless defined(&WSDISPLAYIO_LISTFONTS);
}
1;
