/kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
D | iforce-packets.c | 124 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 …]
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
D | grip.c | 190 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_poll() 191 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1)); in grip_poll() 206 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 207 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll() 208 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f); in grip_poll() 210 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1)); in grip_poll() 211 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll() 225 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 226 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll() 227 input_report_abs(dev, ABS_BRAKE, (data[1] >> 2) & 0x3f); in grip_poll() [all …]
|
D | db9.c | 269 input_report_abs(dev, db9_abs[5], data[j + 6]); in db9_saturn_report() 272 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report() 273 input_report_abs(dev, db9_abs[4], data[j + 5]); in db9_saturn_report() 276 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report() 280 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report() 281 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report() 286 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report() 287 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report() 290 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report() 291 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report() [all …]
|
D | maplecontrol.c | 37 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()
|
D | sidewinder.c | 299 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); in sw_parse() 300 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7)); in sw_parse() 301 input_report_abs(dev, ABS_RZ, (GB(35,2) << 7) | GB(40,7)); in sw_parse() 302 input_report_abs(dev, ABS_THROTTLE, (GB(32,3) << 7) | GB(48,7)); in sw_parse() 304 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse() 305 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse() 324 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse() 325 input_report_abs(sw->dev[i], ABS_Y, GB(i*15+0,1) - GB(i*15+1,1)); in sw_parse() 342 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse() 343 input_report_abs(dev, ABS_Y, GB(19,10)); in sw_parse() [all …]
|
D | pxrc.c | 61 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()
|
D | warrior.c | 63 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5))); in warrior_process_packet() 64 input_report_abs(dev, ABS_Y, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet() 67 input_report_abs(dev, ABS_THROTTLE, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet() 68 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0)); in warrior_process_packet() 69 input_report_abs(dev, ABS_HAT0Y, (data[3] & 8 ? 1 : 0) - (data[3] & 4 ? 1 : 0)); in warrior_process_packet()
|
D | zhenhua.c | 73 input_report_abs(dev, ABS_Y, data[1]); in zhenhua_process_packet() 74 input_report_abs(dev, ABS_X, data[2]); in zhenhua_process_packet() 75 input_report_abs(dev, ABS_RZ, data[3]); in zhenhua_process_packet() 76 input_report_abs(dev, ABS_Z, data[4]); in zhenhua_process_packet()
|
D | a3d.c | 136 …input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))… in a3d_read() 137 …input_report_abs(dev, ABS_Y, ((signed char)((data[18] << 6) | (data[19] << 3) | (data[20]))… in a3d_read() 138 …input_report_abs(dev, ABS_RUDDER, ((signed char)((data[21] << 6) | (data[22] << 3) | (data[23]))… in a3d_read() 139 …input_report_abs(dev, ABS_THROTTLE, ((signed char)((data[24] << 6) | (data[25] << 3) | (data[26]))… in a3d_read() 141 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1)); in a3d_read() 142 input_report_abs(dev, ABS_HAT0Y, ((data[5] >> 1) & 1) - ((data[6] >> 2) & 1)); in a3d_read() 143 input_report_abs(dev, ABS_HAT1X, ((data[4] >> 1) & 1) - ( data[3] & 1)); in a3d_read() 144 input_report_abs(dev, ABS_HAT1Y, ((data[4] >> 2) & 1) - ( data[4] & 1)); in a3d_read()
|
D | psxpad-spi.c | 229 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll() 230 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); in psxpad_spi_poll() 231 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); in psxpad_spi_poll() 232 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); in psxpad_spi_poll() 256 input_report_abs(input, ABS_X, 0x80); in psxpad_spi_poll() 257 input_report_abs(input, ABS_Y, 0x80); in psxpad_spi_poll() 258 input_report_abs(input, ABS_RX, 0x80); in psxpad_spi_poll() 259 input_report_abs(input, ABS_RY, 0x80); in psxpad_spi_poll()
|
D | xpad.c | 631 input_report_abs(dev, ABS_X, in xpad_process_packet() 633 input_report_abs(dev, ABS_Y, in xpad_process_packet() 637 input_report_abs(dev, ABS_RX, in xpad_process_packet() 639 input_report_abs(dev, ABS_RY, in xpad_process_packet() 648 input_report_abs(dev, ABS_Z, data[10]); in xpad_process_packet() 649 input_report_abs(dev, ABS_RZ, data[11]); in xpad_process_packet() 660 input_report_abs(dev, ABS_HAT0X, in xpad_process_packet() 662 input_report_abs(dev, ABS_HAT0Y, in xpad_process_packet() 719 input_report_abs(dev, ABS_HAT0X, in xpad360_process_packet() 721 input_report_abs(dev, ABS_HAT0Y, in xpad360_process_packet() [all …]
|
D | gamecon.c | 233 input_report_abs(dev, ABS_X, x); in gc_n64_process_packet() 234 input_report_abs(dev, ABS_Y, -y); in gc_n64_process_packet() 236 input_report_abs(dev, ABS_HAT0X, in gc_n64_process_packet() 238 input_report_abs(dev, ABS_HAT0Y, in gc_n64_process_packet() 381 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 382 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet() 392 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 393 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet() 491 input_report_abs(dev, ABS_X, in gc_multi_process_packet() 493 input_report_abs(dev, ABS_Y, in gc_multi_process_packet() [all …]
|
D | walkera0701.c | 108 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()
|
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
D | input.c | 194 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 …]
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | wacom_wac.c | 99 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_penpartner_irq() 100 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq() 101 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq() 102 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq() 107 input_report_abs(input, ABS_MISC, 0); /* report tool id */ in wacom_penpartner_irq() 108 input_report_abs(input, ABS_PRESSURE, -1); in wacom_penpartner_irq() 115 input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */ in wacom_penpartner_irq() 116 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq() 117 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq() 118 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq() [all …]
|
D | hid-udraw-ps3.c | 164 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 …]
|
D | hid-wiimote-modules.c | 453 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 …]
|
/kernel/linux/linux-5.10/drivers/input/tablet/ |
D | hanwang.c | 180 input_report_abs(input_dev, ABS_X, in hanwang_parse_packet() 182 input_report_abs(input_dev, ABS_Y, in hanwang_parse_packet() 184 input_report_abs(input_dev, ABS_PRESSURE, p); in hanwang_parse_packet() 185 input_report_abs(input_dev, ABS_TILT_X, data[7] & 0x3f); in hanwang_parse_packet() 186 input_report_abs(input_dev, ABS_TILT_Y, data[8] & 0x7f); in hanwang_parse_packet() 198 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet() 211 input_report_abs(input_dev, ABS_WHEEL, data[1]); in hanwang_parse_packet() 222 input_report_abs(input_dev, ABS_RX, in hanwang_parse_packet() 224 input_report_abs(input_dev, ABS_RY, in hanwang_parse_packet() 240 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet()
|
D | gtco.c | 674 input_report_abs(inputdev, ABS_PRESSURE, in gtco_urb_callback() 683 input_report_abs(inputdev, ABS_TILT_X, in gtco_urb_callback() 686 input_report_abs(inputdev, ABS_TILT_Y, in gtco_urb_callback() 703 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback() 706 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback() 710 input_report_abs(inputdev, ABS_DISTANCE, val); in gtco_urb_callback() 762 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback() 771 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback() 781 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback() 784 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback() [all …]
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | elo.c | 97 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()
|
D | ipaq-micro-ts.c | 32 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()
|
D | surface3_spi.c | 80 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() 148 input_report_abs(dev, in surface3_spi_report_pen() 151 input_report_abs(dev, in surface3_spi_report_pen() 154 input_report_abs(dev, in surface3_spi_report_pen()
|
D | sis_i2c.c | 211 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()
|
/kernel/linux/linux-5.10/drivers/macintosh/ams/ |
D | ams-input.c | 40 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()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
D | elantech.c | 360 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 …]
|