[kbd] plain keycode changes not only the first column
Oleg Bulatov <[email protected]> Mon, 7 May 2018 16:36:10 +0200
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEZMAS6GX2TeYKU4UCUVdIgoAMWSIFAlrwZFoACgkQUVdIgoAM WSKlaggAsjHKNztfcgCzSRkOLJLXWJEZ0p5hDBHU2SNked3o4efr5mr6odx29OHF CqLlROS9cz4C8uVdN5gSphPxJy7KUv9iDXJ2EKhVQm9gx292vz9a/hYqSZXCKvTC d0T5Hv9CJvHFv6aT0TFAeBfaxaP/pSjBQoHScsAvZ0EVHhkYTELG54ZpTkM7jhBV EA0s2LMCXD5Iu+Vb4FtIQi2sGKRO/jw4zUEFV2Lh3k5PndD6I2hIrSkZAMRY6sH+ FxbRhEzfAPZVuoYtGt9SPNNiP7qPBINYFi1jNZgrVNl1VesPXzTGaa9og072Jg75 8d0mdNZr//QB99nWUWSp+vbY6ATy9w== =kMCV -----END PGP SIGNATURE-----