Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_pinnacle.c198 uint16_t abs_y; member
576 sample->abs_y = ((rx[2] & 0xF0) << 4) | rx[1]; in pinnacle_decode_sample()
583 return (sample->abs_x == 0 && sample->abs_y == 0 && sample->abs_z == 0); in pinnacle_is_idle_sample()
596 if (sample->abs_y < config->active_range_y_min) { in pinnacle_clip_sample()
597 sample->abs_y = config->active_range_y_min; in pinnacle_clip_sample()
599 if (sample->abs_y > config->active_range_y_max) { in pinnacle_clip_sample()
600 sample->abs_y = config->active_range_y_max; in pinnacle_clip_sample()
613 sample->abs_y = (uint16_t)((uint32_t)(sample->abs_y - config->active_range_y_min) * in pinnacle_scale_sample()
677 input_report_abs(dev, INPUT_ABS_Y, sample->abs_y, false, K_FOREVER); in pinnacle_handle_interrupt()