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_ALPHANUMERIC_DISPLAY_H 6 #define _USB_HID_PAGE_ALPHANUMERIC_DISPLAY_H 7 8 9 /* Reference: 10 * HID Usage Page 0x14: ALPHANUMERIC DISPLAY 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_AD_ALPHANUMERIC_DISPLAY = 0x01, 18 B_HID_UID_AD_BITMAPPED_DISPLAY, 19 20 B_HID_UID_AD_DISPLAY_ATTRIBUTES_REPORT = 0x20, 21 B_HID_UID_AD_ASCII_CHARACTER_SET, 22 B_HID_UID_AD_DATA_READ_BACK, 23 B_HID_UID_AD_FONT_READ_BACK, 24 B_HID_UID_AD_DISPLAY_CONTROL_REPORT, 25 B_HID_UID_AD_CLEAR_DISPLAY, 26 B_HID_UID_AD_DISPLAY_ENABLE, 27 B_HID_UID_AD_SCREEN_SAVER_DELAY, 28 B_HID_UID_AD_SCREEN_SAVER_ENABLE, 29 B_HID_UID_AD_VERTICAL_SCROLL, 30 B_HID_UID_AD_HORIZONTAL_SCROLL, 31 B_HID_UID_AD_CHARACTER_REPORT, 32 B_HID_UID_AD_DISPLAY_DATA, 33 B_HID_UID_AD_DISPLAY_STATUS, 34 B_HID_UID_AD_STAT_NOT_READY, 35 B_HID_UID_AD_STAT_READY, 36 B_HID_UID_AD_ERR_NOT_A_LOADABLE_CHARACTER, 37 B_HID_UID_AD_ERR_FONT_DATA_CANNOT_BE_READ, 38 B_HID_UID_AD_CURSOR_POSITION_REPORT, 39 B_HID_UID_AD_ROW, 40 B_HID_UID_AD_COLUMN, 41 B_HID_UID_AD_ROWS, 42 B_HID_UID_AD_COLUMNS, 43 B_HID_UID_AD_CURSOR_PIXEL_POSITIONING, 44 B_HID_UID_AD_CURSOR_MODE, 45 B_HID_UID_AD_CURSOR_ENABLE, 46 B_HID_UID_AD_CURSOR_BLINK, 47 B_HID_UID_AD_FONT_REPORT, 48 B_HID_UID_AD_FONT_DATA, 49 B_HID_UID_AD_CHARACTER_WIDTH, 50 B_HID_UID_AD_CHARACTER_HEIGHT, 51 B_HID_UID_AD_CHARACTER_SPACING_HORIZONTAL, 52 B_HID_UID_AD_CHARACTER_SPACING_VERTICAL, 53 B_HID_UID_AD_UNICODE_CHARACTER, 54 B_HID_UID_AD_FONT_7_SEGMENT, 55 B_HID_UID_AD_7_SEGMENT_DIRECT_MAP, 56 B_HID_UID_AD_FONT_14_SEGMENT, 57 B_HID_UID_AD_14_SEGMENT_DIRECT_MAP, 58 B_HID_UID_AD_DISPLAY_BRIGHTNESS, 59 B_HID_UID_AD_DISPLAY_CONTRAST, 60 B_HID_UID_AD_CHARACTER_ATTRIBUTE, 61 B_HID_UID_AD_ATTRIBUTE_READBACK, 62 B_HID_UID_AD_ATTRIBUTE_DATA, 63 B_HID_UID_AD_CHAR_ATTR_ENHANCE, 64 B_HID_UID_AD_CHAR_ATTR_UNDERLINE, 65 B_HID_UID_AD_CHAR_ATTR_BLINK, 66 67 B_HID_UID_AD_BITMAP_SIZE_X = 0x80, 68 B_HID_UID_AD_BITMAP_SIZE_Y, 69 70 B_HID_UID_AD_BIT_DEPTH_FORMAT = 0x83, 71 B_HID_UID_AD_DISPLAY_ORIENTATION, 72 B_HID_UID_AD_PALETTE_REPORT, 73 B_HID_UID_AD_PALETTE_DATA_SIZE, 74 B_HID_UID_AD_PALETTE_DATA_OFFSET, 75 B_HID_UID_AD_PALETTE_DATA, 76 B_HID_UID_AD_BLIT_REPORT, 77 B_HID_UID_AD_BLIT_RECT_X1, 78 B_HID_UID_AD_BLIT_RECT_Y1, 79 B_HID_UID_AD_BLIT_RECT_X2, 80 B_HID_UID_AD_BLIT_RECT_Y2, 81 B_HID_UID_AD_BLIT_DATA, 82 B_HID_UID_AD_SOFT_BUTTON, 83 B_HID_UID_AD_SOFT_BUTTON_ID, 84 B_HID_UID_AD_SOFT_BUTTON_SIDE, 85 B_HID_UID_AD_SOFT_BUTTON_OFFSET_1, 86 B_HID_UID_AD_SOFT_BUTTON_OFFSET_2, 87 B_HID_UID_AD_SOFT_BUTTON_REPORT 88 }; 89 90 91 #endif // _USB_HID_PAGE_ALPHANUMERIC_DISPLAY_H 92