All of lore.kernel.org
 help / color / mirror / Atom feed
* [kbd] plain keycode changes not only the first column
@ 2018-05-07 14:36 Oleg Bulatov
  0 siblings, 0 replies; only message in thread
From: Oleg Bulatov @ 2018-05-07 14:36 UTC (permalink / raw)
  To: kbd

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

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

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-07 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07 14:36 [kbd] plain keycode changes not only the first column Oleg Bulatov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.