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.c136 struct input_absinfo* abs_info) in fix_invalid_absinfo() argument
144 abs_info->maximum == abs_info->minimum) { in fix_invalid_absinfo()
145 abs_info->minimum = -1; in fix_invalid_absinfo()
146 abs_info->maximum = 0xFFFF; in fix_invalid_absinfo()
340 const struct input_absinfo *abs_info; in init_slots() local
357 abs_info = libevdev_get_abs_info(dev, ABS_MT_SLOT); in init_slots()
360 dev->num_slots = abs_info->maximum + 1; in init_slots()
366 dev->current_slot = abs_info->value; in init_slots()
509 struct input_absinfo abs_info; in libevdev_set_fd() local
510 rc = ioctl(fd, EVIOCGABS(i), &abs_info); in libevdev_set_fd()
[all …]
Dlibevdev-int.h77 struct input_absinfo abs_info[ABS_CNT]; member
/third_party/libinput/test/
Dlitest.c3357 const struct input_absinfo *abs_info, in litest_create_uinput() argument
3388 abs = abs_info; in litest_create_uinput()
3438 abs = abs_info; in litest_create_uinput()
3461 const struct input_absinfo *abs_info, in litest_create_uinput_device_from_description() argument
3473 uinput = litest_create_uinput(name, id, abs_info, events); in litest_create_uinput_device_from_description()