Skip to contentSkip to conversation

Keycodes for programmable keys/buttons

DISCUSSION Clément Vuchener 1 participant 1 message Aug 22, 2015 HID

lore
Share & tools
lore
#0 lore raw

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?