Linux gurus, help me out!
1. Could someone tell me how to handle multiple keys under X?
Right now I''m using XCheckEvent() and XLookupString()
But this limits the number of keys to one. It works for
a single key-press. But i want to be able to read sevral keys at the same time. (Kind of hard to do a game otherwise)
2. Does anyone here have a snippet for mem-copy using MMX?
That works whit gcc...
//Geron
//Geron ? ,,,__oOo_(O.O)_oOo__| | | | | | | | || | | | | | | | |
You do this the same way that windows programmers do, you track the keydown and keyup messages. If you want you can add some sort of delay so that combo keys will not activate before all keys are pressed.
If you really need more help I''ll dig out my Xlib book and shik it agian.
If you really need more help I''ll dig out my Xlib book and shik it agian.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement