How can I send input from wired xbox controller?

Asked by Chris Watkins

I have to test a windows application that only uses a USB game controller (xbox) for input. I'm not sure how put controller input into python/sikuli.

Specifically, I want to tell the game that the xbox controller pressed A, or Down on the D pad or Up on the Left Thumbstick, probably in long sequences (UP, A, DOWN, DOWN, A)

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

If there are no mouse and/or keyboard equivalencies, there is no easy solution.

If this is not possible, you have to look for a Python (must be pure Python code, no C code) or Java based solution, that simulates/emulates a connected XBox.

Can you help with this problem?

Provide an answer of your own, or ask Chris Watkins for more information if necessary.

To post a message you must log in.