Home
last modified time | relevance | path

Searched refs:tilt_x (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hid/
H A Dhid-waltop.c687 s8 tilt_x = (s8)data[8]; in waltop_raw_event() local
689 s8 sign_x = tilt_x >= 0 ? 1 : -1; in waltop_raw_event()
692 tilt_x *= sign_x; in waltop_raw_event()
706 if (tilt_x > ARRAY_SIZE(tilt_to_radians) - 1) in waltop_raw_event()
707 tilt_x = ARRAY_SIZE(tilt_to_radians) - 1; in waltop_raw_event()
711 data[8] = tilt_to_radians[tilt_x] * sign_x; in waltop_raw_event()
/linux/drivers/hid/bpf/progs/
H A DXPPen__ArtistPro16Gen2.bpf.c241 __s8 tilt_x = (__s8) data[8]; in xppen_16_fix_angle_offset() local
245 compensate_coordinates_by_tilt(data, 2, tilt_x, &angle_offsets_horizontal_14); in xppen_16_fix_angle_offset()
248 compensate_coordinates_by_tilt(data, 2, tilt_x, &angle_offsets_horizontal_16); in xppen_16_fix_angle_offset()
/linux/drivers/input/touchscreen/
H A Dwacom_w8001.c67 u8 tilt_x; member
127 coord->tilt_x = data[7] & 0x7F; in parse_pen_data()
450 if (coord.tilt_x && coord.tilt_y) { in w8001_setup_pen()
451 input_set_abs_params(dev, ABS_TILT_X, 0, coord.tilt_x, 0, 0); in w8001_setup_pen()