Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-28-2004, 07:14 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Capturing X Events

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.
Old 10-28-2004, 08:56 AM   #2
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i think maybe keyboard grabbing? (see a xlib programing manual)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Event Capturing rem1986 Linux - General 2 12-13-2005 12:11 PM
Best Capturing tool. mayankjohri Linux - Enterprise 0 01-30-2005 03:12 PM
Screen Capturing monohouse Linux - Software 3 10-30-2004 11:14 AM
Capturing video with Cinelerra works, capturing video with Xawtv doesn't! seaelf Slackware 0 06-27-2004 05:18 PM
script is capturing output.... wedgeworth Linux - Software 7 10-20-2003 05:11 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration