terminal/screen: add keyboard mapping

System Internals / systemd - David Herrmann [gmail.com] - 3 October 2014 08:57 UTC

Implement the feed_keyboard() handling by mapping XKB keys according to DEC-VT behavior.

Public information on terminal key-mappings is pretty scarce. We only implement the most basic mapping for now. Further improvements welcome!

f8958c3 terminal/screen: add keyboard mapping
src/libsystemd-terminal/term-screen.c | 324 ++++++++++++++++++++++++++++++++-
src/libsystemd-terminal/term.h | 22 ++-
2 files changed, 342 insertions(+), 4 deletions(-)

Upstream: github.com


  • Share