I am not a developer by any means, but I've done some research and found a key update I'd like to make to my NRage Input plugin. I'm facing an issue where controllers that are not turned on when Project64 launches will be dropped from the input list indefinitely. This controller will remain dropped until you close Project64, turn on the controller, launch Project64, and reconfigure the controller. Such a pain!
There's a fix to this by adding gController->bConnected = true; to XInputController.cpp
result = XInputGetState( nControl, &state ); gController->bConnected = result == ERROR_SUCCESS; gController->bConnected = true; gController->nControl = nControl; TCHAR buffer[MAX_PATH];
I tried my hand at doing this myself but I couldn't get it to properly decompile (I was guessing at a lot of the options and settings in the decompiler I used). Can someone lend me a hand? I'd love to assist in the update (yes, I realize it's just adding one line of code)