LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Capturing X Events (https://www.linuxquestions.org/questions/linux-software-2/capturing-x-events-248329/)

phrontist 10-28-2004 07:14 AM

Capturing X Events
 
:scratch:

I'm working on an arcade machine to raise money for my robotics team, and I've got the coin acceptor hooked up to send the letter A on every coin insertion. What I'd like to do is write a program that does certain things everytime the letter A is pressed, regardless of which program has focus in X. I suppose the easiest way would be to monitor X events, but if anyone has information on monitoring raw keystrokes, I'm game to do that.

SciYro 10-28-2004 08:56 AM

i think maybe keyboard grabbing? (see a xlib programing manual)


All times are GMT -5. The time now is 05:28 PM.