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