Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c589 struct input_absinfo abs_info; in SDL_EVDEV_init_touchscreen() local
610 ret = ioctl(item->fd, EVIOCGABS(ABS_MT_POSITION_X), &abs_info); in SDL_EVDEV_init_touchscreen()
616 item->touchscreen_data->min_x = abs_info.minimum; in SDL_EVDEV_init_touchscreen()
617 item->touchscreen_data->max_x = abs_info.maximum; in SDL_EVDEV_init_touchscreen()
618 item->touchscreen_data->range_x = abs_info.maximum - abs_info.minimum; in SDL_EVDEV_init_touchscreen()
620 ret = ioctl(item->fd, EVIOCGABS(ABS_MT_POSITION_Y), &abs_info); in SDL_EVDEV_init_touchscreen()
626 item->touchscreen_data->min_y = abs_info.minimum; in SDL_EVDEV_init_touchscreen()
627 item->touchscreen_data->max_y = abs_info.maximum; in SDL_EVDEV_init_touchscreen()
628 item->touchscreen_data->range_y = abs_info.maximum - abs_info.minimum; in SDL_EVDEV_init_touchscreen()
630 ret = ioctl(item->fd, EVIOCGABS(ABS_MT_SLOT), &abs_info); in SDL_EVDEV_init_touchscreen()
[all …]
/third_party/libevdev/libevdev/
Dlibevdev.c153 struct input_absinfo* abs_info) in fix_invalid_absinfo() argument
161 abs_info->maximum == abs_info->minimum) { in fix_invalid_absinfo()
162 abs_info->minimum = -1; in fix_invalid_absinfo()
163 abs_info->maximum = 0xFFFF; in fix_invalid_absinfo()
357 const struct input_absinfo *abs_info; in init_slots() local
374 abs_info = libevdev_get_abs_info(dev, ABS_MT_SLOT); in init_slots()
377 dev->num_slots = abs_info->maximum + 1; in init_slots()
383 dev->current_slot = abs_info->value; in init_slots()
526 struct input_absinfo abs_info; in libevdev_set_fd() local
527 rc = ioctl(fd, EVIOCGABS(i), &abs_info); in libevdev_set_fd()
[all …]
Dlibevdev-int.h94 struct input_absinfo abs_info[ABS_CNT]; member
/third_party/libinput/test/
Dlitest.c3253 const struct input_absinfo *abs_info, in litest_create_uinput() argument
3284 abs = abs_info; in litest_create_uinput()
3334 abs = abs_info; in litest_create_uinput()
3357 const struct input_absinfo *abs_info, in litest_create_uinput_device_from_description() argument
3369 uinput = litest_create_uinput(name, id, abs_info, events); in litest_create_uinput_device_from_description()