Logging And Controlling XboxOne With Python
Posted: Fri Feb 15, 2019 11:51 am
Dear all,
I've got my GIMX adapter working where I can run the launcher and see all of the live output going to the text option and see the controls on the screen.
My goal right now is to first log ALL of my controller outputs in real-time, ideally in a format that makes it easy for me to play with them in python.
When I launch from the command line:
I get this:
Everything seems to be working, I can control the xbox and move around, but I don't see live output like I do when I run the gimx-launcher. I've looked around on the site, forum, and google and i think I'm kind of stuck here. I would be thrilled if someone could help point me to where I could get live outputs for ALL controllers in real-time like I see with the gimx-launcher and then the next step would be injecting controls with python to auto play.
The project I'm working on is training a deep-learner to play COD on the xbox using video to predict live controller output.
I've got my GIMX adapter working where I can run the launcher and see all of the live output going to the text option and see the controls on the screen.
My goal right now is to first log ALL of my controller outputs in real-time, ideally in a format that makes it easy for me to play with them in python.
When I launch from the command line:
Code: Select all
gimx -c XOnePadUsb.xml --status --nograb --force-updates -t XboxPad --src 127.0.0.1:51914
Code: Select all
global option -c with value `XOnePadUsb.xml'
controller #1: option -t with value `XboxPad'
controller #1: option -s with value `127.0.0.1:51914'
grab flag is unset
status flag is set
force_updates flag is set
using default refresh period: 8.00ms
Warning: joystick not found: Microsoft X-Box One pad 0
The project I'm working on is training a deep-learner to play COD on the xbox using video to predict live controller output.