small lib to read keys from the keyboard in a linux console
 
 
Go to file
Gunnar Zötl 15ab1e38a4 when composing a char does not have a result, return thee original sym instead of CKB_NONE 2016-01-12 15:48:54 +01:00
LICENSE initial commit 2016-01-08 15:22:16 +01:00
README initial commit 2016-01-08 15:22:16 +01:00
ckb_keyboard.c when composing a char does not have a result, return thee original sym instead of CKB_NONE 2016-01-12 15:48:54 +01:00
ckb_keyboard.h made meta modifiers work 2016-01-12 15:40:07 +01:00
ckb_keyname.c made meta modifiers work 2016-01-12 15:40:07 +01:00
ckb_keyname.h initial commit 2016-01-08 15:22:16 +01:00
kbdtest.c made meta modifiers work 2016-01-12 15:40:07 +01:00
mini_utf8.h fixed 2 warnings in ckb_keyboard.c 2016-01-11 12:29:16 +01:00

README

This is a small lib to read key events and chars from the keyboard in a linux console. It handles key modifiers and accents (dead keys), and is intended to be used with framebuffer applications. There is no documentation to speak of yet, look at the doc comments in the header files, and at kdtest.c for an example. The character codes are returned as unicode, insofar as the linux console supports this.

To use, just drop ckb_keyboard.* into your project and #include ckb_keyboard.h. There are no dependencies beyond standard linux stuff.