[kbd] plain keycode changes not only the first column

Oleg Bulatov oleg at bulatov.me
Mon May 7 17:36:10 MSK 2018


Hi,

when a key is defined with exactly one action code, and `plain keycode NNN = ACTION` is used after that, it acts as if the `plain` modifier is not present. It changes the key definitions for all modifiers.

Steps to reproduce:

$ cat example.map
keymaps 0-1
keycode 46 = x
plain keycode 46 = +c
$ loadkeys ./example.map
$ dumpkeys -f | grep ' 46’

Expected output:

keycode  46 = +c               +X

Actual output:

keycode  46 = +c               +C

--
WBR, Oleg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.altlinux.org/pipermail/kbd/attachments/20180507/c466c237/attachment.bin>


More information about the kbd mailing list