/linux/drivers/hid/ |
H A D | hid-udraw-ps3.c | 165 input_report_abs(udraw->joy_input_dev, ABS_Y, y); in udraw_raw_event() 221 input_report_abs(udraw->touch_input_dev, ABS_Y, y); in udraw_raw_event() 240 input_report_abs(udraw->pen_input_dev, ABS_Y, y); in udraw_raw_event() 256 input_report_abs(udraw->accel_input_dev, ABS_Y, y); in udraw_raw_event() 315 input_set_abs_params(input_dev, ABS_Y, 0, RES_Y, 1, 0); in udraw_setup_touch() 316 input_abs_set_res(input_dev, ABS_Y, RES_Y / HEIGHT); in udraw_setup_touch() 342 input_set_abs_params(input_dev, ABS_Y, 0, RES_Y, 1, 0); in udraw_setup_pen() 343 input_abs_set_res(input_dev, ABS_Y, RES_Y / HEIGHT); in udraw_setup_pen() 370 input_set_abs_params(input_dev, ABS_Y, -512, 512, 0, 0); in udraw_setup_accel() 400 input_set_abs_params(input_dev, ABS_Y, -127, 127, 0, 0); in udraw_setup_joypad()
|
H A D | hid-letsketch.c | 112 input_set_abs_params(input, ABS_Y, 0, 31750, 0, 0); in letsketch_setup_input_tablet() 115 input_abs_set_res(input, ABS_Y, 225); in letsketch_setup_input_tablet() 146 input_set_abs_params(input, ABS_Y, 0, 1, 0, 0); in letsketch_setup_input_tablet_pad() 185 input_report_abs(input, ABS_Y, in letsketch_raw_event()
|
/linux/drivers/input/joystick/ |
H A D | twidjoy.c | 25 * corresponding ABS_X and ABS_Y events. This turns the Twiddler into a game 92 int button_bits, abs_x, abs_y; in twidjoy_process_packet() local 107 abs_y = ((data[3] & 0x01) << 7) | ((data[2] & 0x7F) >> 0); in twidjoy_process_packet() 108 if (data[3] & 0x02) abs_y -= 256; in twidjoy_process_packet() 111 input_report_abs(dev, ABS_Y, +abs_y); in twidjoy_process_packet() 192 input_set_abs_params(input_dev, ABS_Y, -50, 50, 4, 4); in twidjoy_connect()
|
H A 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 }; 188 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1)); in grip_poll() 204 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll() 223 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll() 245 input_report_abs(dev, ABS_Y, (data[0] >> 8) & 0x3f); in grip_poll()
|
H A 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,… 366 input_report_abs(dev2, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 375 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 384 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 393 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 404 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 421 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 441 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer() 484 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
|
H A 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 }, 297 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7)); 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() 340 input_report_abs(dev, ABS_Y, GB(19,10)); in sw_parse() 361 input_report_abs(dev, ABS_Y, GB(16,10)); in sw_parse()
|
H A D | qwiic-joystick.c | 57 input_report_abs(input, ABS_Y, be16_to_cpu(data.y) >> 6); in qwiic_poll() 98 input_set_abs_params(priv->dev, ABS_Y, 0, QWIIC_JSK_MAX_AXIS, in qwiic_probe()
|
/linux/drivers/input/mouse/ |
H A D | sentelic.c | 642 unsigned short abs_x = 0, abs_y = 0; in fsp_packet_debug() local 649 abs_y = GET_ABS_Y(packet); in fsp_packet_debug() 666 "abs_x: %d, abs_y: %d\n", in fsp_packet_debug() 668 packet[0], packet[1], packet[2], packet[3], abs_x, abs_y); in fsp_packet_debug() 699 unsigned short abs_x, abs_y, fgrs = 0; in fsp_process_byte() local 724 abs_y = GET_ABS_Y(packet); in fsp_process_byte() 747 fsp_set_slot(dev, 1, fgrs == 2, abs_x, abs_y); in fsp_process_byte() 760 fsp_set_slot(dev, 0, fgrs != 0, abs_x, abs_y); in fsp_process_byte() 776 if (abs_x != 0 && abs_y != 0) in fsp_process_byte() 779 fsp_set_slot(dev, 0, fgrs > 0, abs_x, abs_y); in fsp_process_byte() [all …]
|
H A D | byd.c | 39 * we pick ABS_X/ABS_Y dimensions which are multiples of 256 and in 229 s32 abs_y; member 245 input_report_abs(dev, ABS_Y, priv->abs_y); in byd_report_input() 270 priv->abs_y = BYD_PAD_HEIGHT / 2; in byd_clear_touch() 299 priv->abs_y = (255 - pkt[2]) * (BYD_PAD_HEIGHT / 256); in byd_process_byte() 312 priv->abs_y -= dy * BYD_DT; in byd_process_byte() 501 input_set_abs_params(dev, ABS_Y, 0, BYD_PAD_HEIGHT, 0, 0); in byd_init() 503 input_abs_set_res(dev, ABS_Y, BYD_PAD_RESOLUTION); in byd_init()
|
H A D | pc110pad.c | 60 input_report_abs(pc110pad_dev, ABS_Y, in pc110pad_interrupt() 126 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init() 130 input_abs_set_max(pc110pad_dev, ABS_Y, 0x0ff); in pc110pad_init()
|
H A D | hgpk.c | 189 priv->abs_x = priv->abs_y = -1; in hgpk_reset_hack_state() 390 if (x == priv->abs_x && y == priv->abs_y) { in hgpk_process_advanced_packet() 407 int y_diff = priv->abs_y - y; in hgpk_process_advanced_packet() 417 input_report_abs(idev, ABS_Y, y); in hgpk_process_advanced_packet() 419 priv->abs_y = y; in hgpk_process_advanced_packet() 576 input_set_abs_params(input, ABS_Y, 0, 290, 0, 0); in hgpk_setup_input_device() 580 input_abs_set_res(input, ABS_Y, 8); in hgpk_setup_input_device() 591 input_set_abs_params(input, ABS_Y, 5, 239, 0, 0); in hgpk_setup_input_device() 595 input_abs_set_res(input, ABS_Y, 8); in hgpk_setup_input_device()
|
H A D | touchkit_ps2.c | 49 input_report_abs(dev, ABS_Y, TOUCHKIT_GET_Y(packet)); in touchkit_ps2_process_byte() 78 input_set_abs_params(dev, ABS_Y, 0, TOUCHKIT_MAX_YC, 0, 0); in touchkit_ps2_detect()
|
H A D | lifebook.c | 176 input_report_abs(dev1, ABS_Y, in lifebook_process_byte() 181 input_report_abs(dev1, ABS_Y, in lifebook_process_byte() 328 input_set_abs_params(dev1, ABS_Y, 0, max_coord, 0, 0); in lifebook_init()
|
/linux/drivers/input/touchscreen/ |
H A D | ipaq-micro-ts.c | 34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive() 40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive() 105 input_set_capability(ts->input, EV_ABS, ABS_Y); in micro_ts_probe() 107 input_set_abs_params(ts->input, ABS_Y, 0, 1023, 0, 0); in micro_ts_probe()
|
H A D | elo.c | 98 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]); in elo_process_data_10() 147 input_report_abs(dev, ABS_Y, ((elo->data[2] & 0x3f) << 6) | (elo->data[3] & 0x3f)); in elo_process_data_6() 190 input_report_abs(dev, ABS_Y, elo->data[2]); in elo_process_data_3() 270 input_set_abs_params(dev, ABS_Y, 96, 4000, 0, 0); in elo_setup_10() 357 input_set_abs_params(input_dev, ABS_Y, 96, 4000, 0, 0); in elo_connect() 362 input_set_abs_params(input_dev, ABS_Y, 0, 255, 0, 0); in elo_connect()
|
H A D | wm97xx-core.c | 73 static int abs_y[3] = {200, 4000, 40}; variable 74 module_param_array(abs_y, int, NULL, 0); 75 MODULE_PARM_DESC(abs_y, "Touchscreen absolute Y min, max, fuzz"); 421 abs_y[0] > (data.y & 0xfff) || in wm97xx_read_samples() 422 abs_y[1] < (data.y & 0xfff)) { in wm97xx_read_samples() 429 input_report_abs(wm->input_dev, ABS_Y, data.y & 0xfff); in wm97xx_read_samples() 573 input_set_abs_params(wm->input_dev, ABS_Y, abs_y[0], abs_y[1], in wm97xx_register_touch() 574 abs_y[2], 0); in wm97xx_register_touch()
|
H A D | hp680_ts_input.c | 60 input_report_abs(hp680_ts_dev, ABS_Y, absy); in do_softint() 90 input_set_abs_params(hp680_ts_dev, ABS_Y, in hp680_ts_init()
|
H A D | wacom_w8001.c | 252 input_report_abs(dev, ABS_Y, coord->y); in report_pen_events() 273 input_report_abs(dev, ABS_Y, y); in report_single_touch() 446 input_set_abs_params(dev, ABS_Y, 0, coord.y, 0, 0); in w8001_setup_pen() 448 input_abs_set_res(dev, ABS_Y, W8001_PEN_RESOLUTION); in w8001_setup_pen() 497 input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); in w8001_setup_touch() 499 input_abs_set_res(dev, ABS_Y, touch.panel_res); in w8001_setup_touch()
|
H A D | da9034-ts.c | 129 input_report_abs(touch->input_dev, ABS_Y, y); in report_pen_down() 337 __set_bit(ABS_Y, input_dev->absbit); in da9034_touch_probe() 339 input_set_abs_params(input_dev, ABS_Y, 0, 1023, 0, 0); in da9034_touch_probe()
|
/linux/sound/usb/caiaq/ |
H A D | input.c | 207 snd_caiaq_input_report_abs(cdev, ABS_Y, buf, 0); in snd_caiaq_input_read_analog() 214 snd_caiaq_input_report_abs(cdev, ABS_Y, buf, 1); in snd_caiaq_input_read_analog() 316 input_report_abs(cdev->input_dev, ABS_Y, buf[5] >> 4); in snd_caiaq_input_read_io() 610 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 616 input_set_abs_params(input, ABS_Y, 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() 628 input_set_abs_params(input, ABS_Y, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 648 BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 663 input_set_abs_params(input, ABS_Y, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 674 BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base.py | 34 libevdev.EV_ABS.ABS_Y, 90 libevdev.EV_ABS.ABS_Y, 100 libevdev.EV_ABS.ABS_Y, 110 libevdev.EV_ABS.ABS_Y, 124 libevdev.EV_ABS.ABS_Y,
|
/linux/drivers/macintosh/ams/ |
H A D | ams-input.c | 41 input_report_abs(idev, ABS_Y, invert ? -y : y); in ams_idev_poll() 71 input_set_abs_params(input, ABS_Y, -50, 50, 3, 0); in ams_input_enable()
|
/linux/drivers/input/tablet/ |
H A D | acecad.c | 74 input_report_abs(dev, ABS_Y, y); in usb_acecad_irq() 184 input_set_abs_params(input_dev, ABS_Y, 0, 3750, 4, 0); in usb_acecad_probe() 195 input_set_abs_params(input_dev, ABS_Y, 0, 2250, 4, 0); in usb_acecad_probe()
|
/linux/drivers/input/joystick/iforce/ |
H A 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, 345 case ABS_Y: in iforce_init_device()
|
/linux/drivers/input/ |
H A D | mousedev.c | 148 case ABS_Y: in mousedev_touchpad_event() 151 /* use X size for ABS_Y to keep the same scale */ in mousedev_touchpad_event() 188 case ABS_Y: in mousedev_abs_event() 189 min = input_abs_get_min(dev, ABS_Y); in mousedev_abs_event() 190 max = input_abs_get_max(dev, ABS_Y); in mousedev_abs_event() 1024 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, 1034 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | 1044 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) },
|