Lines Matching +full:0 +full:x26

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
35 * 0x46, 0x3b, 0x01, // Physical Maximum (315) 16
36 * 0x65, 0x14, // Unit (EnglishRotation: deg) 19
37 * 0x75, 0x04, // Report Size (4) 21
38 * 0x95, 0x01, // Report Count (1) 23
39 * 0x81, 0x42, // Input (Data,Var,Abs,Null) 25
40 * 0x65, 0x00, // Unit (None) 27
41 * 0x05, 0x09, // Usage Page (Button) 29
42 * 0x19, 0x01, // Usage Minimum (1) 31
43 * 0x29, 0x12, // Usage Maximum (18) 33
44 * 0x15, 0x00, // Logical Minimum (0) 35
45 * 0x25, 0x01, // Logical Maximum (1) 37
46 * 0x75, 0x01, // Report Size (1) 39
47 * 0x95, 0x12, // Report Count (18) 41
48 * 0x81, 0x02, // Input (Data,Var,Abs) 43
49 * 0x95, 0x02, // Report Count (2) 45
50 * 0x81, 0x03, // Input (Cnst,Var,Abs) 47
51 * 0x05, 0x01, // Usage Page (Generic Desktop) 49
52 * 0x09, 0x31, // Usage (Y) 51
53 * 0x09, 0x30, // Usage (X) 53
54 * 0x09, 0x32, // Usage (Z) 55
55 * 0x09, 0x34, // Usage (Ry) 57
56 * 0x09, 0x33, // Usage (Rx) 59
57 * 0x09, 0x35, // Usage (Rz) 61
58 * 0x15, 0x00, // Logical Minimum (0) 63
59 * 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535) 65
60 * 0x75, 0x10, // Report Size (16) 70
61 * 0x95, 0x06, // Report Count (6) 72
62 * 0x81, 0x02, // Input (Data,Var,Abs) 74
63 * 0x06, 0xf0, 0xff, // Usage Page (Vendor Usage Page 0xfff0) 76
64 * 0x09, 0x59, // Usage (Vendor Usage 0x59) 79
65 * 0x15, 0x00, // Logical Minimum (0) 81
66 * 0x26, 0xff, 0x00, // Logical Maximum (255) 83
67 * 0x75, 0x08, // Report Size (8) 86
68 * 0x95, 0x01, // Report Count (1) 88
69 * 0x81, 0x02, // Input (Data,Var,Abs) 90 --> Needs to be changed
70 * 0x09, 0x51, // Usage (Vendor Usage 0x51) 92
71 * 0x15, 0x00, // Logical Minimum (0) 94
72 * 0x26, 0xff, 0x00, // Logical Maximum (255) 96
73 * 0x75, 0x08, // Report Size (8) 99
74 …* 0x95, 0x20, // Report Count (32) 101 --> Needs to be chang…
75 * 0x81, 0x02, // Input (Data,Var,Abs) 103
76 * 0x09, 0x50, // Usage (Vendor Usage 0x50) 105
77 * 0x15, 0x00, // Logical Minimum (0) 107
78 * 0x26, 0xff, 0x00, // Logical Maximum (255) 109
79 * 0x75, 0x08, // Report Size (8) 112
80 * 0x95, 0x0f, // Report Count (15) 114
81 * 0x81, 0x03, // Input (Cnst,Var,Abs) 116
82 * 0x09, 0x47, // Usage (Vendor Usage 0x47) 118
83 * 0x85, 0xf2, // Report ID (242) 120
84 * 0x15, 0x00, // Logical Minimum (0) 122
85 * 0x26, 0xff, 0x00, // Logical Maximum (255) 124
86 * 0x75, 0x08, // Report Size (8) 127
87 * 0x95, 0x3f, // Report Count (63) 129
88 * 0xb1, 0x02, // Feature (Data,Var,Abs) 131
89 * 0x09, 0x48, // Usage (Vendor Usage 0x48) 133
90 * 0x85, 0xf3, // Report ID (243) 135
91 * 0x15, 0x00, // Logical Minimum (0) 137
92 * 0x26, 0xff, 0x00, // Logical Maximum (255) 139
93 * 0x75, 0x08, // Report Size (8) 142
94 * 0x95, 0x3f, // Report Count (63) 144
95 * 0xb1, 0x02, // Feature (Data,Var,Abs) 146
96 * 0xc0, // End Collection 148
105 return 0; in SEC()
107 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, HID_MAX_DESCRIPTOR_SIZE /* size */); in SEC()
110 return 0; /* EPERM */ in SEC()
113 if (data[1] != 0x01 /* Generic Desktop */ || data[3] != 0x04 /* Joystick */) in SEC()
114 return 0; in SEC()
121 if (data[90] == 0x81 && /* Input */ in SEC()
122 data[103] == 0x81) { /* Input */ in SEC()
123 data[91] = 0x03; /* Input set to 0x03 Constant, Variable Absolute */ in SEC()
124 data[104] = 0x03; /* Input set to 0X03 Constant, Variable Absolute */ in SEC()
127 return 0; in SEC()
138 if (ctx->rdesc[91] != 0x02) /* Input for 0x59 Usage type has changed */ in probe()
141 return 0; in probe()