Searched refs:tilt_y (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-waltop.c | 688 s8 tilt_y = (s8)data[9]; in waltop_raw_event() local 690 s8 sign_y = tilt_y >= 0 ? 1 : -1; in waltop_raw_event() 693 tilt_y *= sign_y; in waltop_raw_event() 708 if (tilt_y > ARRAY_SIZE(tilt_to_radians) - 1) in waltop_raw_event() 709 tilt_y = ARRAY_SIZE(tilt_to_radians) - 1; in waltop_raw_event() 712 data[9] = tilt_to_radians[tilt_y] * sign_y; in waltop_raw_event()
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__ArtistPro16Gen2.bpf.c | 242 __s8 tilt_y = (__s8) data[9]; in xppen_16_fix_angle_offset() local 246 compensate_coordinates_by_tilt(data, 4, tilt_y, &angle_offsets_vertical_14); in xppen_16_fix_angle_offset() 249 compensate_coordinates_by_tilt(data, 4, tilt_y, &angle_offsets_vertical_16); in xppen_16_fix_angle_offset()
|
/linux/drivers/input/touchscreen/ |
H A D | wacom_w8001.c | 68 u8 tilt_y; member 128 coord->tilt_y = data[8] & 0x7F; in parse_pen_data() 450 if (coord.tilt_x && coord.tilt_y) { in w8001_setup_pen() 452 input_set_abs_params(dev, ABS_TILT_Y, 0, coord.tilt_y, 0, 0); in w8001_setup_pen()
|