n-e-y-s/G27_Pedals_and_Shifter

Disable pedals using code

Borjec1 opened this issue · 4 comments

Hello. Can you please explain to me, what must i change in code to disable pedals? I need it for some reasons, your code works great, but when pedals are disabled - everything works very bad, because of axis going crazy

Sooo i managed to do this. I used code from this thread, changed it's values using this thread and got code that is in ZIP file. You can edit it to use with G25/G27 or G29 shifter by searching G27.setButton(buttonTable[i], buttons[i]);

If you make code like this G27.setButton(buttonTable[i], buttons[i]); - it works for g25/g27
If you make code like this //G27.setButton(buttonTable[i], buttons[i]); - it works for driving force shifter

Shifter.zip

Good luck

Bro did you had this problem of axis even after disabling the pedals ? Because i think i'm having the same problem, i only have a g27 shifter and made a last calibration attempt to see if it fixes, if it keeps getting disconfigurating then i believe i'll have to do your fix. Look how i calibrated
Captura de tela 2023-11-26 194305

Bro did you had this problem of axis even after disabling the pedals ? Because i think i'm having the same problem, i only have a g27 shifter and made a last calibration attempt to see if it fixes, if it keeps getting disconfigurating then i believe i'll have to do your fix. Look how i calibrated Captura de tela 2023-11-26 194305

I sell this adapters and my clients never use this calibration tool, its useless. If you want to totally disable pedals - unmark "use pedals" in code with two //, they wont even have axis in windows, if you go "windows - execute - joy.cpl"

Bro did you had this problem of axis even after disabling the pedals ? Because i think i'm having the same problem, i only have a g27 shifter and made a last calibration attempt to see if it fixes, if it keeps getting disconfigurating then i believe i'll have to do your fix. Look how i calibrated Captura de tela 2023-11-26 194305

Thing that i replyied in second message was about another problem, it solves it too. One more problem is that some shifters have "bad" neutral, you can calibrate it with 4 numbers in code