LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Control/Meta keys; how do they work? (https://www.linuxquestions.org/questions/programming-9/control-meta-keys%3B-how-do-they-work-871594/)

theKbStockpiler 03-28-2011 09:50 PM

Control/Meta keys; how do they work?
 
I would like in depth knowledge of how these keys work. If I were to want to use these keys for my own application how would I program them?

Thanks in advance!





Edit: Useful links I found with the help from the single reply.
http://www.beyondlogic.org/keyboard/keybrd.htm
http://www.philipstorr.id.au/pcbook/book3/keyboard.htm
http://gunnarwrobel.de/wiki/Linux-and-the-keyboard.html
http://www.faqs.org/docs/Linux-HOWTO...ole-HOWTO.html

Not an answer but a base for the topic.

ntubski 03-29-2011 07:31 AM

It depends, if you are using Xlib, for example, the modifier keys' state are given as a bitmask in the keypress event structure: http://tronche.com/gui/x/xlib/events...d-pointer.html


All times are GMT -5. The time now is 09:47 PM.