Hallo Bernhard!

> how can I convert a busybox kmap file into a keymaps(5) format?
It depends a bit on how often you want to do such conversions. The
simple way to do this is to load the keyboard definition with Busybox
loadkmap and to use the upstream dumpkeys command to write a keymaps
definition file. That works pretty fine, but changes the current active
keyboard definition.

As far as I know there exists no conversion program to do a direct
conversion from busybox kmap file to keymaps format. Busybox kmap format
is just a binary copy of the data required by Linux console ioctl calls
to manage the keyboard table settings.

If the conversion is only required to pipe the output to another
conversion tool, expecting keymaps format, a relatively simple C program
could produce a pure numerical keymaps output from a Busybox kmap file.
Such output would be parseable, but does neither contain mnemonic key
names nor any other keymaps optimized format. That is, it would be not
easily human readable. (Ask for more information for this, if you like)

--
Harald

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to