require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_BLUETOOTH_BTHID_H_)) {
    eval 'sub _DEV_BLUETOOTH_BTHID_H_ () {1;}' unless defined(&_DEV_BLUETOOTH_BTHID_H_);
    eval 'sub BTHID_HANDSHAKE () {0x;}' unless defined(&BTHID_HANDSHAKE);
    eval 'sub BTHID_CONTROL () {0x1;}' unless defined(&BTHID_CONTROL);
    eval 'sub BTHID_GET_REPORT () {0x4;}' unless defined(&BTHID_GET_REPORT);
    eval 'sub BTHID_SET_REPORT () {0x5;}' unless defined(&BTHID_SET_REPORT);
    eval 'sub BTHID_GET_PROTOCOL () {0x6;}' unless defined(&BTHID_GET_PROTOCOL);
    eval 'sub BTHID_SET_PROTOCOL () {0x7;}' unless defined(&BTHID_SET_PROTOCOL);
    eval 'sub BTHID_GET_IDLE () {0x8;}' unless defined(&BTHID_GET_IDLE);
    eval 'sub BTHID_SET_IDLE () {0x9;}' unless defined(&BTHID_SET_IDLE);
    eval 'sub BTHID_DATA () {0xa;}' unless defined(&BTHID_DATA);
    eval 'sub BTHID_DATC () {0xb;}' unless defined(&BTHID_DATC);
    eval 'sub BTHID_TYPE {
        my($b) = @_;
	    eval q(((($b) & 0xf0) >> 4));
    }' unless defined(&BTHID_TYPE);
    eval 'sub BTHID_HANDSHAKE_SUCCESS () {0x;}' unless defined(&BTHID_HANDSHAKE_SUCCESS);
    eval 'sub BTHID_HANDSHAKE_NOT_READY () {0x1;}' unless defined(&BTHID_HANDSHAKE_NOT_READY);
    eval 'sub BTHID_HANDSHAKE_INVALID_ID () {0x2;}' unless defined(&BTHID_HANDSHAKE_INVALID_ID);
    eval 'sub BTHID_HANDSHAKE_UNSUPPORTED () {0x3;}' unless defined(&BTHID_HANDSHAKE_UNSUPPORTED);
    eval 'sub BTHID_HANDSHAKE_INVALID_PARAM () {0x4;}' unless defined(&BTHID_HANDSHAKE_INVALID_PARAM);
    eval 'sub BTHID_HANDSHAKE_UNKNOWN () {0xe;}' unless defined(&BTHID_HANDSHAKE_UNKNOWN);
    eval 'sub BTHID_HANDSHAKE_FATAL () {0xf;}' unless defined(&BTHID_HANDSHAKE_FATAL);
    eval 'sub BTHID_HANDSHAKE_PARAM {
        my($b) = @_;
	    eval q((($b) & 0xf));
    }' unless defined(&BTHID_HANDSHAKE_PARAM);
    eval 'sub BTHID_CONTROL_NOP () {0x;}' unless defined(&BTHID_CONTROL_NOP);
    eval 'sub BTHID_CONTROL_HARD_RESET () {0x1;}' unless defined(&BTHID_CONTROL_HARD_RESET);
    eval 'sub BTHID_CONTROL_SOFT_RESET () {0x2;}' unless defined(&BTHID_CONTROL_SOFT_RESET);
    eval 'sub BTHID_CONTROL_SUSPEND () {0x3;}' unless defined(&BTHID_CONTROL_SUSPEND);
    eval 'sub BTHID_CONTROL_RESUME () {0x4;}' unless defined(&BTHID_CONTROL_RESUME);
    eval 'sub BTHID_CONTROL_UNPLUG () {0x5;}' unless defined(&BTHID_CONTROL_UNPLUG);
    eval 'sub BTHID_CONTROL_PARAM {
        my($b) = @_;
	    eval q((($b) & 0xf));
    }' unless defined(&BTHID_CONTROL_PARAM);
    eval 'sub BTHID_CONTROL_SIZE () {0x8;}' unless defined(&BTHID_CONTROL_SIZE);
    eval 'sub BTHID_PROTOCOL_REPORT () {0;}' unless defined(&BTHID_PROTOCOL_REPORT);
    eval 'sub BTHID_PROTOCOL_BOOT () {1;}' unless defined(&BTHID_PROTOCOL_BOOT);
    eval 'sub BTHID_PROTOCOL_PARAM {
        my($b) = @_;
	    eval q((($b) & 0x1));
    }' unless defined(&BTHID_PROTOCOL_PARAM);
    eval 'sub BTHID_DATA_OTHER () {0;}' unless defined(&BTHID_DATA_OTHER);
    eval 'sub BTHID_DATA_INPUT () {1;}' unless defined(&BTHID_DATA_INPUT);
    eval 'sub BTHID_DATA_OUTPUT () {2;}' unless defined(&BTHID_DATA_OUTPUT);
    eval 'sub BTHID_DATA_FEATURE () {3;}' unless defined(&BTHID_DATA_FEATURE);
    eval 'sub BTHID_DATA_PARAM {
        my($b) = @_;
	    eval q((($b) & 0x3));
    }' unless defined(&BTHID_DATA_PARAM);
}
1;
