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_DIGITIZERS_H 6 #define _USB_HID_PAGE_DIGITIZERS_H 7 8 9 /* Reference: 10 * HID Usage Page 0x0D: DIGITIZERS 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_DIG_DIGITIZER = 0x1, 18 B_HID_UID_DIG_PEN, 19 B_HID_UID_DIG_LIGHT_PEN, 20 B_HID_UID_DIG_TOUCH_SCREEN, 21 B_HID_UID_DIG_TOUCH_PAD, 22 B_HID_UID_DIG_WHITE_BOARD, 23 B_HID_UID_DIG_COORDINATE_MEASURING_MACHINE, 24 B_HID_UID_DIG_3D_DIGITIZER, 25 B_HID_UID_DIG_STEREO_PLOTTER, 26 B_HID_UID_DIG_ARTICULATED_ARM, 27 B_HID_UID_DIG_ARMATURE, 28 B_HID_UID_DIG_MULTIPLE_POINT_DIGITIZER, 29 B_HID_UID_DIG_FREE_SPACE_WAND, 30 31 B_HID_UID_DIG_STYLUS = 0x20, 32 B_HID_UID_DIG_PUCK, 33 B_HID_UID_DIG_FINGER, 34 35 B_HID_UID_DIG_TIP_PRESSURE = 0x30, 36 B_HID_UID_DIG_BARREL_PRESSURE, 37 B_HID_UID_DIG_IN_RANGE, 38 B_HID_UID_DIG_TOUCH, 39 B_HID_UID_DIG_UNTOUCH, 40 B_HID_UID_DIG_TAP, 41 B_HID_UID_DIG_QUALITY, 42 B_HID_UID_DIG_DATA_VALID, 43 B_HID_UID_DIG_TRANSDUCER_INDEX, 44 B_HID_UID_DIG_TABLET_FUNCTION_KEYS, 45 B_HID_UID_DIG_PROGRAM_CHANGE_KEYS, 46 B_HID_UID_DIG_BATTERY_STRENGTH, 47 B_HID_UID_DIG_INVERT, 48 B_HID_UID_DIG_X_TILT, 49 B_HID_UID_DIG_Y_TILT, 50 B_HID_UID_DIG_AZIMUTH, 51 B_HID_UID_DIG_ALTITUDE, 52 B_HID_UID_DIG_TWIST, 53 B_HID_UID_DIG_TIP_SWITCH, 54 B_HID_UID_DIG_SECONDARY_TIP_SWITCH, 55 B_HID_UID_DIG_BARREL_SWITCH, 56 B_HID_UID_DIG_ERASER, 57 B_HID_UID_DIG_TABLET_PICK 58 }; 59 60 61 #endif // _USB_HID_PAGE_DIGITIZERS_H 62