Linux C - Get Lock Keys Status' -


how 1 find out status of lock keys on linux (2.6.x), using c?

(i have crappy keyboard without led's stuff, , need write x11 app this)

if such app exists (and de agnostic - run e16), i'd hear well.

you can use led addon gkrellm. if want develop own app, can gkrellm-led sources (ubuntu). and, of course, can go xkbvleds (source).

anyway, can use xkbgetindicatorstate read indicators keyboard.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -