Restrict Applications access to Device
Posted
by
Dboy1612
on Super User
See other posts from Super User
or by Dboy1612
Published on 2013-10-26T21:00:36Z
Indexed on
2013/10/26
22:00 UTC
Read the original article
Hit count: 238
I have a PC that has the ability to handle running multiple game clients at once (specifically Tera Online). What I'd like to do is assign and/or restrict each clients access to a device (Gamepad) so that the actions from each device only effects the client I specify.
After doing some research with Python's PyGame, I can see that a Gamepad essentially works like a Keyboard does by sending global key events to the entire system, and then the application reading those events. Question is, how can I make it not global? ONly have one application read one controller? Any help is appreciated!
© Super User or respective owner