thanks
pygame: is there a way to get input from xbox controller?
#2 Crossbones+ - Reputation: 743
Posted 24 February 2013 - 08:02 AM
Yes. Write a python module in C using DirectInput, and use that module in your python program. I don't think there is another way, unless somebody already has done that and is offering their library up for free.
"The only thing stopping you from what you want in the future is what you want right now." - Zig Ziglar
#3 Members - Reputation: 193
Posted 24 February 2013 - 02:53 PM
hi
i found a small script on the net:
#!/usr/bin/env python
Edited by nickme, 24 February 2013 - 02:54 PM.
#4 Members - Reputation: 1349
Posted 24 February 2013 - 03:21 PM
You'd probably want to use XInput http://msdn.microsoft.com/en-us/library/windows/desktop/hh405053%28v=vs.85%29.aspx
C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!






