tools: add option to print full RMLVO elements to rmlvo-to-keymap
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 7 Jul 2020 23:55:20 +0000 (09:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 8 Jul 2020 05:21:19 +0000 (15:21 +1000)
commit2cb90c958f7efa36b00fe845c38bbe0d00e15b1e
tree69b276959ead0e5c9b005c749422f4ae620e40e2
parentfc2d4fa2aba307e5c2a3c86b1879b05c2c738dba
tools: add option to print full RMLVO elements to rmlvo-to-keymap

Since the most common use-case is to provide only some elements of RMLVO, this
makes it possible to show what is actually being used in the background based on
the built-in defaults.

Print this in a format that's mostly JSON-compatible or at least easy to parse,
just in case.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/rmlvo-to-keymap.c