<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/evdev_utils.c, branch releng/14.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>atkbd(4): Fix "hancha" and "han/yong" korean keys handling.</title>
<updated>2022-07-19T21:36:20+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2022-07-19T21:06:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6a26c99f827ffa9da5e23d466eeb17131fc75238'/>
<id>6a26c99f827ffa9da5e23d466eeb17131fc75238</id>
<content type='text'>
The Korean keyboard has two keys, the Korean/Chinese and the
Korean/English toggles, that generate scancodes 0xF1 and 0xF2
(respectively) when pressed, and nothing when released. They do not
repeat.
As Hanyong/Hancha keys are generally greater than 0x80, which is
generally considered a release key, add extra preceding press key event
to generate press/release pair.
Swap Hanyong/Hancha key codes to match reality.

Reported by:	Warioburn &lt;warioburn@yahoo.co.jp&gt;
PR:		265260
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Korean keyboard has two keys, the Korean/Chinese and the
Korean/English toggles, that generate scancodes 0xF1 and 0xF2
(respectively) when pressed, and nothing when released. They do not
repeat.
As Hanyong/Hancha keys are generally greater than 0x80, which is
generally considered a release key, add extra preceding press key event
to generate press/release pair.
Swap Hanyong/Hancha key codes to match reality.

Reported by:	Warioburn &lt;warioburn@yahoo.co.jp&gt;
PR:		265260
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: Multitouch code style changes.</title>
<updated>2021-08-24T22:43:41+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-08-24T22:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=98a7606b85e05132f328a2498dccab78df31cb7e'/>
<id>98a7606b85e05132f328a2498dccab78df31cb7e</id>
<content type='text'>
1. Move touch count reporting helpers to utils. They are not multitouch.
2. Use evdev_mt prefix for private multitouch support routines.
3. Use int instead of int32_t where fixed size is not required.
4. Export some internal functions.

This change should be no-op.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Move touch count reporting helpers to utils. They are not multitouch.
2. Use evdev_mt prefix for private multitouch support routines.
3. Use int instead of int32_t where fixed size is not required.
4. Export some internal functions.

This change should be no-op.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>atkbd/evdev: recognize the Chromebook menu key as F13 like Linux does.</title>
<updated>2020-06-25T00:09:43+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-06-25T00:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=54cca285fc3d32e0be4028d17c055424b49f4f7d'/>
<id>54cca285fc3d32e0be4028d17c055424b49f4f7d</id>
<content type='text'>
This is the key on the right side of the function keys, with the
"hamburger menu" icon on it.

Submitted by:		GregV &lt;greg@unrelenting.technology&gt;
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D25390
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the key on the right side of the function keys, with the
"hamburger menu" icon on it.

Submitted by:		GregV &lt;greg@unrelenting.technology&gt;
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D25390
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: Add AT translated set1 scancodes for 'Eisu' &amp; 'Kana' keys.</title>
<updated>2020-06-17T08:35:35+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-06-17T08:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=94811094f8357824108a57169d1f5b1e2ffb56ca'/>
<id>94811094f8357824108a57169d1f5b1e2ffb56ca</id>
<content type='text'>
PR:		247292
Submitted by:	Yuichiro NAITO &lt;naito.yuichiro@gmail.com&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		247292
Submitted by:	Yuichiro NAITO &lt;naito.yuichiro@gmail.com&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>[evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys.</title>
<updated>2020-05-04T10:59:17+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-05-04T10:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8701adbeb0d4e29c9aae68b493317fb581ae520e'/>
<id>8701adbeb0d4e29c9aae68b493317fb581ae520e</id>
<content type='text'>
"F lock" is a switch between two sets of scancodes for function keys F1-F12
found on some Logitech and Microsoft PS/2 keyboards [1]. When "F lock" is
pressed, then F1-F12 act as function keys and produce usual keyscans for
these keys. When "F lock" is depressed, F1-F12 produced the same keyscans
but prefixed with E0.
Some laptops use [2] E0-prefixed F1-F12 scancodes for non-standard keys.

[1] https://www.win.tue.nl/~aeb/linux/kbd/scancodes-6.html
[2] https://reviews.freebsd.org/D21565

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"F lock" is a switch between two sets of scancodes for function keys F1-F12
found on some Logitech and Microsoft PS/2 keyboards [1]. When "F lock" is
pressed, then F1-F12 act as function keys and produce usual keyscans for
these keys. When "F lock" is depressed, F1-F12 produced the same keyscans
but prefixed with E0.
Some laptops use [2] E0-prefixed F1-F12 scancodes for non-standard keys.

[1] https://www.win.tue.nl/~aeb/linux/kbd/scancodes-6.html
[2] https://reviews.freebsd.org/D21565

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or.</title>
<updated>2018-11-25T19:37:00+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-11-25T19:37:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a0e9218c019b30a68fe137f8540a8c8da947480b'/>
<id>a0e9218c019b30a68fe137f8540a8c8da947480b</id>
<content type='text'>
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: Remove evdev.ko linkage dependency on kbd driver</title>
<updated>2018-08-13T19:05:53+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-13T19:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=48f2b006486019a1a238238ba32875a2c1ce16a0'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: remove soft context from evdev methods parameter list.</title>
<updated>2018-08-13T19:00:42+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-13T19:00:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=911aed94fa3a6b7c99aae26c48c0724ada8ab787'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH</title>
<updated>2017-11-20T19:25:22+00:00</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-11-20T19:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e10195c86ce900b08ceba7509b39e61e979807e'/>
<id>3e10195c86ce900b08ceba7509b39e61e979807e</id>
<content type='text'>
Submitted by:		dumbbell
Reviewed by:		gonzo, wulf
Approved by:		gonzo (mentor)
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D12983
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:		dumbbell
Reviewed by:		gonzo, wulf
Approved by:		gonzo (mentor)
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D12983
</pre>
</div>
</content>
</entry>
</feed>
