🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

read the keyboard input

Started by
1 comment, last by mrchrismnh 13 years, 10 months ago
Is there an xwindows function that can get the keyboard input raw, I mean bypassing things like repeat rates and delays?
"It's like naming him Asskicker Monstertrucktits O'Ninja" -Khaiy

Advertisement
Quote: Original post by mrchrismnh
Is there an xwindows function that can get the keyboard input raw, I mean bypassing things like repeat rates and delays?


yes.

http://tronche.com/gui/x/xlib/events/keyboard-pointer/keyboard-pointer.html

Just check the keypress and keyrelease events.
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
Thanks, I was getting the moderated key presses. Not even going to have to change much for this to work.
"It's like naming him Asskicker Monstertrucktits O'Ninja" -Khaiy

This topic is closed to new replies.

Advertisement