1*b6ec842dSStephan Aßmus /* 2*b6ec842dSStephan Aßmus * Copyright 2004-2010, Haiku Inc. All Rights Reserved. 3*b6ec842dSStephan Aßmus * Distributed under the terms of the MIT License. 4*b6ec842dSStephan Aßmus */ 5*b6ec842dSStephan Aßmus #ifndef _USB_HID_PAGE_ARCADE_H 6*b6ec842dSStephan Aßmus #define _USB_HID_PAGE_ARCADE_H 7*b6ec842dSStephan Aßmus 8*b6ec842dSStephan Aßmus 9*b6ec842dSStephan Aßmus /* Reference: 10*b6ec842dSStephan Aßmus * HID Usage Page 24: ARCADE 11*b6ec842dSStephan Aßmus * Open Arcade Architecture Device (OAAD) - 12*b6ec842dSStephan Aßmus * Data Format Specification Rev. 1.100 13*b6ec842dSStephan Aßmus * http://www.usb.org/developers/devclass_docs/oaaddataformatsv6.pdf 14*b6ec842dSStephan Aßmus */ 15*b6ec842dSStephan Aßmus 16*b6ec842dSStephan Aßmus // Usage IDs 17*b6ec842dSStephan Aßmus enum { 18*b6ec842dSStephan Aßmus B_HID_UID_ARC_GENERAL_PURPOSE_IO_CARD = 0x01, 19*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DOOR, 20*b6ec842dSStephan Aßmus B_HID_UID_ARC_WATCHDOG_TIMER, 21*b6ec842dSStephan Aßmus 22*b6ec842dSStephan Aßmus B_HID_UID_ARC_GENERAL_PURPOSE_ANALOG_INPUT_STATE = 0x30, 23*b6ec842dSStephan Aßmus B_HID_UID_ARC_GENERAL_PURPOSE_DIGITAL_INPUT_STATE, 24*b6ec842dSStephan Aßmus B_HID_UID_ARC_GENERAL_OPTICAL_INPUT_STATE, 25*b6ec842dSStephan Aßmus B_HID_UID_ARC_GENERAL_DIGITAL_OUTPUT_STATE, 26*b6ec842dSStephan Aßmus B_HID_UID_ARC_NUMBER_OF_COIN_DOORS, 27*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DRAWER_DROP_COUNT, 28*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DRAWER_START, 29*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DRAWER_SERVICE, 30*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DRAWER_TILT, 31*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DOOR_TEST, 32*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DOOR_LOCKOUT, 33*b6ec842dSStephan Aßmus B_HID_UID_ARC_WATCHDOG_TIMEOUT, 34*b6ec842dSStephan Aßmus B_HID_UID_ARC_WATCHDOG_REBOOT, 35*b6ec842dSStephan Aßmus B_HID_UID_ARC_WATCHDOG_RESTART, 36*b6ec842dSStephan Aßmus B_HID_UID_ARC_ALARM_INPUT, 37*b6ec842dSStephan Aßmus B_HID_UID_ARC_COIN_DOOR_COUNTER, 38*b6ec842dSStephan Aßmus B_HID_UID_ARC_IO_DIRECTION_MAPPING, 39*b6ec842dSStephan Aßmus B_HID_UID_ARC_SET_IO_DIRECTION, 40*b6ec842dSStephan Aßmus B_HID_UID_ARC_EXTENDED_OPTICAL_INPUT_STATE, 41*b6ec842dSStephan Aßmus B_HID_UID_ARC_PIN_PAD_INPUT_STATE, 42*b6ec842dSStephan Aßmus B_HID_UID_ARC_PIN_PAD_STATUS, 43*b6ec842dSStephan Aßmus B_HID_UID_ARC_PIN_PAD_OUTPUT, 44*b6ec842dSStephan Aßmus B_HID_UID_ARC_PIN_PAD_COMMAND 45*b6ec842dSStephan Aßmus }; 46*b6ec842dSStephan Aßmus 47*b6ec842dSStephan Aßmus 48*b6ec842dSStephan Aßmus #endif // _USB_HID_PAGE_ARCADE_H 49