public inbox for kbd@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/4] Allow to convert xkb keymap to kernel keymap
@ 2024-01-04 18:15 Alexey Gladkov
  2024-01-04 18:15 ` [PATCH 1/4] Add keymap generation from the xkb database Alexey Gladkov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexey Gladkov @ 2024-01-04 18:15 UTC (permalink / raw)
  To: kbd

This patchset adds the ability to use keymaps from libxkbcommon. It gives the
loadkeys utility additional options for passing xkb-specific parameters.

The idea is to make it possible to unify the keymap configuration between linux
console and xorg/wayland and unification of the keymaps configuration method.

Unfortunately, we cannot use xkb keymap one to one. The linux kernel has a
number of limitations that allow the use of xkb keymaps.

Many thanks to Anton Zinoviev who helped me figure out how console-setup solved
the problems of converting xkb to linux keymaps.

Alexey Gladkov (4):
  Add keymap generation from the xkb database
  xkbsupport: Create a list of used codes
  xkbsupport: Extract translation table
  xkbsupport: Add xkb compose

 configure.ac        |  10 +
 data/xkbtrans/names | 154 ++++++++++
 src/Makefile.am     |   6 +
 src/loadkeys.c      |  80 ++++-
 src/loadkeys.h      |  13 +
 src/xkbsupport.c    | 693 ++++++++++++++++++++++++++++++++++++++++++++
 src/xkbsupport.h    |  18 ++
 7 files changed, 965 insertions(+), 9 deletions(-)
 create mode 100644 data/xkbtrans/names
 create mode 100644 src/loadkeys.h
 create mode 100644 src/xkbsupport.c
 create mode 100644 src/xkbsupport.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-04 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 18:15 [PATCH 0/4] Allow to convert xkb keymap to kernel keymap Alexey Gladkov
2024-01-04 18:15 ` [PATCH 1/4] Add keymap generation from the xkb database Alexey Gladkov
2024-01-04 18:15 ` [PATCH 2/4] xkbsupport: Create a list of used codes Alexey Gladkov
2024-01-04 18:15 ` [PATCH 3/4] xkbsupport: Extract translation table Alexey Gladkov
2024-01-04 18:15 ` [PATCH 4/4] xkbsupport: Add xkb compose Alexey Gladkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox