<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/evdev.h, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-10-06T06:22:35Z</updated>
<entry>
<title>evdev: Fix a typo in a commit</title>
<updated>2021-10-06T06:22:35Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-10-02T08:43:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4999f16e5ae43c8b65829f4d660e7460943acdad'/>
<id>urn:sha1:4999f16e5ae43c8b65829f4d660e7460943acdad</id>
<content type='text'>
- s/prefered/preferred/

(cherry picked from commit efd8749fe5cccb6c3d6b5f3c3515bf89ad306bcc)
</content>
</entry>
<entry>
<title>evdev: Remove evdev.ko linkage dependency on kbd driver</title>
<updated>2018-08-13T19:05:53Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-13T19:05:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48f2b006486019a1a238238ba32875a2c1ce16a0'/>
<id>urn:sha1:48f2b006486019a1a238238ba32875a2c1ce16a0</id>
<content type='text'>
Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev
unconditionally requires all keyboard and console stuff to be compiled
into the kernel. This dependency happens as evdev_ev_kbd_event() helper
references kbdsw global variable defined in kbd.c through use of
kbdd_ioctl() macro.

While here make all keyboard drivers respect evdev_rcpt_mask while setting
typematic rate and LEDs with evdev interface.

Requested by:	Milan Obuch &lt;bsd@dino.sk&gt;
Reviewed by:	hselasky, gonzo
Differential Revision:	https://reviews.freebsd.org/D16614
</content>
</entry>
<entry>
<title>evdev: remove soft context from evdev methods parameter list.</title>
<updated>2018-08-13T19:00:42Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-13T19:00:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=911aed94fa3a6b7c99aae26c48c0724ada8ab787'/>
<id>urn:sha1:911aed94fa3a6b7c99aae26c48c0724ada8ab787</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>evdev: Disable value normalization and state filtering for SND events.</title>
<updated>2017-11-01T22:33:44Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-11-01T22:33:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6e809423fde2f5ce02b9fef5910c34e434e7c36'/>
<id>urn:sha1:c6e809423fde2f5ce02b9fef5910c34e434e7c36</id>
<content type='text'>
Some events can take sound pitch as a value so can not be represented
as binary on/off events. Tracking for on/off state is left in place
as it is a part of the evdev API.

Reviewed by:		gonzo
Approved by:		gonzo (mentor)
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D12676
</content>
</entry>
<entry>
<title>[evdev] Adds evdev support to sysmouse(4) driver</title>
<updated>2016-12-10T18:07:16Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-12-10T18:07:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4af79d4f2b824eb8695f874084da7d1682aa4d05'/>
<id>urn:sha1:4af79d4f2b824eb8695f874084da7d1682aa4d05</id>
<content type='text'>
For horizontal (T-axis) wheel reporting which is not supported by
sysmouse protocol kern.evdev.sysmouse_t_axis sysctl is introduced.
It can take following values:

0 - no T-axis events (default)
1 - T-axis events are originated in ums(4) driver.
2 - T-axis events are originated in psm(4) driver.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D8597
</content>
</entry>
<entry>
<title>EVDEV: Add shortcut functions for event types</title>
<updated>2016-10-22T22:52:50Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-22T22:52:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73362d0e56ee37c67efe03ab5f087b6ad78757da'/>
<id>urn:sha1:73362d0e56ee37c67efe03ab5f087b6ad78757da</id>
<content type='text'>
Add wrappers around generic evdev_push_event for specific event types:
EV_KEY/EV_REL/EV_ABS etc...

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
</content>
</entry>
<entry>
<title>Implement EVDEV_FLAG_MT_AUTOREL flag (autorelease touchpoints)</title>
<updated>2016-10-08T17:59:53Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-08T17:59:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c736a757129a1a2c1e8e11d18daa9742f7ec0d35'/>
<id>urn:sha1:c736a757129a1a2c1e8e11d18daa9742f7ec0d35</id>
<content type='text'>
Automaticaly release (send ABS_MT_TRACKING_ID = -1) MT-slots
that has not been listed in current MT protocol type B report.

Slot is counted as listed if corresponding ABS_MT_SLOT event
has been sent regardless of other MT events.

Events are sent on SYN_REPORT event.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
</content>
</entry>
<entry>
<title>Allow using of driver's mutex instead internal one for evdev locking.</title>
<updated>2016-10-08T17:58:26Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-08T17:58:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bfbd1bb744b0f1091f0cd14467ec7d8b51560bee'/>
<id>urn:sha1:bfbd1bb744b0f1091f0cd14467ec7d8b51560bee</id>
<content type='text'>
Add new API call: evdev_register_mtx which takes lock argument that
should be used instead of internal one for evdev locking. Useful for
cases if evdev_push_event() is always called with driver's lock taken
and reduces amount of lock aquisitions. This allows to avoid LOR
between ev_open/ev_close invocations and evdev_push_event() Such LOR
can happen when ev_open/ev_close methods acquire driver lock and
evdev_push_event() is called with this lock taken.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
</content>
</entry>
<entry>
<title>const-ify struct evdev_methods</title>
<updated>2016-10-03T17:20:34Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-03T17:20:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5163e77faddb12c6c0485c3a407a8952174d22d4'/>
<id>urn:sha1:5163e77faddb12c6c0485c3a407a8952174d22d4</id>
<content type='text'>
Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Suggested by:	hselasky
</content>
</entry>
<entry>
<title>Add evdev protocol implementation</title>
<updated>2016-09-11T18:56:38Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-09-11T18:56:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b3f6d6650e6a6cac434fb02249ae7252dd76c95'/>
<id>urn:sha1:2b3f6d6650e6a6cac434fb02249ae7252dd76c95</id>
<content type='text'>
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 &lt;wulf@cicgroup.ru&gt;
Reviewed by:	adrian, hans
Differential Revision:	https://reviews.freebsd.org/D6998
</content>
</entry>
</feed>
