We get it. We use ad blockers too. But GameDev.net displays them so we can continue to be a great platform for you.
Please whitelist GameDev.net and our advertisers.
Also consider a GDNet+ Pro subscription to remove all ads from GameDev.net.
Jump to content
GameDev.net Posting Guidelines (please read before posting)
For Beginners Forum FAQs (please read before posting)
Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
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.
C dominates the world of linear procedural computing, which won't advance. The future lies in MASSIVE parallelism.
Posted 24 February 2013 - 02:53 PM
i found a small script on the net:
Edited by nickme, 24 February 2013 - 02:54 PM.
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
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.