Keycodes for programmable keys/buttons

From: Clément Vuchener <hidden>
Date: 2015-08-22 16:38:41

Hello,

I am writing a driver for keyboard with eighteen programmable keys. When they are not bound to anything on the hardware, I would like them to send keycodes so an userspace program can execute macros or commands when they are pressed. But I could not find anything suitable in input.h. Did I miss something? How should I handle those keys?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help