/linux/drivers/input/joystick/ |
A D | grip.c | 206 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 208 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f); in grip_poll() 225 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 227 input_report_abs(dev, ABS_BRAKE, (data[1] >> 2) & 0x3f); in grip_poll() 228 input_report_abs(dev, ABS_GAS, (data[1] >> 8) & 0x3f); in grip_poll() 229 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f); in grip_poll() 247 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 248 input_report_abs(dev, ABS_Y, (data[0] >> 8) & 0x3f); in grip_poll() 249 input_report_abs(dev, ABS_RX, (data[1] >> 2) & 0x3f); in grip_poll() 250 input_report_abs(dev, ABS_RY, (data[1] >> 8) & 0x3f); in grip_poll() [all …]
|
A 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() 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() 292 input_report_abs(dev, db9_abs[4], data[j + 5]); in db9_saturn_report() 297 input_report_abs(dev, db9_abs[6], data[j + 7]); in db9_saturn_report() 298 input_report_abs(dev, db9_abs[7], data[j + 8]); in db9_saturn_report() 315 input_report_abs(dev, db9_abs[0], 0); in db9_saturn_report() [all …]
|
A 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()
|
A D | sidewinder.c | 304 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); 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() 344 input_report_abs(dev, ABS_RZ, GB(36, 6)); in sw_parse() 345 input_report_abs(dev, ABS_THROTTLE, GB(29, 7)); in sw_parse() 363 input_report_abs(dev, ABS_X, GB( 0,10)); in sw_parse() 364 input_report_abs(dev, ABS_Y, GB(16,10)); in sw_parse() 365 input_report_abs(dev, ABS_THROTTLE, GB(32, 6)); in sw_parse() 388 input_report_abs(dev, ABS_RX, GB( 0,10)); in sw_parse() 389 input_report_abs(dev, ABS_RUDDER, GB(10, 6)); in sw_parse() [all …]
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | xpad.c | 635 input_report_abs(dev, ABS_X, in xpad_process_packet() 637 input_report_abs(dev, ABS_Y, in xpad_process_packet() 641 input_report_abs(dev, ABS_RX, in xpad_process_packet() 643 input_report_abs(dev, ABS_RY, in xpad_process_packet() 748 input_report_abs(dev, ABS_X, in xpad360_process_packet() 750 input_report_abs(dev, ABS_Y, in xpad360_process_packet() 754 input_report_abs(dev, ABS_RX, in xpad360_process_packet() 756 input_report_abs(dev, ABS_RY, in xpad360_process_packet() 904 input_report_abs(dev, ABS_X, in xpadone_process_packet() 906 input_report_abs(dev, ABS_Y, in xpadone_process_packet() [all …]
|
A 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() 491 input_report_abs(dev, ABS_X, in gc_multi_process_packet() 493 input_report_abs(dev, ABS_Y, in gc_multi_process_packet() 652 input_report_abs(dev, gc_psx_abs[i + 2], in gc_psx_report_one() 655 input_report_abs(dev, ABS_X, in gc_psx_report_one() 657 input_report_abs(dev, ABS_Y, in gc_psx_report_one() 678 input_report_abs(dev, ABS_X, in gc_psx_report_one() [all …]
|
A 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()
|
A 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()
|
/linux/drivers/input/joystick/iforce/ |
A D | iforce-packets.c | 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() 179 input_report_abs(dev, ABS_WHEEL, in iforce_process_packet() 181 input_report_abs(dev, ABS_GAS, 255 - data[2]); in iforce_process_packet() [all …]
|
/linux/sound/usb/caiaq/ |
A 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 …]
|
/linux/drivers/hid/ |
A D | wacom_wac.c | 164 input_report_abs(input, ABS_MISC, 0); in wacom_pl_irq() 268 input_report_abs(input, ABS_MISC, in wacom_dtus_irq() 740 input_report_abs(input, ABS_X, 0); in wacom_exit_report() 741 input_report_abs(input, ABS_Y, 0); in wacom_exit_report() 752 input_report_abs(input, ABS_RZ, 0); in wacom_exit_report() 760 input_report_abs(input, ABS_Z, 0); in wacom_exit_report() 897 input_report_abs(input, ABS_X, x); in wacom_intuos_general() 898 input_report_abs(input, ABS_Y, y); in wacom_intuos_general() 923 input_report_abs(input, ABS_WHEEL, in wacom_intuos_general() 1009 input_report_abs(input, ABS_MISC, in wacom_intuos_general() [all …]
|
A 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 …]
|
A 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() 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() 2541 input_report_abs(wdata->mp, ABS_RX, x); in wiimod_mp_in_mp() 2542 input_report_abs(wdata->mp, ABS_RY, y); in wiimod_mp_in_mp() [all …]
|
/linux/drivers/input/tablet/ |
A 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()
|
/linux/drivers/input/touchscreen/ |
A 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()
|
A 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() 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()
|
A 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()
|
A 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()
|
A D | stmfts.c | 185 input_report_abs(sdata->input, ABS_MT_POSITION_X, x); in stmfts_report_contact_event() 186 input_report_abs(sdata->input, ABS_MT_POSITION_Y, y); in stmfts_report_contact_event() 187 input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, maj); in stmfts_report_contact_event() 188 input_report_abs(sdata->input, ABS_MT_TOUCH_MINOR, min); in stmfts_report_contact_event() 189 input_report_abs(sdata->input, ABS_MT_PRESSURE, area); in stmfts_report_contact_event() 190 input_report_abs(sdata->input, ABS_MT_ORIENTATION, orientation); in stmfts_report_contact_event() 213 input_report_abs(sdata->input, ABS_X, x); in stmfts_report_hover_event() 214 input_report_abs(sdata->input, ABS_Y, y); in stmfts_report_hover_event() 215 input_report_abs(sdata->input, ABS_DISTANCE, z); in stmfts_report_hover_event()
|
/linux/drivers/input/mouse/ |
A 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() 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() 631 input_report_abs(dev, ABS_PRESSURE, pres); in elantech_report_absolute_v3() [all …]
|
/linux/drivers/macintosh/ams/ |
A 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()
|