Home
last modified time | relevance | path

Searched full:abs_y (Results 1 – 25 of 230) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-udraw-ps3.c165 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()
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A Dtwidjoy.c25 * corresponding ABS_X and ABS_Y events. This turns the Twiddler into a game
95 int button_bits, abs_x, abs_y; in twidjoy_process_packet() local
110 abs_y = ((data[3] & 0x01) << 7) | ((data[2] & 0x7F) >> 0); in twidjoy_process_packet()
111 if (data[3] & 0x02) abs_y -= 256; in twidjoy_process_packet()
114 input_report_abs(dev, ABS_Y, +abs_y); in twidjoy_process_packet()
195 input_set_abs_params(input_dev, ABS_Y, -50, 50, 4, 4); in twidjoy_connect()
H A Dgrip.c52 static int grip_abs_gpp[] = { ABS_X, ABS_Y, -1 };
53 static int grip_abs_bd[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
54 static int grip_abs_xt[] = { ABS_X, ABS_Y, ABS_BRAKE, ABS_GAS, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, …
55 static int grip_abs_dc[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
191 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1)); in grip_poll()
207 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
226 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
248 input_report_abs(dev, ABS_Y, (data[0] >> 8) & 0x3f); in grip_poll()
H A Ddb9.c103 static const short db9_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_RZ, ABS_Z, ABS_HAT0X, ABS_HAT0Y,…
369 input_report_abs(dev2, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
378 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
387 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
396 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
407 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
424 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
444 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
487 input_report_abs(dev, ABS_Y, (data & DB9_DOWN ? 0 : 1) - (data & DB9_UP ? 0 : 1)); in db9_timer()
H A Dsidewinder.c70 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
71 { ABS_X, ABS_Y },
72 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
73 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
74 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
300 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7)); 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()
343 input_report_abs(dev, ABS_Y, GB(19,10)); in sw_parse()
364 input_report_abs(dev, ABS_Y, GB(16,10)); in sw_parse()
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Dsentelic.c642 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 Dbyd.c39 * 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 Dpc110pad.c63 input_report_abs(pc110pad_dev, ABS_Y, in pc110pad_interrupt()
129 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init()
133 input_abs_set_max(pc110pad_dev, ABS_Y, 0x0ff); in pc110pad_init()
H A Dhgpk.c189 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 Dtouchkit_ps2.c49 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 Dlifebook.c176 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()
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dda223_cust.c583 input_set_abs_params(pInputDev, ABS_Y, sensor->ops->range[0], sensor->ops->range[1], 0, 0);
703 input_report_abs(sensor->input_dev, ABS_Y, -(axis.x/64));
707 input_report_abs(sensor->input_dev, ABS_Y, -(axis.x/64));
711 input_report_abs(sensor->input_dev, ABS_Y, (axis.y/64));
715 input_report_abs(sensor->input_dev, ABS_Y, (axis.y/64));
719 input_report_abs(sensor->input_dev, ABS_Y, (axis.y/64));
723 input_report_abs(sensor->input_dev, ABS_Y, (axis.x/64));
727 input_report_abs(sensor->input_dev, ABS_Y, -(axis.x/64));
731 input_report_abs(sensor->input_dev, ABS_Y, -(axis.x/64));
735 input_report_abs(sensor->input_dev, ABS_Y, (axis.x/64));
[all …]
H A Dsc7a20.c1465 input_set_abs_params(pInputDev, ABS_Y, sensor->ops->range[0], sensor->ops->range[1], 0, 0); in sensor_init()
1518 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1522 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1526 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1530 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1534 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1538 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1542 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1546 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1550 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
[all …]
H A Dsc7660.c1385 input_set_abs_params(pInputDev, ABS_Y, sensor->ops->range[0], sensor->ops->range[1], 0, 0); in sensor_init()
1437 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1441 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1445 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1449 input_report_abs(sensor->input_dev, ABS_Y,axis->x); in gsensor_report_value()
1453 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1457 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1461 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1465 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
1469 input_report_abs(sensor->input_dev, ABS_Y,-axis->y); in gsensor_report_value()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dipaq-micro-ts.c34 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 Delo.c98 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 Dwm97xx-core.c73 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");
444 abs_y[0] > (data.y & 0xfff) || in wm97xx_read_samples()
445 abs_y[1] < (data.y & 0xfff)) { in wm97xx_read_samples()
452 input_report_abs(wm->input_dev, ABS_Y, data.y & 0xfff); in wm97xx_read_samples()
601 input_set_abs_params(wm->input_dev, ABS_Y, abs_y[0], abs_y[1], in wm97xx_register_touch()
602 abs_y[2], 0); in wm97xx_register_touch()
H A Dwacom_w8001.c252 input_report_abs(dev, ABS_Y, coord->y); in report_pen_events()
273 input_report_abs(dev, ABS_Y, y); in report_single_touch()
448 input_set_abs_params(dev, ABS_Y, 0, coord.y, 0, 0); in w8001_setup_pen()
450 input_abs_set_res(dev, ABS_Y, W8001_PEN_RESOLUTION); in w8001_setup_pen()
499 input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); in w8001_setup_touch()
501 input_abs_set_res(dev, ABS_Y, touch.panel_res); in w8001_setup_touch()
H A Dhp680_ts_input.c60 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 Dcy8c_touchpad.c122 input_report_abs(ts->input, ABS_Y, pos.cur_y); in cy8ctouch_ts_worker()
173 __set_bit(ABS_Y, input_device->absbit); in cy8ctouch_init()
175 ABS_Y, 0, ts->cdef->max_y, 0, 0); in cy8ctouch_init()
/OK3568_Linux_fs/kernel/sound/usb/caiaq/
H A Dinput.c207 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 …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dmousedev.c148 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) },
/OK3568_Linux_fs/kernel/drivers/input/joystick/iforce/
H A Diforce-main.c30 { 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()
/OK3568_Linux_fs/kernel/drivers/input/tablet/
H A Dacecad.c77 input_report_abs(dev, ABS_Y, y); in usb_acecad_irq()
187 input_set_abs_params(input_dev, ABS_Y, 0, 3750, 4, 0); in usb_acecad_probe()
198 input_set_abs_params(input_dev, ABS_Y, 0, 2250, 4, 0); in usb_acecad_probe()
/OK3568_Linux_fs/kernel/drivers/macintosh/ams/
H A Dams-input.c41 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()

12345678910