History log of /freebsd-13.1/sys/dev/evdev/evdev_utils.c (Results 1 – 17 of 17)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# a437dfa5 24-Aug-2021 Vladimir Kondratyev <[email protected]>

evdev: Multitouch code style changes.

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 i

evdev: Multitouch code style changes.

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.

(cherry picked from commit 98a7606b85e05132f328a2498dccab78df31cb7e)

show more ...


Revision tags: release/13.0.0, release/12.2.0
# 54cca285 25-Jun-2020 Vladimir Kondratyev <[email protected]>

atkbd/evdev: recognize the Chromebook menu key as F13 like Linux does.

This is the key on the right side of the function keys, with the
"hamburger menu" icon on it.

Submitted by: GregV <greg@unrel

atkbd/evdev: recognize the Chromebook menu key as F13 like Linux does.

This is the key on the right side of the function keys, with the
"hamburger menu" icon on it.

Submitted by: GregV <[email protected]>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25390

show more ...


# 94811094 17-Jun-2020 Vladimir Kondratyev <[email protected]>

evdev: Add AT translated set1 scancodes for 'Eisu' & 'Kana' keys.

PR: 247292
Submitted by: Yuichiro NAITO <[email protected]>
MFC after: 1 week


Revision tags: release/11.4.0
# 8701adbe 04-May-2020 Vladimir Kondratyev <[email protected]>

[evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys.

"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

[evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys.

"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

show more ...


Revision tags: release/12.1.0, release/11.3.0, release/12.0.0
# a0e9218c 25-Nov-2018 Vladimir Kondratyev <[email protected]>

evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or.

MFC after: 2 weeks


# 48f2b006 13-Aug-2018 Vladimir Kondratyev <[email protected]>

evdev: Remove evdev.ko linkage dependency on kbd driver

Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev
unconditionally requires all keyboard and console stuff to be compiled

evdev: Remove evdev.ko linkage dependency on kbd driver

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 <[email protected]>
Reviewed by: hselasky, gonzo
Differential Revision: https://reviews.freebsd.org/D16614

show more ...


# 911aed94 13-Aug-2018 Vladimir Kondratyev <[email protected]>

evdev: remove soft context from evdev methods parameter list.

Now softc should be retrieved from struct edvev * pointer
with evdev_get_softc() helper.

wmt(4) is a sample of driver that support both

evdev: remove soft context from evdev methods parameter list.

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

show more ...


Revision tags: release/11.2.0
# 3e10195c 20-Nov-2017 Vladimir Kondratyev <[email protected]>

evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH

Submitted by: dumbbell
Reviewed by: gonzo, wulf
Approved by: gonzo (mentor)
MFC after: 2 weeks
Differential Revision: https://review

evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH

Submitted by: dumbbell
Reviewed by: gonzo, wulf
Approved by: gonzo (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D12983

show more ...


# b12ac17e 20-Nov-2017 Vladimir Kondratyev <[email protected]>

Fix evdev codes for slash and asterisk numpad keys of AT-keyboards

Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks


# f7ee4f90 01-Nov-2017 Vladimir Kondratyev <[email protected]>

evdev: Lock Giant around keyboard ioctls

This fixes turning ukbd(4) LEDs on/off with evdev interface as well

Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks
Differential Revisi

evdev: Lock Giant around keyboard ioctls

This fixes turning ukbd(4) LEDs on/off with evdev interface as well

Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D12676

show more ...


# 906b7574 01-Nov-2017 Jean-Sébastien Pédron <[email protected]>

evdev: Translate KEY_102ND in evdev_scancode2key()

This is the extra key on 102/105-keys keyboards, located on the right
of the Left Shift key. For instance on a French layout, this is the '<'
key.

evdev: Translate KEY_102ND in evdev_scancode2key()

This is the extra key on 102/105-keys keyboards, located on the right
of the Left Shift key. For instance on a French layout, this is the '<'
key.

This fixes an issue where the key fires no evdev event and thus remains
inactive in an evdev/libinput-enabled X.Org server. The issue only
occurred on an AT keyboard; the same key on a USB keyboard worked fine.

PR: 222609 (only for reference)
Approved by: wulf@
Differential Revision: https://reviews.freebsd.org/D12883

show more ...


Revision tags: release/10.4.0
# e6502802 23-Jul-2017 Vladimir Kondratyev <[email protected]>

Change my email address to [email protected] in copyright headers.

Approved by: gonzo (mentor)
MFC after: 2 weeks


# ea2e26b1 23-Jul-2017 Vladimir Kondratyev <[email protected]>

evdev: style(9), sort headers alphabetically

Pointed out by: bde
Reviewed by: gonzo
Approved by: gonzo (mentor)
MFC after: 2 weeks


Revision tags: release/11.1.0
# 5bc82581 12-Mar-2017 Oleksandr Tymoshenko <[email protected]>

[evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers

Submitted by: Vladimir Kondratiev <[email protected]>
MFC after: 1 week
Differential Revision: https://reviews.fr

[evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers

Submitted by: Vladimir Kondratiev <[email protected]>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D9320

show more ...


# 71546cd9 26-Dec-2016 Oleksandr Tymoshenko <[email protected]>

[evdev] Fix build for older versions of clang

There was report of stable/11 build failure on older versions of
FreeBSD. The problem was a reference to static variable in inline
function. Although fa

[evdev] Fix build for older versions of clang

There was report of stable/11 build failure on older versions of
FreeBSD. The problem was a reference to static variable in inline
function. Although fairly recent versions of clang can cope with this
situation just fine there is no strict requirement to make functions
in question inline, they're not in any time-critical codepath. So to
keep HEAD and 11-STABLE buildable on older FreeBSDs some of the util
functions were converted from inline to normal.

Reported by: hselasky
MFC after: 3 days

show more ...


# 73362d0e 22-Oct-2016 Oleksandr Tymoshenko <[email protected]>

EVDEV: Add shortcut functions for event types

Add wrappers around generic evdev_push_event for specific event types:
EV_KEY/EV_REL/EV_ABS etc...

Submitted by: Vladimir Kondratiev <[email protected]>


Revision tags: release/11.0.1, release/11.0.0
# 2b3f6d66 11-Sep-2016 Oleksandr Tymoshenko <[email protected]>

Add evdev protocol implementation

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

Add evdev protocol implementation

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 <[email protected]>
Reviewed by: adrian, hans
Differential Revision: https://reviews.freebsd.org/D6998

show more ...