Home
last modified time | relevance | path

Searched refs:input_report_abs (Results 1 – 25 of 187) sorted by relevance

12345678

/linux-6.6.21/drivers/input/joystick/iforce/
Diforce-packets.c124 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x); in iforce_report_hats_buttons()
125 input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y); in iforce_report_hats_buttons()
137 input_report_abs(dev, ABS_HAT1X, -1); in iforce_report_hats_buttons()
139 input_report_abs(dev, ABS_HAT1X, 1); in iforce_report_hats_buttons()
141 input_report_abs(dev, ABS_HAT1X, 0); in iforce_report_hats_buttons()
146 input_report_abs(dev, ABS_HAT1Y, -1); in iforce_report_hats_buttons()
148 input_report_abs(dev, ABS_HAT1Y, 1); in iforce_report_hats_buttons()
150 input_report_abs(dev, ABS_HAT1Y, 0); in iforce_report_hats_buttons()
164 input_report_abs(dev, ABS_X, in iforce_process_packet()
166 input_report_abs(dev, ABS_Y, in iforce_process_packet()
[all …]
/linux-6.6.21/drivers/input/joystick/
Dgrip.c187 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_poll()
188 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1)); in grip_poll()
203 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
204 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
205 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f); in grip_poll()
207 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1)); in grip_poll()
208 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll()
222 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
223 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
224 input_report_abs(dev, ABS_BRAKE, (data[1] >> 2) & 0x3f); in grip_poll()
[all …]
Ddb9.c266 input_report_abs(dev, db9_abs[5], data[j + 6]); in db9_saturn_report()
269 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report()
270 input_report_abs(dev, db9_abs[4], data[j + 5]); in db9_saturn_report()
273 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report()
277 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report()
278 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report()
283 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report()
284 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report()
287 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report()
288 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report()
[all …]
Dmaplecontrol.c37 input_report_abs(dev, ABS_HAT0Y, in dc_pad_callback()
39 input_report_abs(dev, ABS_HAT0X, in dc_pad_callback()
41 input_report_abs(dev, ABS_HAT1Y, in dc_pad_callback()
43 input_report_abs(dev, ABS_HAT1X, in dc_pad_callback()
55 input_report_abs(dev, ABS_GAS, res[10]); in dc_pad_callback()
56 input_report_abs(dev, ABS_BRAKE, res[11]); in dc_pad_callback()
57 input_report_abs(dev, ABS_X, res[12]); in dc_pad_callback()
58 input_report_abs(dev, ABS_Y, res[13]); in dc_pad_callback()
59 input_report_abs(dev, ABS_RX, res[14]); in dc_pad_callback()
60 input_report_abs(dev, ABS_RY, res[15]); in dc_pad_callback()
Dsidewinder.c296 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); in sw_parse()
297 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7)); in sw_parse()
298 input_report_abs(dev, ABS_RZ, (GB(35,2) << 7) | GB(40,7)); in sw_parse()
299 input_report_abs(dev, ABS_THROTTLE, (GB(32,3) << 7) | GB(48,7)); in sw_parse()
301 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
302 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
321 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse()
322 input_report_abs(sw->dev[i], ABS_Y, GB(i*15+0,1) - GB(i*15+1,1)); in sw_parse()
339 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse()
340 input_report_abs(dev, ABS_Y, GB(19,10)); in sw_parse()
[all …]
Dpxrc.c61 input_report_abs(pxrc->input, ABS_X, data[0]); in pxrc_usb_irq()
62 input_report_abs(pxrc->input, ABS_Y, data[2]); in pxrc_usb_irq()
63 input_report_abs(pxrc->input, ABS_RX, data[3]); in pxrc_usb_irq()
64 input_report_abs(pxrc->input, ABS_RY, data[4]); in pxrc_usb_irq()
65 input_report_abs(pxrc->input, ABS_RUDDER, data[5]); in pxrc_usb_irq()
66 input_report_abs(pxrc->input, ABS_THROTTLE, data[6]); in pxrc_usb_irq()
67 input_report_abs(pxrc->input, ABS_MISC, data[7]); in pxrc_usb_irq()
Dwarrior.c60 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5))); in warrior_process_packet()
61 input_report_abs(dev, ABS_Y, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet()
64 input_report_abs(dev, ABS_THROTTLE, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet()
65 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0)); in warrior_process_packet()
66 input_report_abs(dev, ABS_HAT0Y, (data[3] & 8 ? 1 : 0) - (data[3] & 4 ? 1 : 0)); in warrior_process_packet()
Dzhenhua.c70 input_report_abs(dev, ABS_Y, data[1]); in zhenhua_process_packet()
71 input_report_abs(dev, ABS_X, data[2]); in zhenhua_process_packet()
72 input_report_abs(dev, ABS_RZ, data[3]); in zhenhua_process_packet()
73 input_report_abs(dev, ABS_Z, data[4]); in zhenhua_process_packet()
Da3d.c133input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))… in a3d_read()
134input_report_abs(dev, ABS_Y, ((signed char)((data[18] << 6) | (data[19] << 3) | (data[20]))… in a3d_read()
135input_report_abs(dev, ABS_RUDDER, ((signed char)((data[21] << 6) | (data[22] << 3) | (data[23]))… in a3d_read()
136input_report_abs(dev, ABS_THROTTLE, ((signed char)((data[24] << 6) | (data[25] << 3) | (data[26]))… in a3d_read()
138 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1)); in a3d_read()
139 input_report_abs(dev, ABS_HAT0Y, ((data[5] >> 1) & 1) - ((data[6] >> 2) & 1)); in a3d_read()
140 input_report_abs(dev, ABS_HAT1X, ((data[4] >> 1) & 1) - ( data[3] & 1)); in a3d_read()
141 input_report_abs(dev, ABS_HAT1Y, ((data[4] >> 2) & 1) - ( data[4] & 1)); in a3d_read()
Dpsxpad-spi.c232 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll()
233 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); in psxpad_spi_poll()
234 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); in psxpad_spi_poll()
235 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); in psxpad_spi_poll()
259 input_report_abs(input, ABS_X, 0x80); in psxpad_spi_poll()
260 input_report_abs(input, ABS_Y, 0x80); in psxpad_spi_poll()
261 input_report_abs(input, ABS_RX, 0x80); in psxpad_spi_poll()
262 input_report_abs(input, ABS_RY, 0x80); in psxpad_spi_poll()
Dgamecon.c230 input_report_abs(dev, ABS_X, x); in gc_n64_process_packet()
231 input_report_abs(dev, ABS_Y, -y); in gc_n64_process_packet()
233 input_report_abs(dev, ABS_HAT0X, in gc_n64_process_packet()
235 input_report_abs(dev, ABS_HAT0Y, in gc_n64_process_packet()
378 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet()
379 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet()
389 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet()
390 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet()
488 input_report_abs(dev, ABS_X, in gc_multi_process_packet()
490 input_report_abs(dev, ABS_Y, in gc_multi_process_packet()
[all …]
Dxpad.c747 input_report_abs(dev, ABS_X, in xpad_process_packet()
749 input_report_abs(dev, ABS_Y, in xpad_process_packet()
753 input_report_abs(dev, ABS_RX, in xpad_process_packet()
755 input_report_abs(dev, ABS_RY, in xpad_process_packet()
764 input_report_abs(dev, ABS_Z, data[10]); in xpad_process_packet()
765 input_report_abs(dev, ABS_RZ, data[11]); in xpad_process_packet()
776 input_report_abs(dev, ABS_HAT0X, in xpad_process_packet()
778 input_report_abs(dev, ABS_HAT0Y, in xpad_process_packet()
836 input_report_abs(dev, ABS_HAT0X, in xpad360_process_packet()
838 input_report_abs(dev, ABS_HAT0Y, in xpad360_process_packet()
[all …]
Dwalkera0701.c108 input_report_abs(w->input_dev, ABS_X, val2); in walkera0701_parse_frame()
109 input_report_abs(w->input_dev, ABS_Y, val1); in walkera0701_parse_frame()
110 input_report_abs(w->input_dev, ABS_Z, val6); in walkera0701_parse_frame()
111 input_report_abs(w->input_dev, ABS_THROTTLE, val3); in walkera0701_parse_frame()
112 input_report_abs(w->input_dev, ABS_RUDDER, val4); in walkera0701_parse_frame()
113 input_report_abs(w->input_dev, ABS_MISC, val7); in walkera0701_parse_frame()
/linux-6.6.21/sound/usb/caiaq/
Dinput.c194 input_report_abs(cdev->input_dev, axis, in snd_caiaq_input_report_abs()
241 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp()
247 input_report_abs(input_dev, ABS_HAT0X, i); in snd_caiaq_input_read_erp()
249 input_report_abs(input_dev, ABS_HAT0Y, i); in snd_caiaq_input_read_erp()
251 input_report_abs(input_dev, ABS_HAT1X, i); in snd_caiaq_input_read_erp()
253 input_report_abs(input_dev, ABS_HAT1Y, i); in snd_caiaq_input_read_erp()
255 input_report_abs(input_dev, ABS_HAT2X, i); in snd_caiaq_input_read_erp()
257 input_report_abs(input_dev, ABS_HAT2Y, i); in snd_caiaq_input_read_erp()
259 input_report_abs(input_dev, ABS_HAT3X, i); in snd_caiaq_input_read_erp()
261 input_report_abs(input_dev, ABS_HAT3Y, i); in snd_caiaq_input_read_erp()
[all …]
/linux-6.6.21/drivers/hid/
Dwacom_wac.c53 input_report_abs(input, ABS_MISC, 0); in wacom_force_proxout()
55 input_report_abs(input, ABS_PRESSURE, 0); in wacom_force_proxout()
137 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_penpartner_irq()
138 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
139 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq()
140 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq()
145 input_report_abs(input, ABS_MISC, 0); /* report tool id */ in wacom_penpartner_irq()
146 input_report_abs(input, ABS_PRESSURE, -1); in wacom_penpartner_irq()
153 input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */ in wacom_penpartner_irq()
154 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
[all …]
Dhid-udraw-ps3.c164 input_report_abs(udraw->joy_input_dev, ABS_X, x); in udraw_raw_event()
165 input_report_abs(udraw->joy_input_dev, ABS_Y, y); in udraw_raw_event()
220 input_report_abs(udraw->touch_input_dev, ABS_X, x); in udraw_raw_event()
221 input_report_abs(udraw->touch_input_dev, ABS_Y, y); in udraw_raw_event()
238 input_report_abs(udraw->pen_input_dev, ABS_PRESSURE, level); in udraw_raw_event()
239 input_report_abs(udraw->pen_input_dev, ABS_X, x); in udraw_raw_event()
240 input_report_abs(udraw->pen_input_dev, ABS_Y, y); in udraw_raw_event()
244 input_report_abs(udraw->pen_input_dev, ABS_PRESSURE, 0); in udraw_raw_event()
255 input_report_abs(udraw->accel_input_dev, ABS_X, x); in udraw_raw_event()
256 input_report_abs(udraw->accel_input_dev, ABS_Y, y); in udraw_raw_event()
[all …]
Dhid-steam.c1089 input_report_abs(input, ABS_HAT2Y, data[11]); in steam_do_input_event()
1090 input_report_abs(input, ABS_HAT2X, data[12]); in steam_do_input_event()
1105 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); in steam_do_input_event()
1106 input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); in steam_do_input_event()
1109 input_report_abs(input, ABS_X, 0); in steam_do_input_event()
1110 input_report_abs(input, ABS_Y, 0); in steam_do_input_event()
1114 input_report_abs(input, ABS_HAT0X, 0); in steam_do_input_event()
1115 input_report_abs(input, ABS_HAT0Y, 0); in steam_do_input_event()
1118 input_report_abs(input, ABS_RX, steam_le16(data + 20)); in steam_do_input_event()
1119 input_report_abs(input, ABS_RY, -steam_le16(data + 22)); in steam_do_input_event()
[all …]
Dhid-wiimote-modules.c453 input_report_abs(wdata->accel, ABS_RX, x - 0x200); in wiimod_accel_in_accel()
454 input_report_abs(wdata->accel, ABS_RY, y - 0x200); in wiimod_accel_in_accel()
455 input_report_abs(wdata->accel, ABS_RZ, z - 0x200); in wiimod_accel_in_accel()
600 input_report_abs(wdata->ir, xid, x); in wiimod_ir_in_ir()
601 input_report_abs(wdata->ir, yid, y); in wiimod_ir_in_ir()
878 input_report_abs(wdata->extension.input, ABS_HAT0X, bx); in wiimod_nunchuk_in_ext()
879 input_report_abs(wdata->extension.input, ABS_HAT0Y, by); in wiimod_nunchuk_in_ext()
881 input_report_abs(wdata->extension.input, ABS_RX, x); in wiimod_nunchuk_in_ext()
882 input_report_abs(wdata->extension.input, ABS_RY, y); in wiimod_nunchuk_in_ext()
883 input_report_abs(wdata->extension.input, ABS_RZ, z); in wiimod_nunchuk_in_ext()
[all …]
/linux-6.6.21/drivers/input/tablet/
Dhanwang.c177 input_report_abs(input_dev, ABS_X, in hanwang_parse_packet()
179 input_report_abs(input_dev, ABS_Y, in hanwang_parse_packet()
181 input_report_abs(input_dev, ABS_PRESSURE, p); in hanwang_parse_packet()
182 input_report_abs(input_dev, ABS_TILT_X, data[7] & 0x3f); in hanwang_parse_packet()
183 input_report_abs(input_dev, ABS_TILT_Y, data[8] & 0x7f); in hanwang_parse_packet()
195 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet()
208 input_report_abs(input_dev, ABS_WHEEL, data[1]); in hanwang_parse_packet()
219 input_report_abs(input_dev, ABS_RX, in hanwang_parse_packet()
221 input_report_abs(input_dev, ABS_RY, in hanwang_parse_packet()
237 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet()
/linux-6.6.21/drivers/input/touchscreen/
Delo.c97 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); in elo_process_data_10()
98 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]); in elo_process_data_10()
100 input_report_abs(dev, ABS_PRESSURE, in elo_process_data_10()
146 input_report_abs(dev, ABS_X, ((elo->data[0] & 0x3f) << 6) | (elo->data[1] & 0x3f)); in elo_process_data_6()
147 input_report_abs(dev, ABS_Y, ((elo->data[2] & 0x3f) << 6) | (elo->data[3] & 0x3f)); in elo_process_data_6()
166 input_report_abs(dev, ABS_PRESSURE, elo->data[5]); in elo_process_data_6()
189 input_report_abs(dev, ABS_X, elo->data[1]); in elo_process_data_3()
190 input_report_abs(dev, ABS_Y, elo->data[2]); in elo_process_data_3()
Dipaq-micro-ts.c32 input_report_abs(ts->input, ABS_X, in micro_ts_receive()
34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive()
39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive()
40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive()
Dsurface3_spi.c80 input_report_abs(ts_data->input_dev, in surface3_spi_report_touch()
83 input_report_abs(ts_data->input_dev, in surface3_spi_report_touch()
86 input_report_abs(ts_data->input_dev, in surface3_spi_report_touch()
89 input_report_abs(ts_data->input_dev, in surface3_spi_report_touch()
146 input_report_abs(dev, in surface3_spi_report_pen()
149 input_report_abs(dev, in surface3_spi_report_pen()
152 input_report_abs(dev, in surface3_spi_report_pen()
Dsis_i2c.c211 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in sis_ts_report_contact()
213 input_report_abs(input, ABS_MT_TOUCH_MINOR, in sis_ts_report_contact()
215 input_report_abs(input, ABS_MT_PRESSURE, pressure); in sis_ts_report_contact()
216 input_report_abs(input, ABS_MT_POSITION_X, x); in sis_ts_report_contact()
217 input_report_abs(input, ABS_MT_POSITION_Y, y); in sis_ts_report_contact()
/linux-6.6.21/drivers/macintosh/ams/
Dams-input.c40 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll()
41 input_report_abs(idev, ABS_Y, invert ? -y : y); in ams_idev_poll()
42 input_report_abs(idev, ABS_Z, z); in ams_idev_poll()
/linux-6.6.21/drivers/input/mouse/
Delantech.c360 input_report_abs(dev, ABS_X, in elantech_report_absolute_v1()
362 input_report_abs(dev, ABS_Y, in elantech_report_absolute_v1()
389 input_report_abs(dev, ABS_MT_POSITION_X, x); in elantech_set_slot()
390 input_report_abs(dev, ABS_MT_POSITION_Y, y); in elantech_set_slot()
472 input_report_abs(dev, ABS_X, x1); in elantech_report_absolute_v2()
473 input_report_abs(dev, ABS_Y, y1); in elantech_report_absolute_v2()
482 input_report_abs(dev, ABS_PRESSURE, pres); in elantech_report_absolute_v2()
483 input_report_abs(dev, ABS_TOOL_WIDTH, width); in elantech_report_absolute_v2()
617 input_report_abs(dev, ABS_X, x1); in elantech_report_absolute_v3()
618 input_report_abs(dev, ABS_Y, y1); in elantech_report_absolute_v3()
[all …]

12345678