matlo / GIMX

The GIMX software.
GNU General Public License v3.0
591 stars 105 forks source link

GimX does not detect Titan One on latest firmware #654

Closed fvig2001 closed 4 years ago

fvig2001 commented 4 years ago

I just installed 7.15. I was able to at least connect to Titan One 2.60. I then updated to Titan One 2.66 and the device is no longer detected by Gimx. I get no GPP detected.

Device is able to work with no issues with GTuner

matlo commented 4 years ago

Create a file named gpp.txt in %APPDATA%\gimx (Windows) or ~/.gimx (Linux), containing the following line:

2508 0003

... and let me know if it works!

fvig2001 commented 4 years ago

It still fails. I compiled the code, which was a bigger nightmare this time (it wasn't so bad on 2013). It goes to here:

switch(report.console) { case CONSOLE_DISCONNECTED: ret = -1; printf("A3\n"); break;

I checked output: else if (bytesReceived && rcvBuf[0] == GPPKG_INPUT_REPORT) { rcvbuf is: 1 46 0 1 5 0 0 80 0 1 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 0 3 0 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 155 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

This was with a 360 pad connected to my PC. Prog port connected to PC and an xbox one pad connected to the titan one.

btw, how do you compile it to run in pure windows? I can only get it to compile and run only msys2 + mingw64 environment

fvig2001 commented 4 years ago

It seems that the old version was giving false reports when it was disconnected from the console. I ended up just connecting it to a PS3 and it seems to work even without the text file. Anyway, could you point me in the right direction to compile this to run in Windows? Msys + mingw64 gives me an exe that only works in msys and make install fails due to missing files.

I will probably try to fix the Switch support myself. The up arrow seems to keep on getting pressed after any key has been pressed. You can close this issue.

Basic switch support seems to work with just using C_TYPE_360_PAD. Analog and buttons seem to be fine in the controllers and Sensors settings.

matlo commented 4 years ago

master branch is quite ahead of version 7.15. Reinstall msys2 following the wiki instructions. https://gimx.fr/wiki/index.php?title=Development_on_Windows