Searched refs:tilt_x (Results 1 – 2 of 2) sorted by relevance
687 s8 tilt_x = (s8)data[8]; in waltop_raw_event() local689 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()
67 u8 tilt_x; member127 coord->tilt_x = data[7] & 0x7F; in parse_pen_data()452 if (coord.tilt_x && coord.tilt_y) { in w8001_setup_pen()453 input_set_abs_params(dev, ABS_TILT_X, 0, coord.tilt_x, 0, 0); in w8001_setup_pen()