/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_report_desc.h | 15 0x05, 0x20, /* Usage page */ 16 0x09, 0x73, /* Motion type Accel 3D */ 17 0xA1, 0x00, /* HID Collection (Physical) */ 20 0x85, 1, /* HID Report ID */ 21 0x05, 0x20, /* HID usage page sensor */ 22 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */ 23 0x15, 0, /* HID logical MIN_8(0) */ 24 0x25, 2, /* HID logical MAX_8(2) */ 25 0x75, 8, /* HID report size(8) */ 26 0x95, 1, /* HID report count(1) */ [all …]
|
/linux/drivers/hid/ |
H A D | hid-maltron.c | 26 0x05, 0x01, /* Usage Page (Generic Desktop Ctrls) */ 27 0x09, 0x80, /* Usage (Sys Control) */ 28 0xA1, 0x01, /* Collection (Application) */ 29 0x85, 0x02, /* Report ID (2) */ 30 0x75, 0x01, /* Report Size (1) */ 31 0x95, 0x01, /* Report Count (1) */ 32 0x15, 0x00, /* Logical Minimum (0) */ 33 0x25, 0x01, /* Logical Maximum (1) */ 34 0x09, 0x82, /* Usage (Sys Sleep) */ 35 0x81, 0x06, /* Input (Data,Var,Rel) */ [all …]
|
H A D | hid-waltop.c | 47 0x05, 0x0D, /* Usage Page (Digitizer), */ 48 0x09, 0x02, /* Usage (Pen), */ 49 0xA1, 0x01, /* Collection (Application), */ 50 0x85, 0x10, /* Report ID (16), */ 51 0x09, 0x20, /* Usage (Stylus), */ 52 0xA0, /* Collection (Physical), */ 53 0x09, 0x42, /* Usage (Tip Switch), */ 54 0x09, 0x44, /* Usage (Barrel Switch), */ 55 0x09, 0x46, /* Usage (Tablet Pick), */ 56 0x15, 0x01, /* Logical Minimum (1), */ [all …]
|
H A D | hid-uclogic-rdesc.c | 24 0x05, 0x0D, /* Usage Page (Digitizer), */ 25 0x09, 0x01, /* Usage (Digitizer), */ 26 0xA1, 0x01, /* Collection (Application), */ 27 0x85, 0x09, /* Report ID (9), */ 28 0x09, 0x20, /* Usage (Stylus), */ 29 0xA0, /* Collection (Physical), */ 30 0x75, 0x01, /* Report Size (1), */ 31 0x09, 0x42, /* Usage (Tip Switch), */ 32 0x09, 0x44, /* Usage (Barrel Switch), */ 33 0x09, 0x46, /* Usage (Tablet Pick), */ [all …]
|
H A D | hid-keytouch.c | 20 0x05, 0x01, 0x09, 0x06, 0xa1, 0x01, 0x05, 0x07, 0x19, 0xe0, 0x29, 0xe7, 0x15, 21 0x00, 0x25, 0x01, 0x75, 0x01, 0x95, 0x08, 0x81, 0x02, 0x95, 0x01, 0x75, 0x08, 22 0x81, 0x01, 0x95, 0x03, 0x75, 0x01, 0x05, 0x08, 0x19, 0x01, 0x29, 0x03, 0x91, 23 0x02, 0x95, 0x05, 0x75, 0x01, 0x91, 0x01, 0x95, 0x06, 0x75, 0x08, 0x15, 0x00, 24 0x26, 0xff, 0x00, 0x05, 0x07, 0x19, 0x00, 0x2a, 0xff, 0x00, 0x81, 0x00, 0xc0
|
H A D | hid-lg.c | 29 #define LG_RDESC 0x001 30 #define LG_BAD_RELATIVE_KEYS 0x002 31 #define LG_DUPLICATE_USAGES 0x004 32 #define LG_EXPANDED_KEYMAP 0x010 33 #define LG_IGNORE_DOUBLED_WHEEL 0x020 34 #define LG_WIRELESS 0x040 35 #define LG_INVERT_HWHEEL 0x080 36 #define LG_NOGET 0x100 37 #define LG_FF 0x200 38 #define LG_FF2 0x400 [all …]
|
H A D | hid-sigmamicro.c | 16 0x05, 0x0c, /* Usage Page (Consumer Devices) 0 */ 17 0x09, 0x01, /* Usage (Consumer Control) 2 */ 18 0xa1, 0x01, /* Collection (Application) 4 */ 19 0x85, 0x01, /* Report ID (1) 6 */ 20 0x19, 0x00, /* Usage Minimum (0) 8 */ 21 0x2a, 0x3c, 0x02, /* Usage Maximum (572) 10 */ 22 0x15, 0x00, /* Logical Minimum (0) 13 */ 23 0x26, 0x3c, 0x02, /* Logical Maximum (572) 15 */ 24 0x95, 0x01, /* Report Count (1) 18 */ 25 0x75, 0x10, /* Report Size (16) 20 */ [all …]
|
H A D | hid-xiaomi.c | 18 0x05, 0x01, /* Usage Page (Desktop), */ 19 0x09, 0x02, /* Usage (Mouse), */ 20 0xA1, 0x01, /* Collection (Application), */ 21 0x85, 0x03, /* Report ID (3), */ 22 0x09, 0x01, /* Usage (Pointer), */ 23 0xA1, 0x00, /* Collection (Physical), */ 24 0x05, 0x09, /* Usage Page (Button), */ 25 0x19, 0x01, /* Usage Minimum (01h), */ 26 0x29, 0x05, /* X */ /* Usage Maximum (05h), */ 27 0x15, 0x00, /* Logical Minimum (0), */ [all …]
|
H A D | hid-kye.c | 26 0x05, 0x0C, /* Usage Page (Consumer), */ 27 0x09, 0x01, /* Usage (Consumer Control), */ 28 0xA1, 0x01, /* Collection (Application), */ 29 0x85, 0x12, /* Report ID (18), */ 30 0x0A, 0x45, 0x02, /* Usage (AC Rotate), */ 31 0x09, 0x40, /* Usage (Menu), */ 32 0x0A, 0x2F, 0x02, /* Usage (AC Zoom), */ 33 0x0A, 0x46, 0x02, /* Usage (AC Resize), */ 34 0x0A, 0x1A, 0x02, /* Usage (AC Undo), */ 35 0x0A, 0x6A, 0x02, /* Usage (AC Delete), */ [all …]
|
H A D | hid-holtek-kbd.c | 32 0x05, 0x01, /* Usage Page (Desktop), */ 33 0x09, 0x80, /* Usage (Sys Control), */ 34 0xA1, 0x01, /* Collection (Application), */ 35 0x85, 0x01, /* Report ID (1), */ 36 0x19, 0x81, /* Usage Minimum (Sys Power Down), */ 37 0x29, 0x83, /* Usage Maximum (Sys Wake Up), */ 38 0x15, 0x00, /* Logical Minimum (0), */ 39 0x25, 0x01, /* Logical Maximum (1), */ 40 0x95, 0x03, /* Report Count (3), */ 41 0x75, 0x01, /* Report Size (1), */ [all …]
|
H A D | hid-viewsonic.c | 26 0x05, 0x0D, /* Usage Page (Digitizer), */ 27 0x09, 0x01, /* Usage (Digitizer), */ 28 0xA1, 0x01, /* Collection (Application), */ 29 0x85, 0x02, /* Report ID (2), */ 30 0x09, 0x20, /* Usage (Stylus), */ 31 0xA0, /* Collection (Physical), */ 32 0x75, 0x10, /* Report Size (16), */ 33 0x95, 0x01, /* Report Count (1), */ 34 0xA4, /* Push, */ 35 0x05, 0x01, /* Usage Page (Desktop), */ [all …]
|
H A D | hid-logitech-dj.c | 21 #define DJ_RECEIVER_INDEX 0 28 #define REPORT_ID_DJ_SHORT 0x20 29 #define REPORT_ID_DJ_LONG 0x21 31 #define REPORT_ID_HIDPP_SHORT 0x10 32 #define REPORT_ID_HIDPP_LONG 0x11 33 #define REPORT_ID_HIDPP_VERY_LONG 0x12 38 #define HIDPP_RECEIVER_INDEX 0xff 40 #define REPORT_TYPE_RFREPORT_FIRST 0x01 41 #define REPORT_TYPE_RFREPORT_LAST 0x1F 44 #define REPORT_TYPE_CMD_SWITCH 0x80 [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | Huion__Kamvas-Pro-19.bpf.c | 10 #define VID_HUION 0x256C 11 #define PID_KAMVAS_PRO_19 0x006B 30 0x05, 0x0d, // Usage Page (Digitizers) 0 31 0x09, 0x02, // Usage (Pen) 2 32 0xa1, 0x01, // Collection (Application) 4 33 0x85, 0x0a, // Report ID (10) 6 34 0x09, 0x20, // Usage (Stylus) 8 35 0xa1, 0x01, // Collection (Application) 10 36 0x09, 0x42, // Usage (Tip Switch) 12 37 0x09, 0x44, // Usage (Barrel Switch) 14 [all …]
|
H A D | FR-TEC__Raptor-Mach-2.bpf.c | 10 #define VID_BETOP_2185PC 0x11C0 11 #define PID_RAPTOR_MACH_2 0x5606 21 * 0x05, 0x01, // Usage Page (Generic Desktop) 0 22 * 0x09, 0x04, // Usage (Joystick) 2 23 * 0xa1, 0x01, // Collection (Application) 4 24 * 0x05, 0x01, // Usage Page (Generic Desktop) 6 25 * 0x85, 0x01, // Report ID (1) 8 26 * 0x05, 0x01, // Usage Page (Generic Desktop) 10 27 * 0x09, 0x30, // Usage (X) 12 28 * 0x75, 0x10, // Report Size (16) 14 [all …]
|
H A D | Thrustmaster__TCA-Yoke-Boeing.bpf.c | 10 #define VID_THRUSTMASTER 0x044F 11 #define PID_TCA_YOKE_BOEING 0x0409 27 * 0x05, 0x01, // Usage Page (Generic Desktop) 0 28 * 0x09, 0x04, // Usage (Joystick) 2 29 * 0xa1, 0x01, // Collection (Application) 4 30 * 0x85, 0x01, // Report ID (1) 6 31 * 0x09, 0x39, // Usage (Hat switch) 8 32 * 0x15, 0x00, // Logical Minimum (0) 10 33 * 0x25, 0x07, // Logical Maximum (7) 12 34 * 0x35, 0x00, // Physical Minimum (0) 14 [all …]
|
H A D | Microsoft__Xbox-Elite-2.bpf.c | 10 #define VID_MICROSOFT 0x045e 11 #define PID_XBOX_ELITE_2 0x0b22 30 * - We need to change the usage to be buttons from 0x15 to 0x18 37 0x0a, 0x99, 0x00, // Usage (Media Select Security) 211 38 0x15, 0x00, // Logical Minimum (0) 214 39 0x26, 0xff, 0x00, // Logical Maximum (255) 216 40 0x95, 0x01, // Report Count (1) 219 41 0x75, 0x04, // Report Size (4) 221 42 0x81, 0x02, // Input (Data,Var,Abs) 223 43 0x15, 0x00, // Logical Minimum (0) 225 [all …]
|
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-dmi-quirks.c | 42 {0x1e, 0x00, /* Length of descriptor */ 43 0x00, 0x01, /* Version of descriptor */ 44 0xdb, 0x01, /* Length of report descriptor */ 45 0x21, 0x00, /* Location of report descriptor */ 46 0x24, 0x00, /* Location of input report */ 47 0x1b, 0x00, /* Max input report length */ 48 0x25, 0x00, /* Location of output report */ 49 0x11, 0x00, /* Max output report length */ 50 0x22, 0x00, /* Location of command register */ 51 0x23, 0x00, /* Location of data register */ [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | descriptors_wacom.py | 5 0x05, 0x01, # . Usage Page (Desktop), 6 0x09, 0x02, # . Usage (Mouse), 7 0xA1, 0x01, # . Collection (Application), 8 0x85, 0x01, # . Report ID (1), 9 0x09, 0x01, # . Usage (Pointer), 10 0xA1, 0x00, # . Collection (Physical), 11 0x05, 0x09, # . Usage Page (Button), 12 0x19, 0x01, # . Usage Minimum (01h), 13 0x29, 0x03, # . Usage Maximum (03h), 14 0x15, 0x00, # . Logical Minimum (0), [all …]
|
H A D | test_ite_keyboard.py | 31 0x06, 0x85, 0xff, # Usage Page (Vendor Usage Page 0xff85) 32 0x09, 0x95, # Usage (Vendor Usage 0x95) 3 33 0xa1, 0x01, # Collection (Application) 5 34 0x85, 0x5a, # .Report ID (90) 7 35 0x09, 0x01, # .Usage (Vendor Usage 0x01) 9 36 0x15, 0x00, # .Logical Minimum (0) 11 37 0x26, 0xff, 0x00, # .Logical Maximum (255) 13 38 0x75, 0x08, # .Report Size (8) 16 39 0x95, 0x10, # .Report Count (16) 18 40 0xb1, 0x00, # .Feature (Data,Arr,Abs) 20 [all …]
|
H A D | test_gamepad.py | 50 expected_event = libevdev.InputEvent(key, 0) 54 assert evdev.value[key] == 0 70 b1 = uhdev.buttons[0] 89 expected_event = libevdev.InputEvent(key1, 0) 93 assert evdev.value[key1] == 0 98 expected_event = libevdev.InputEvent(key2, 0) 102 assert evdev.value[key1] == 0 103 assert evdev.value[key2] == 0 139 self._test_joystick_press("left_stick", (0, 127)) 149 self._test_joystick_press("left_stick", (127, 0)) [all …]
|
H A D | test_keyboard.py | 89 0x05, 0x01, # Usage Page (Generic Desktop) 90 0x09, 0x06, # Usage (Keyboard) 91 0xa1, 0x01, # Collection (Application) 92 0x85, 0x01, # .Report ID (1) 93 0x05, 0x07, # .Usage Page (Keyboard) 94 0x19, 0xe0, # .Usage Minimum (224) 95 0x29, 0xe7, # .Usage Maximum (231) 96 0x15, 0x00, # .Logical Minimum (0) 97 0x25, 0x01, # .Logical Maximum (1) 98 0x75, 0x01, # .Report Size (1) [all …]
|
H A D | test_mouse.py | 68 wheel, acpan = 0, 0 71 wheel = wheels[0] 107 0x05, 0x01, # .Usage Page (Generic Desktop) 0 108 0x09, 0x02, # .Usage (Mouse) 2 109 0xa1, 0x01, # .Collection (Application) 4 110 0x09, 0x02, # ..Usage (Mouse) 6 111 0xa1, 0x02, # ..Collection (Logical) 8 112 0x09, 0x01, # ...Usage (Pointer) 10 113 0xa1, 0x00, # ...Collection (Physical) 12 114 0x05, 0x09, # ....Usage Page (Button) 14 [all …]
|
H A D | test_apple_keyboard.py | 27 0x05, 0x01, # Usage Page (Generic Desktop) 28 0x09, 0x06, # Usage (Keyboard) 29 0xa1, 0x01, # Collection (Application) 30 0x85, 0x01, # .Report ID (1) 31 0x05, 0x07, # .Usage Page (Keyboard) 32 0x19, 0xe0, # .Usage Minimum (224) 33 0x29, 0xe7, # .Usage Maximum (231) 34 0x15, 0x00, # .Logical Minimum (0) 35 0x25, 0x01, # .Logical Maximum (1) 36 0x75, 0x01, # .Report Size (1) [all …]
|
/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.lskel-big-endian.h | 27 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_map__attach() 29 if (fd > 0) in iterators_bpf__dump_bpf_map__attach() 38 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_prog__attach() 40 if (fd > 0) in iterators_bpf__dump_bpf_prog__attach() 48 int ret = 0; in iterators_bpf__attach() 50 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_map__attach(skel); in iterators_bpf__attach() 51 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_prog__attach(skel); in iterators_bpf__attach() 52 return ret < 0 ? ret : 0; in iterators_bpf__attach() 96 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() 97 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() [all …]
|
H A D | iterators.lskel-little-endian.h | 27 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_map__attach() 29 if (fd > 0) in iterators_bpf__dump_bpf_map__attach() 38 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_prog__attach() 40 if (fd > 0) in iterators_bpf__dump_bpf_prog__attach() 48 int ret = 0; in iterators_bpf__attach() 50 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_map__attach(skel); in iterators_bpf__attach() 51 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_prog__attach(skel); in iterators_bpf__attach() 52 return ret < 0 ? ret : 0; in iterators_bpf__attach() 96 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() 97 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() [all …]
|