git: evdev: Translate KEY_102ND in evdev_scancode2key()

Aaron LI aly at crater.dragonflybsd.org
Wed Jan 3 16:26:24 PST 2024


commit f4a114dbaa0b3f5ab224e0b47586a2a5c2ea5eff
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jan 4 08:23:47 2024 +0800

    evdev: Translate KEY_102ND in evdev_scancode2key()
    
    This is the extra key on AT 102/105-keys keyboards, located just on the
    right of the Left Shift key.  For instance on a French layout, this key
    is used to type '<' and '>'.
    
    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.
    
    Reported-by: daftaupe
    Tested-by: daftaupe, Kentish
    Obtained-from: FreeBSD (https://reviews.freebsd.org/D12883)

Summary of changes:
 sys/dev/misc/evdev/evdev_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f4a114dbaa0b3f5ab224e0b47586a2a5c2ea5eff


-- 
DragonFly BSD source repository


More information about the Commits mailing list