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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -