summaryrefslogtreecommitdiff
path: root/sys/dev/evdev/uinput.c
AgeCommit message (Collapse)Author
2025-10-18knotes: kqueue: handle copy for trivial filtersKonstantin Belousov
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D52045
2024-11-26kern: Make fileops and filterops tables const where possibleMark Johnston
No functional change intended. MFC after: 1 week
2023-08-16sys: Remove $FreeBSD$: two-line .h patternWarner Losh
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2021-08-25evdev: Make MT tracking IDs monotonically increasing sequence.Vladimir Kondratyev
MFC after: 2 weeks
2021-01-08evdev: Remove useless "initial value" parameter from evdev_support_abs()Vladimir Kondratyev
It can not be used for setting of state of multitouch events. If necessary, use evdev_push_event() instead of it.
2020-11-09kqueue: save space by using only one func pointer for assertionsMateusz Guzik
Notes: svn path=/head/; revision=367498
2018-08-13evdev: remove soft context from evdev methods parameter list.Vladimir Kondratyev
Now softc should be retrieved from struct edvev * pointer with evdev_get_softc() helper. wmt(4) is a sample of driver that support both KPI. Reviewed by: hselasky, gonzo Differential Revision: https://reviews.freebsd.org/D16614 Notes: svn path=/head/; revision=337720
2018-04-30uinput: Add FreeBSD specific ioctl to set unique identifier of input device.Vladimir Kondratyev
Reviewed by: gonzo Differential Revision: https://reviews.freebsd.org/D13456 Notes: svn path=/head/; revision=333111
2017-07-23Change my email address to wulf@FreeBSD.org in copyright headers.Vladimir Kondratyev
Approved by: gonzo (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=321399
2017-07-23evdev: style(9), sort headers alphabeticallyVladimir Kondratyev
Pointed out by: bde Reviewed by: gonzo Approved by: gonzo (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=321397
2017-03-12[evdev] Do not ignore result evdev_register in UI_DEV_CREATE handlerOleksandr Tymoshenko
Make sure that uinput state field reflects actual state by checking evdev_register result for errors Submitted by: Vladimir Kondratiev <wulf@cicgroup.ru> Differential Revision: https://reviews.freebsd.org/D9320 Notes: svn path=/head/; revision=315176
2016-10-02Modularize evdevOleksandr Tymoshenko
- Convert "options EVDEV" to "device evdev" and "device uinput", add modules for both new devices. They are isolated subsystems and do not require any compile-time changes to general kernel subsytems - For hybrid drivers that have evdev as an optional way to deliver input events add option EVDEV_SUPPORT. Update all existing hybrid drivers to use it instead of EVDEV - Remove no-op DECLARE_MODULE in evdev, it's not required, MODULE_VERSION is enough - Add evdev module dependency to uinput Submitted by: Vladimir Kondratiev <wulf@cicgroup.ru> Notes: svn path=/head/; revision=306579
2016-10-02Fix gcc compilation errorOleksandr Tymoshenko
input_absinfo.code is unsigned so condition is always false Notes: svn path=/head/; revision=306578
2016-09-12Remove semicolon from the end of the macro definitionOleksandr Tymoshenko
Reported by: hans Notes: svn path=/head/; revision=305749
2016-09-11Add evdev protocol implementationOleksandr Tymoshenko
evdev is a generic input event interface compatible with Linux evdev API at ioctl level. It allows using unmodified (apart from header name) input evdev drivers in Xorg, Wayland, Qt. This commit has only generic kernel API. evdev support for individual hardware drivers like ukbd, ums, atkbd, etc. will be committed later. Project was started by Jakub Klama as part of GSoC 2014. Jakub's evdev implementation was later used as a base, updated and finished by Vladimir Kondratiev. Submitted by: Vladimir Kondratiev <wulf@cicgroup.ru> Reviewed by: adrian, hans Differential Revision: https://reviews.freebsd.org/D6998 Notes: svn path=/head/; revision=305706