<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/hid, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-12T18:09:23Z</updated>
<entry>
<title>bcm5974(4): Do not handle pressure on non-ForceTouch devices</title>
<updated>2026-04-12T18:09:23Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2026-04-12T18:09:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d0404cfe92c18b7697b3e4ad4a5790b12d2261e'/>
<id>urn:sha1:9d0404cfe92c18b7697b3e4ad4a5790b12d2261e</id>
<content type='text'>
They always report it value as zero breaking pressure-driven drivers
like moused(8) and xf86-input-synaptics.

MFC after:	1 week
</content>
</entry>
<entry>
<title>bcm5974(4): Fix pre-2015 Apple touchpad support</title>
<updated>2026-04-12T18:09:22Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2026-04-12T18:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d6477cd3a5c3aec6a3492c8423852b09239583a3'/>
<id>urn:sha1:d6477cd3a5c3aec6a3492c8423852b09239583a3</id>
<content type='text'>
These devices appeared to stop sending reports via mouse USB interface
after switching to RAW mode. Fix it with changing Usage of Top Level
Collection to one found in HID report descriptor of proper interface.

MFC after:	1 week
</content>
</entry>
<entry>
<title>hid: Change Usage Page names to match documentation</title>
<updated>2026-04-12T18:09:22Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2026-04-12T18:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2ba6ce584a8cab75262cb86a5daf310d6706890c'/>
<id>urn:sha1:2ba6ce584a8cab75262cb86a5daf310d6706890c</id>
<content type='text'>
According to "HID Usage Tables FOR Universal Serial Bus (USB)"
Usage Page ID range 0x93-0xF1CF is "Reserved" and Usage Page ID range
0xFF00-0xFFFF is "Vendor-defined".

MFC after:	1 week
</content>
</entry>
<entry>
<title>hkbd(4): add some extra handy fn key bindings</title>
<updated>2026-03-29T13:16:57Z</updated>
<author>
<name>Toby Slight</name>
<email>tslight@pm.me</email>
</author>
<published>2026-03-29T13:16:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb8230f838c8d5f8d362a0dad4809908b44ae379'/>
<id>urn:sha1:bb8230f838c8d5f8d362a0dad4809908b44ae379</id>
<content type='text'>
- Fn+S for ScrollLock as it's very useful to have ScrollLock on
  FreeBSD's TTY.
- Fn+P for PrtSc/SysRq, as it's another very handy but sadly missing
  key on Macbooks.
- Some other Fn+&lt;key&gt; combinations duplicating existing keys.

Apply the change to ukbd(4) as well.

Signed-off-by: Toby Slight &lt;tslight@pm.me&gt;

Reviewed by:	wulf
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1998
</content>
</entry>
<entry>
<title>hkbd(4): be more cautious &amp; explicit about Apple vendor checking</title>
<updated>2026-03-29T13:16:57Z</updated>
<author>
<name>tslight</name>
<email>tslight@pm.com</email>
</author>
<published>2026-03-29T13:16:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=103325323c7daf9fe6c9a6c71aa5c90974c9dff4'/>
<id>urn:sha1:103325323c7daf9fe6c9a6c71aa5c90974c9dff4</id>
<content type='text'>
Apply the changes to ukbd(4) as well.

Signed-off-by: tslight &lt;tslight@pm.com&gt;

Reviewed by:	wulf
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1998
</content>
</entry>
<entry>
<title>ukbd(4): backport Apple function keys support from hkbd(4)</title>
<updated>2026-03-29T13:16:57Z</updated>
<author>
<name>tslight</name>
<email>tslight@pm.com</email>
</author>
<published>2026-03-29T13:16:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40f55eada59250dd5d9580ad3c87a36ae9d6b4a9'/>
<id>urn:sha1:40f55eada59250dd5d9580ad3c87a36ae9d6b4a9</id>
<content type='text'>
and expose eject in addition to fn.

Signed-off-by: tslight &lt;tslight@pm.com&gt;

Reviewed by:	wulf
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1998
</content>
</entry>
<entry>
<title>hkbd(4): fix handling of apple function keys in hid and evdev</title>
<updated>2026-03-29T13:16:57Z</updated>
<author>
<name>tslight</name>
<email>tslight@pm.com</email>
</author>
<published>2026-03-29T13:16:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f54caa04edd99e341fbb0636d2c621b4a2eb36bf'/>
<id>urn:sha1:f54caa04edd99e341fbb0636d2c621b4a2eb36bf</id>
<content type='text'>
Signed-off-by: tslight &lt;tslight@pm.com&gt;

Reviewed by:	wulf
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1998
</content>
</entry>
<entry>
<title>hid/hgame: Fix desync in hgame_dpad_cb()</title>
<updated>2026-03-24T06:37:19Z</updated>
<author>
<name>Majed Alkhaleefah</name>
<email>majedalkhaleefah@gmail.com</email>
</author>
<published>2026-03-24T06:37:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c586944fa20899ab0f6b58b550e753d13d889c5b'/>
<id>urn:sha1:c586944fa20899ab0f6b58b550e753d13d889c5b</id>
<content type='text'>
hgame_dpad_cb() previously exited early whenever conflicting directions
were input (e.g., UP + DOWN) without saving said input to the
hgame_softc state. This led to a desync between the driver and the
gamepad.

This patch instead handles conflicting inputs by cancelling them out
with each other.

Remove early return. Calculate axis value by subtraction.

Reviewed by:	obiwac
Approved by:	obiwac
Differential Revision:	https://reviews.freebsd.org/D55849
</content>
</entry>
<entry>
<title>hid: Fix 'strenght' typo in hpen.c</title>
<updated>2026-03-04T23:41:57Z</updated>
<author>
<name>Majed Alkhaleefah</name>
<email>majedalkhaleefah@gmail.com</email>
</author>
<published>2026-03-04T23:40:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f440158c6865c93c9f8ef611b8673bba1f81dfa'/>
<id>urn:sha1:2f440158c6865c93c9f8ef611b8673bba1f81dfa</id>
<content type='text'>
Reviewed by:	wulf, obiwac
Approved by:	wulf, obiwac
Fixes:	d97d5c0ce89d ("hid: Import hidmap-based drivers written by Greg V")
Differential Revision:	https://reviews.freebsd.org/D55626
</content>
</entry>
<entry>
<title>bus: Document special ranges of IVARs</title>
<updated>2026-02-17T20:45:13Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-02-17T20:45:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6cf4e30252fe48b230b9d76cac20576d5b3d2ffa'/>
<id>urn:sha1:6cf4e30252fe48b230b9d76cac20576d5b3d2ffa</id>
<content type='text'>
Some IVAR indices are special in that they have global meaning across
multiple buses where as other IVARs are always private to the local bus.
Try to document this a bit and add constants for the various ranges to
avoid future conflicts.

This is a no-op, but IVAR indices are now generally defined as enums
as that makes it easier to define them in terms of ranges.

Reviewed by:	imp, royger, andrew
Differential Revision:	https://reviews.freebsd.org/D54159
</content>
</entry>
</feed>
