Lines Matching +full:0 +full:x0011
41 dbg_hid("called with 0x%04x 0x%04x", strong, weak); in drff_play()
44 strong = strong * 0xff / 0xffff; in drff_play()
45 weak = weak * 0xff / 0xffff; in drff_play()
50 if (weak == 0x0a) in drff_play()
51 weak = 0x0b; in drff_play()
53 drff->report->field[0]->value[0] = 0x51; in drff_play()
54 drff->report->field[0]->value[1] = 0x00; in drff_play()
55 drff->report->field[0]->value[2] = weak; in drff_play()
56 drff->report->field[0]->value[4] = strong; in drff_play()
59 drff->report->field[0]->value[0] = 0xfa; in drff_play()
60 drff->report->field[0]->value[1] = 0xfe; in drff_play()
62 drff->report->field[0]->value[0] = 0xf3; in drff_play()
63 drff->report->field[0]->value[1] = 0x00; in drff_play()
66 drff->report->field[0]->value[2] = 0x00; in drff_play()
67 drff->report->field[0]->value[4] = 0x00; in drff_play()
68 dbg_hid("running with 0x%02x 0x%02x", strong, weak); in drff_play()
71 return 0; in drff_play()
102 if (report->field[0]->report_count < 7) { in drff_init()
120 drff->report->field[0]->value[0] = 0xf3; in drff_init()
121 drff->report->field[0]->value[1] = 0x00; in drff_init()
122 drff->report->field[0]->value[2] = 0x00; in drff_init()
123 drff->report->field[0]->value[3] = 0x00; in drff_init()
124 drff->report->field[0]->value[4] = 0x00; in drff_init()
125 drff->report->field[0]->value[5] = 0x00; in drff_init()
126 drff->report->field[0]->value[6] = 0x00; in drff_init()
132 return 0; in drff_init()
137 return 0; in drff_init()
142 * The original descriptor of joystick with PID 0x0011, represented by DVTech PC
153 * Logical Minimum (0),
155 * Physical Minimum (0),
177 * Usage Maximum (0Ah),
198 /* Size of the original descriptor of the PID 0x0011 joystick */
201 /* Fixed report descriptor for PID 0x011 joystick */
203 0x05, 0x01, /* Usage Page (Desktop), */
204 0x09, 0x04, /* Usage (Joystick), */
205 0xA1, 0x01, /* Collection (Application), */
206 0xA1, 0x02, /* Collection (Logical), */
207 0x14, /* Logical Minimum (0), */
208 0x75, 0x08, /* Report Size (8), */
209 0x95, 0x03, /* Report Count (3), */
210 0x81, 0x01, /* Input (Constant), */
211 0x26, 0xFF, 0x00, /* Logical Maximum (255), */
212 0x95, 0x02, /* Report Count (2), */
213 0x09, 0x30, /* Usage (X), */
214 0x09, 0x31, /* Usage (Y), */
215 0x81, 0x02, /* Input (Variable), */
216 0x75, 0x01, /* Report Size (1), */
217 0x95, 0x04, /* Report Count (4), */
218 0x81, 0x01, /* Input (Constant), */
219 0x25, 0x01, /* Logical Maximum (1), */
220 0x95, 0x0A, /* Report Count (10), */
221 0x05, 0x09, /* Usage Page (Button), */
222 0x19, 0x01, /* Usage Minimum (01h), */
223 0x29, 0x0A, /* Usage Maximum (0Ah), */
224 0x81, 0x02, /* Input (Variable), */
225 0x95, 0x0A, /* Report Count (10), */
226 0x81, 0x01, /* Input (Constant), */
227 0xC0, /* End Collection, */
228 0xC0 /* End Collection */
235 case 0x0011: in dr_report_fixup()
260 map_rel(usage->hid & 0xf); in dr_input_mapping()
262 map_abs(usage->hid & 0xf); in dr_input_mapping()
266 return 0; in dr_input_mapping()
288 case 0x0006: in dr_probe()
298 return 0; in dr_probe()
304 { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006), },
305 { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011), },