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_TELEPHONY_H 6 #define _USB_HID_PAGE_TELEPHONY_H 7 8 9 /* Reference: 10 * HID Usage Page 0x0B: TELEPHONY 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_TEL_PHONE = 0x1, 18 B_HID_UID_TEL_ANSWERING_MACHINE, 19 B_HID_UID_TEL_MESSAGE_CONTROLS, 20 B_HID_UID_TEL_HANDSET, 21 B_HID_UID_TEL_HEADSET, 22 B_HID_UID_TEL_TELEPHONY_KEY_PAD, 23 B_HID_UID_TEL_PROGRAMMABLE_BUTTON, 24 25 B_HID_UID_TEL_HOOK_SWITCH = 0x20, 26 B_HID_UID_TEL_FLASH, 27 B_HID_UID_TEL_FEATURE, 28 B_HID_UID_TEL_HOLD, 29 B_HID_UID_TEL_REDIAL, 30 B_HID_UID_TEL_TRANSFER, 31 B_HID_UID_TEL_DROP, 32 B_HID_UID_TEL_PARK, 33 B_HID_UID_TEL_FORWARD_CALLS, 34 B_HID_UID_TEL_ALTERNATE_FUNCTION, 35 B_HID_UID_TEL_LINE, 36 B_HID_UID_TEL_SPEAKER_PHONE, 37 B_HID_UID_TEL_CONFERENCE, 38 B_HID_UID_TEL_RING_ENABLE, 39 B_HID_UID_TEL_RING_SELECT, 40 B_HID_UID_TEL_PHONE_MUTE, 41 B_HID_UID_TEL_CALLER_ID, 42 B_HID_UID_TEL_SEND, 43 44 B_HID_UID_TEL_SPEED_DIAL = 0x50, 45 B_HID_UID_TEL_STORE_NUMBER, 46 B_HID_UID_TEL_RECALL_NUMBER, 47 B_HID_UID_TEL_PHONE_DIRECTORY, 48 49 B_HID_UID_TEL_VOICE_MAIL = 0x70, 50 B_HID_UID_TEL_SCREEN_CALLS, 51 B_HID_UID_TEL_DO_NOT_DISTURB, 52 B_HID_UID_TEL_MESSAGE, 53 B_HID_UID_TEL_ANSWER_ON_OFF, 54 55 B_HID_UID_TEL_INSIDE_DIAL_TONE = 0x90, 56 B_HID_UID_TEL_OUTSIDE_DIAL_TONE, 57 B_HID_UID_TEL_INSIDE_RING_TONE, 58 B_HID_UID_TEL_OUTSIDE_RING_TONE, 59 B_HID_UID_TEL_PRIORITY_RING_TONE, 60 B_HID_UID_TEL_INSIDE_RING_BACK, 61 B_HID_UID_TEL_PRIORITY_RING_BACK, 62 B_HID_UID_TEL_LINE_BUSY_TONE, 63 B_HID_UID_TEL_REORDER_TONE, 64 B_HID_UID_TEL_CALL_WAITING_TONE, 65 B_HID_UID_TEL_CONFIRMATION_TONE_1, 66 B_HID_UID_TEL_CONFIRMATION_TONE_2, 67 B_HID_UID_TEL_TONES_OFF, 68 B_HID_UID_TEL_OUTSIDE_RINGBACK, 69 B_HID_UID_TEL_RINGER, 70 71 B_HID_UID_TEL_PHONE_KEY_0 = 0xb0, 72 B_HID_UID_TEL_PHONE_KEY_1, 73 B_HID_UID_TEL_PHONE_KEY_2, 74 B_HID_UID_TEL_PHONE_KEY_3, 75 B_HID_UID_TEL_PHONE_KEY_4, 76 B_HID_UID_TEL_PHONE_KEY_5, 77 B_HID_UID_TEL_PHONE_KEY_6, 78 B_HID_UID_TEL_PHONE_KEY_7, 79 B_HID_UID_TEL_PHONE_KEY_8, 80 B_HID_UID_TEL_PHONE_KEY_9, 81 82 B_HID_UID_TEL_PHONE_KEY_STAR = 0xba, 83 B_HID_UID_TEL_PHONE_KEY_POUND, 84 B_HID_UID_TEL_PHONE_KEY_A, 85 B_HID_UID_TEL_PHONE_KEY_B, 86 B_HID_UID_TEL_PHONE_KEY_C, 87 B_HID_UID_TEL_PHONE_KEY_D 88 }; 89 90 91 #endif // _USB_HID_PAGE_TELEPHONY_H 92