PDA

View Full Version : How does TS grab keystrokes?


Hijacker
22-04-2008, 20:05
Hey guys!

I'm wondering how TeamSpeak is grabbing the user's keystrokes, even as a background application? The X11 API doesn't deal with key-down and key-up events, so you just have "key x pressed". Directly grabbing input from the /dev/input/* devices wouldn't work either, as non-root users usually can't read from there.

So what's left, that TS can even recognize key down/up events as a non-active application? :D