/linux-6.1.9/drivers/input/keyboard/ |
D | hil_kbd.c | 234 if (val < input_abs_get_min(dev, ABS_X + i)) in hil_dev_handle_ptr_events() 235 input_abs_set_min(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 236 if (val > input_abs_get_max(dev, ABS_X + i)) in hil_dev_handle_ptr_events() 237 input_abs_set_max(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 240 val = input_abs_get_max(dev, ABS_X + i) - val; in hil_dev_handle_ptr_events() 241 input_report_abs(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 381 input_set_abs_params(input_dev, ABS_X + i, in hil_dev_pointer_setup() 385 input_set_abs_params(input_dev, ABS_X + i, in hil_dev_pointer_setup() 390 int diff = input_abs_get_max(input_dev, ABS_X + i) / 10; in hil_dev_pointer_setup() 391 input_abs_set_min(input_dev, ABS_X + i, in hil_dev_pointer_setup() [all …]
|
/linux-6.1.9/drivers/hid/ |
D | hid-udraw-ps3.c | 164 input_report_abs(udraw->joy_input_dev, ABS_X, x); in udraw_raw_event() 220 input_report_abs(udraw->touch_input_dev, ABS_X, x); in udraw_raw_event() 239 input_report_abs(udraw->pen_input_dev, ABS_X, x); in udraw_raw_event() 255 input_report_abs(udraw->accel_input_dev, ABS_X, x); in udraw_raw_event() 313 input_set_abs_params(input_dev, ABS_X, 0, RES_X, 1, 0); in udraw_setup_touch() 314 input_abs_set_res(input_dev, ABS_X, RES_X / WIDTH); in udraw_setup_touch() 340 input_set_abs_params(input_dev, ABS_X, 0, RES_X, 1, 0); in udraw_setup_pen() 341 input_abs_set_res(input_dev, ABS_X, RES_X / WIDTH); in udraw_setup_pen() 369 input_set_abs_params(input_dev, ABS_X, -512, 512, 0, 0); in udraw_setup_accel() 399 input_set_abs_params(input_dev, ABS_X, -127, 127, 0, 0); in udraw_setup_joypad()
|
D | hid-letsketch.c | 111 input_set_abs_params(input, ABS_X, 0, 50800, 0, 0); in letsketch_setup_input_tablet() 114 input_abs_set_res(input, ABS_X, 240); in letsketch_setup_input_tablet() 145 input_set_abs_params(input, ABS_X, 0, 1, 0, 0); in letsketch_setup_input_tablet_pad() 183 input_report_abs(input, ABS_X, in letsketch_raw_event()
|
/linux-6.1.9/Documentation/devicetree/bindings/input/ |
D | gpio-decoder.txt | 11 - linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y). 12 Defaults to 0 (ABS_X). 21 linux,axis = <0>; /* ABS_X */
|
/linux-6.1.9/drivers/input/joystick/ |
D | grip.c | 49 static int grip_abs_gpp[] = { ABS_X, ABS_Y, -1 }; 50 static int grip_abs_bd[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 51 static int grip_abs_xt[] = { ABS_X, ABS_Y, ABS_BRAKE, ABS_GAS, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, … 52 static int grip_abs_dc[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 187 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_poll() 203 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 222 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 244 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
|
D | amijoy.c | 49 input_report_abs(amijoy_dev[i], ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1)); in amijoy_interrupt() 121 amijoy_dev[i]->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in amijoy_init() 125 input_set_abs_params(amijoy_dev[i], ABS_X + j, in amijoy_init()
|
D | sidewinder.c | 67 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 68 { ABS_X, ABS_Y }, 69 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 70 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 71 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 296 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); 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() 339 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse() 360 input_report_abs(dev, ABS_X, GB( 0,10)); in sw_parse()
|
D | db9.c | 100 static const short db9_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_RZ, ABS_Z, ABS_HAT0X, ABS_HAT0Y,… 365 input_report_abs(dev2, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 374 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 383 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 392 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 403 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 420 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 440 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 483 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer()
|
D | maplecontrol.c | 57 input_report_abs(dev, ABS_X, res[12]); in dc_pad_callback() 94 ABS_GAS, ABS_BRAKE, ABS_X, ABS_Y, ABS_RX, ABS_RY, -1, -1, in probe_maple_controller() 133 for (i = ABS_X; i <= ABS_BRAKE; i++) in probe_maple_controller()
|
D | gamecon.c | 230 input_report_abs(dev, ABS_X, x); in gc_n64_process_packet() 378 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 389 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 488 input_report_abs(dev, ABS_X, in gc_multi_process_packet() 534 ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_HAT0X, ABS_HAT0Y 652 input_report_abs(dev, ABS_X, in gc_psx_report_one() 675 input_report_abs(dev, ABS_X, in gc_psx_report_one() 836 input_set_abs_params(input_dev, ABS_X + i, -1, 1, 0, 0); in gc_setup_pad() 849 input_set_abs_params(input_dev, ABS_X + i, -127, 126, 0, 2); in gc_setup_pad()
|
D | qwiic-joystick.c | 56 input_report_abs(input, ABS_X, be16_to_cpu(data.x) >> 6); in qwiic_poll() 96 input_set_abs_params(priv->dev, ABS_X, 0, QWIIC_JSK_MAX_AXIS, in qwiic_probe()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | ipaq-micro-ts.c | 32 input_report_abs(ts->input, ABS_X, in micro_ts_receive() 39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive() 104 input_set_capability(ts->input, EV_ABS, ABS_X); in micro_ts_probe() 106 input_set_abs_params(ts->input, ABS_X, 0, 1023, 0, 0); in micro_ts_probe()
|
D | elo.c | 97 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); 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() 189 input_report_abs(dev, ABS_X, elo->data[1]); in elo_process_data_3() 269 input_set_abs_params(dev, ABS_X, 96, 4000, 0, 0); in elo_setup_10() 356 input_set_abs_params(input_dev, ABS_X, 96, 4000, 0, 0); in elo_connect() 361 input_set_abs_params(input_dev, ABS_X, 0, 255, 0, 0); in elo_connect()
|
D | hp680_ts_input.c | 59 input_report_abs(hp680_ts_dev, ABS_X, absx); in do_softint() 88 input_set_abs_params(hp680_ts_dev, ABS_X, in hp680_ts_init()
|
D | wacom_w8001.c | 251 input_report_abs(dev, ABS_X, coord->x); in report_pen_events() 272 input_report_abs(dev, ABS_X, x); in report_single_touch() 447 input_set_abs_params(dev, ABS_X, 0, coord.x, 0, 0); in w8001_setup_pen() 449 input_abs_set_res(dev, ABS_X, W8001_PEN_RESOLUTION); in w8001_setup_pen() 498 input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); in w8001_setup_touch() 500 input_abs_set_res(dev, ABS_X, touch.panel_res); in w8001_setup_touch()
|
D | jornada720_ts.c | 86 input_report_abs(input, ABS_X, x); in jornada720_ts_interrupt() 130 input_set_abs_params(input_dev, ABS_X, 270, 3900, 0, 0); in jornada720_ts_probe()
|
D | fujitsu_ts.c | 63 input_report_abs(dev, ABS_X, in fujitsu_interrupt() 123 input_set_abs_params(input_dev, ABS_X, 0, 4096, 0, 0); in fujitsu_connect()
|
/linux-6.1.9/sound/usb/caiaq/ |
D | input.c | 206 snd_caiaq_input_report_abs(cdev, ABS_X, buf, 2); in snd_caiaq_input_read_analog() 213 snd_caiaq_input_report_abs(cdev, ABS_X, buf, 0); in snd_caiaq_input_read_analog() 241 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp() 315 input_report_abs(cdev->input_dev, ABS_X, buf[5] & 0xf); in snd_caiaq_input_read_io() 610 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 615 input_set_abs_params(input, ABS_X, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 622 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 627 input_set_abs_params(input, ABS_X, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 634 input->absbit[0] = BIT_MASK(ABS_X); in snd_usb_caiaq_input_init() 638 input_set_abs_params(input, ABS_X, 0, 999, 0, 10); in snd_usb_caiaq_input_init() [all …]
|
/linux-6.1.9/drivers/input/mouse/ |
D | pc110pad.c | 58 input_report_abs(pc110pad_dev, ABS_X, in pc110pad_interrupt() 126 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init() 129 input_abs_set_max(pc110pad_dev, ABS_X, 0x1ff); in pc110pad_init()
|
D | touchkit_ps2.c | 48 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet)); in touchkit_ps2_process_byte() 77 input_set_abs_params(dev, ABS_X, 0, TOUCHKIT_MAX_XC, 0, 0); in touchkit_ps2_detect()
|
D | lifebook.c | 174 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 179 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 327 input_set_abs_params(dev1, ABS_X, 0, max_coord, 0, 0); in lifebook_init()
|
/linux-6.1.9/drivers/input/misc/ |
D | ideapad_slidebar.c | 164 input_report_abs(slidebar_input_dev, ABS_X, slidebar_pos_get()); in slidebar_i8042_filter() 231 input_set_capability(slidebar_input_dev, EV_ABS, ABS_X); in ideapad_probe() 232 input_set_abs_params(slidebar_input_dev, ABS_X, 0, 0xff, 0, 0); in ideapad_probe()
|
/linux-6.1.9/drivers/input/ |
D | mousedev.c | 131 case ABS_X: in mousedev_touchpad_event() 135 size = input_abs_get_max(dev, ABS_X) - in mousedev_touchpad_event() 136 input_abs_get_min(dev, ABS_X); in mousedev_touchpad_event() 152 size = input_abs_get_max(dev, ABS_X) - in mousedev_touchpad_event() 153 input_abs_get_min(dev, ABS_X); in mousedev_touchpad_event() 174 case ABS_X: in mousedev_abs_event() 175 min = input_abs_get_min(dev, ABS_X); in mousedev_abs_event() 176 max = input_abs_get_max(dev, ABS_X); in mousedev_abs_event() 1024 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, 1034 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | [all …]
|
/linux-6.1.9/drivers/input/joystick/iforce/ |
D | iforce-main.c | 30 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 33 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, -1 }; 36 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, 344 case ABS_X: in iforce_init_device()
|
/linux-6.1.9/drivers/macintosh/ams/ |
D | ams-input.c | 40 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll() 70 input_set_abs_params(input, ABS_X, -50, 50, 3, 0); in ams_input_enable()
|