Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_pinnacle.c197 uint16_t abs_x; member
575 sample->abs_x = ((rx[2] & 0x0F) << 8) | rx[0]; in pinnacle_decode_sample()
583 return (sample->abs_x == 0 && sample->abs_y == 0 && sample->abs_z == 0); in pinnacle_is_idle_sample()
590 if (sample->abs_x < config->active_range_x_min) { in pinnacle_clip_sample()
591 sample->abs_x = config->active_range_x_min; in pinnacle_clip_sample()
593 if (sample->abs_x > config->active_range_x_max) { in pinnacle_clip_sample()
594 sample->abs_x = config->active_range_x_max; in pinnacle_clip_sample()
611 sample->abs_x = (uint16_t)((uint32_t)(sample->abs_x - config->active_range_x_min) * in pinnacle_scale_sample()
676 input_report_abs(dev, INPUT_ABS_X, sample->abs_x, false, K_FOREVER); in pinnacle_handle_interrupt()