Home
last modified time | relevance | path

Searched refs:ABS_X (Results 51 – 75 of 195) sorted by relevance

12345678

/openbmc/linux/drivers/input/joystick/
H A Dtwidjoy.c110 input_report_abs(dev, ABS_X, -abs_x); in twidjoy_process_packet()
191 input_set_abs_params(input_dev, ABS_X, -50, 50, 4, 4); in twidjoy_connect()
H A Dwarrior.c60 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5))); in warrior_process_packet()
148 input_set_abs_params(input_dev, ABS_X, -64, 64, 0, 8); in warrior_connect()
H A Dpsxpad-spi.c232 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll()
259 input_report_abs(input, ABS_X, 0x80); in psxpad_spi_poll()
316 input_set_abs_params(idev, ABS_X, 0, 255, 0, 0); in psxpad_spi_probe()
H A Da3d.c133 …input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))… in a3d_read()
303 int axes[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER }; in a3d_connect()
310 input_dev->absbit[0] |= BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in a3d_connect()
H A Dadi.c59 static char adi_wmgpe_abs[] = { ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y };
60 static char adi_wmi_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1…
61 static char adi_wmed3d_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RZ, ABS_HAT0X, ABS_HAT0Y };
62 static char adi_cm2_abs[] = { ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ };
H A Dcobra.c110 input_report_abs(dev, ABS_X, ((data[i] >> 4) & 1) - ((data[i] >> 3) & 1)); in cobra_poll()
200 input_set_abs_params(input_dev, ABS_X, -1, 1, 0, 0); in cobra_connect()
H A Dspaceball.c41 static int spaceball_axes[] = { ABS_X, ABS_Z, ABS_Y, ABS_RX, ABS_RZ, ABS_RY };
240 input_set_abs_params(input_dev, ABS_X + i, -8000, 8000, 8, 40); in spaceball_connect()
/openbmc/linux/drivers/input/touchscreen/
H A D88pm860x-ts.c74 input_report_abs(touch->idev, ABS_X, x); in pm860x_touch_handler()
271 __set_bit(ABS_X, touch->idev->absbit); in pm860x_touch_probe()
278 input_set_abs_params(touch->idev, ABS_X, 0, 1 << ACCURATE_BIT, 0, 0); in pm860x_touch_probe()
H A Dts4800-ts.c97 input_report_abs(input_dev, ABS_X, last_x); in ts4800_ts_poll()
184 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in ts4800_ts_probe()
H A Dmigor_ts.c74 input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ in migor_ts_isr()
141 input_set_abs_params(input, ABS_X, 95, 955, 0, 0); in migor_ts_probe()
H A Dsurface3_spi.c147 ABS_X, in surface3_spi_report_pen()
293 input_set_abs_params(input, ABS_X, 0, 9600, 0, 0); in surface3_spi_create_pen_input()
294 input_abs_set_res(input, ABS_X, 40); in surface3_spi_create_pen_input()
H A Dcy8ctmg110_ts.c126 input_report_abs(input, ABS_X, in cy8ctmg110_touch_pos()
200 input_set_abs_params(input_dev, ABS_X, in cy8ctmg110_probe()
H A Dpcap_ts.c63 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x); in pcap_ts_read_xy()
173 input_set_abs_params(input_dev, ABS_X, X_AXIS_MIN, X_AXIS_MAX, 0, 0); in pcap_ts_probe()
H A Dmc13783_ts.c100 input_report_abs(idev, ABS_X, x1); in mc13783_ts_report_sample()
195 input_set_abs_params(idev, ABS_X, 0, 0xfff, 0, 0); in mc13783_ts_probe()
H A Dmcs5000_ts.c132 input_report_abs(data->input_dev, ABS_X, x); in mcs5000_ts_interrupt()
215 input_set_abs_params(input_dev, ABS_X, 0, MCS5000_MAX_XC, 0, 0); in mcs5000_ts_probe()
H A Dwacom_i2c.c138 input_report_abs(input, ABS_X, x); in wacom_i2c_irq()
209 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
H A Dtps6507x-ts.c187 input_report_abs(input_dev, ABS_X, tsc->tc.x); in tps6507x_ts_poll()
248 input_set_abs_params(input_dev, ABS_X, 0, MAX_10BIT, 0, 0); in tps6507x_ts_probe()
/openbmc/qemu/hw/input/
H A Dvirtio-input-hid.c43 [INPUT_AXIS_X] = ABS_X,
445 (1 << ABS_X) | (1 << ABS_Y),
449 .subsel = ABS_X,
482 (1 << ABS_X) | (1 << ABS_Y),
494 .subsel = ABS_X,
/openbmc/linux/drivers/input/tablet/
H A Dkbtab.c61 input_report_abs(dev, ABS_X, get_unaligned_le16(&data[1])); in kbtab_irq()
158 input_set_abs_params(input_dev, ABS_X, 0, 0x2000, 4, 0); in kbtab_probe()
H A Dpegasus_notetaker.c163 input_report_abs(dev, ABS_X, (s16)x); in pegasus_parse_packet()
363 __set_bit(ABS_X, input_dev->absbit); in pegasus_probe()
373 input_set_abs_params(input_dev, ABS_X, -1500, 1500, 8, 0); in pegasus_probe()
H A Dhanwang.c90 ABS_X, ABS_Y, ABS_TILT_X, ABS_TILT_Y, ABS_WHEEL,
177 input_report_abs(input_dev, ABS_X, in hanwang_parse_packet()
379 input_set_abs_params(input_dev, ABS_X, in hanwang_probe()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py647 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
656 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110),
704 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
792 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
806 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110),
H A Dtest_tablet.py231 assert evdev.value[libevdev.EV_ABS.ABS_X] == self.x
590 assert evdev.value[libevdev.EV_ABS.ABS_X] == 50
602 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 51) in events
635 assert evdev.value[libevdev.EV_ABS.ABS_X] == 50
652 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 51) in events
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dadc-joystick.yaml75 For an ABS_X axis this will be the left-most and right-most
115 linux,code = <ABS_X>;
/openbmc/linux/drivers/input/mouse/
H A Dhgpk.c416 input_report_abs(idev, ABS_X, x); in hgpk_process_advanced_packet()
575 input_set_abs_params(input, ABS_X, 0, 399, 0, 0); in hgpk_setup_input_device()
579 input_abs_set_res(input, ABS_X, 8); in hgpk_setup_input_device()
590 input_set_abs_params(input, ABS_X, 0, 999, 0, 0); in hgpk_setup_input_device()
594 input_abs_set_res(input, ABS_X, 6); in hgpk_setup_input_device()

12345678