Home
last modified time | relevance | path

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

/freebsd/sys/dev/evdev/
H A Duinput.c348 struct input_absinfo absinfo; in uinput_setup_provider() local
358 bzero(&absinfo, sizeof(struct input_absinfo)); in uinput_setup_provider()
363 absinfo.minimum = udev->absmin[i]; in uinput_setup_provider()
364 absinfo.maximum = udev->absmax[i]; in uinput_setup_provider()
365 absinfo.fuzz = udev->absfuzz[i]; in uinput_setup_provider()
366 absinfo.flat = udev->absflat[i]; in uinput_setup_provider()
367 evdev_set_absinfo(state->ucs_evdev, i, &absinfo); in uinput_setup_provider()
529 &uabs->absinfo); in uinput_ioctl_sub()
H A Devdev.c121 evdev_free_absinfo(struct input_absinfo *absinfo) in evdev_free_absinfo() argument
124 free(absinfo, M_EVDEV); in evdev_free_absinfo()
483 struct input_absinfo absinfo; in evdev_support_abs() local
487 absinfo = (struct input_absinfo) { in evdev_support_abs()
496 evdev_set_absinfo(evdev, code, &absinfo); in evdev_support_abs()
552 struct input_absinfo *absinfo) in evdev_set_absinfo() argument
558 (absinfo->maximum < 1 || absinfo->maximum >= MAX_MT_SLOTS)) in evdev_set_absinfo()
565 evdev->ev_absinfo[ABS_MT_SLOT].maximum = absinfo->maximum; in evdev_set_absinfo()
567 memcpy(&evdev->ev_absinfo[axis], absinfo, in evdev_set_absinfo()
H A Duinput.h66 struct input_absinfo absinfo; member