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_SPORT_CONTROLS_H 6 #define _USB_HID_PAGE_SPORT_CONTROLS_H 7 8 9 /* Reference: 10 * HID Usage Page 0x04: SPORT CONTROLS 11 * HID Usage Tables Ver. 1.12 12 * http://www.usb.org/developers/devclass_docs/Hut1_12.pdf 13 */ 14 15 // Usage IDs 16 enum { 17 B_HID_UID_SPO_BASEBALL_BAT = 0x1, 18 B_HID_UID_SPO_GOLF_CLUB, 19 B_HID_UID_SPO_ROWING_MACHINE, 20 B_HID_UID_SPO_TREADMILL, 21 22 B_HID_UID_SPO_OAR = 0x30, 23 B_HID_UID_SPO_SLOPE, 24 B_HID_UID_SPO_RATE, 25 B_HID_UID_SPO_STICK_SPEED, 26 B_HID_UID_SPO_STICK_FACE_ANGLE, 27 B_HID_UID_SPO_STICK_HEEL_TOE, 28 B_HID_UID_SPO_STICK_TEMPO, 29 B_HID_UID_SPO_STICK_TYPE, 30 B_HID_UID_SPO_STICK_HEIGHT, 31 32 B_HID_UID_SPO_PUTTER = 0x50, 33 B_HID_UID_SPO_1_IRON, 34 B_HID_UID_SPO_2_IRON, 35 B_HID_UID_SPO_3_IRON, 36 B_HID_UID_SPO_4_IRON, 37 B_HID_UID_SPO_5_IRON, 38 B_HID_UID_SPO_6_IRON, 39 B_HID_UID_SPO_7_IRON, 40 B_HID_UID_SPO_8_IRON, 41 B_HID_UID_SPO_9_IRON, 42 B_HID_UID_SPO_10_IRON, 43 B_HID_UID_SPO_11_IRON, 44 B_HID_UID_SPO_SAND_WEDGE, 45 B_HID_UID_SPO_LOFT_WEDGE, 46 B_HID_UID_SPO_POWER_WEDGE, 47 B_HID_UID_SPO_1_WOOD, 48 B_HID_UID_SPO_3_WOOD, 49 B_HID_UID_SPO_5_WOOD, 50 B_HID_UID_SPO_7_WOOD, 51 B_HID_UID_SPO_9_WOOD 52 }; 53 54 55 #endif // _USB_HID_PAGE_SPORT_CONTROLS_H 56