require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_TABLET_H_)) {
    eval 'sub _SYS_TABLET_H_ () {1;}' unless defined(&_SYS_TABLET_H_);
    require 'sys/ioctl.ph';
    eval 'sub TBINPROX () {0100000;}' unless defined(&TBINPROX);
    eval 'sub BIOSMODE () { &_IOW(ord(\'b\'), 1, \'int\');}' unless defined(&BIOSMODE);
    eval 'sub BIOGMODE () { &_IOR(ord(\'b\'), 2, \'int\');}' unless defined(&BIOGMODE);
    eval 'sub TBMODE () {0xfff0;}' unless defined(&TBMODE);
    eval 'sub TBPOINT () {0x10;}' unless defined(&TBPOINT);
    eval 'sub TBRUN () {0x;}' unless defined(&TBRUN);
    eval 'sub TBSTOP () {0x20;}' unless defined(&TBSTOP);
    eval 'sub TBGO () {0x;}' unless defined(&TBGO);
    eval 'sub TBTYPE () {0xf;}' unless defined(&TBTYPE);
    eval 'sub TBUNUSED () {0x;}' unless defined(&TBUNUSED);
    eval 'sub TBHITACHI () {0x1;}' unless defined(&TBHITACHI);
    eval 'sub TBTIGER () {0x2;}' unless defined(&TBTIGER);
    eval 'sub TBGTCO () {0x3;}' unless defined(&TBGTCO);
    eval 'sub TBPOL () {0x4;}' unless defined(&TBPOL);
    eval 'sub TBHDG () {0x5;}' unless defined(&TBHDG);
    eval 'sub TBHDGHIRES () {0x6;}' unless defined(&TBHDGHIRES);
    eval 'sub TBDIGI () {0x7;}' unless defined(&TBDIGI);
    eval 'sub TBDIGIHIRES () {0x8;}' unless defined(&TBDIGIHIRES);
    eval 'sub BIOSTYPE () { &_IOW(ord(\'b\'), 3, \'int\');}' unless defined(&BIOSTYPE);
    eval 'sub BIOGTYPE () { &_IOR(ord(\'b\'), 4, \'int\');}' unless defined(&BIOGTYPE);
}
1;
