Search found 3 matches
- Fri Feb 15, 2019 1:01 pm
- Forum: GIMX Discussion
- Topic: Logging And Controlling XboxOne With Python
- Replies: 4
- Views: 5259
Re: Logging And Controlling XboxOne With Python
So for the python lovers out there, I'm getting logging lines in real-time to play with like this: from subprocess import Popen, PIPE def run(command): process = Popen(command, stdout=PIPE, shell=True) while True: line = process.stdout.readline().rstrip() if not line: break yield line if __name__ ==...
- Fri Feb 15, 2019 11:59 am
- Forum: GIMX Discussion
- Topic: Logging And Controlling XboxOne With Python
- Replies: 4
- Views: 5259
Re: Logging And Controlling XboxOne With Python
Ok, rubber ducking it, I played more with the launcher and noticed I wasn't setting the subpos flag: gimx -c XOnePadUsb.xml -p /dev/ttyUSB0 --status --nograb --force-updates --subpos -t XboxPad --src 127.0.0.1:51914 This is now doing what I want, now I just need to wrap it in python to handle/log th...
- Fri Feb 15, 2019 11:51 am
- Forum: GIMX Discussion
- Topic: Logging And Controlling XboxOne With Python
- Replies: 4
- Views: 5259
Logging And Controlling XboxOne With Python
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 ...