I need to program some software to listen/test for either of Numlock, scrolllock or caps LED's or the on/off states. The OS is linux. The software runs under linux. The language is similar to basic and C. Does anyone know what scancodes these buttons are or how I might go about doing this?
The software takes input from the keyboard(programmable type) and depending on this input, processes it in a particular way.
All the keys are programmable. The Scroll/Num/Caps define the
levels. I need to test for what level, and also to tell the system that it is to go to a particular level. I also need to test for a combination of Caps/Scroll/Numlock states.
Any help would be greatly appreciated.