Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable pedals using code #15

Open
Borjec1 opened this issue Mar 28, 2022 · 4 comments
Open

Disable pedals using code #15

Borjec1 opened this issue Mar 28, 2022 · 4 comments

Comments

@Borjec1
Copy link

Borjec1 commented Mar 28, 2022

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

@Borjec1
Copy link
Author

Borjec1 commented Mar 28, 2022

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

@Borjec1 Borjec1 closed this as completed Mar 28, 2022
@Borjec1 Borjec1 reopened this Mar 28, 2022
@Unbornsz
Copy link

Unbornsz commented Nov 26, 2023

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

@Borjec1
Copy link
Author

Borjec1 commented Nov 27, 2023

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"

@Borjec1
Copy link
Author

Borjec1 commented Nov 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants