ranenbg / Arduino-FFB-wheel

Stand-alone DirectInput USB device recognized in Windows as a joystick with force feedback functionality, based on BRWheel by Fernando Igor from 2017.
159 stars 20 forks source link

reset the config and calibrations #60

Closed MrCjxer closed 2 months ago

MrCjxer commented 3 months ago

Hi I want to reset the config I mean I want to see the pink window for config and change buttons again What should I do?🤔

354812219-cf7c24a2-c6ff-4b6b-8795-96febed294a2

*Note : i didn't see this pink window never 🤔 it's just automatic did the job 😅 but I want to change it and reset it I am using 230cx.hex of your FW

Marcos2BR commented 3 months ago

in dir. ...._\wheel_control_v2_60\data delete file "Arduino Leonardo wheel v4" or "Arduino Leonardo wheel v5"

This is the file where the button map is located.

MrCjxer commented 3 months ago

in dir. ...._\wheel_control_v2_60\data delete file "Arduino Leonardo wheel v4" or "Arduino Leonardo wheel v5"

This is the file where the button map is located.

Hi and thank you I did delete files you said but it happened :

wrong

and i still can't map buttons :(

Marcos2BR commented 3 months ago

just config the COM PORT in file "COM_cfg.txt" See more in Troubleshooting - first time run : COM_cfg.txt

ranenbg commented 3 months ago

Ok, I have to involve here. Plsease don't delete Arduino Leonardo wheel v5 file, as this is what GUI expects to see in data folder. I'm not sure if you can create it yourself, it should be possible but I didn't check it. If you do manage to create it by yourself, the mapping file must be named exactly like that, or the gui will hang durring the startup like that.

Why do you want to change these mappings? Can't you just rewire your buttons such that you see it in GUI as you want? This is only link between HID and my GUI, you are not remaping buttons as seen by windows (HID). The games are looking at HID, so you should remap by hardware connections, it's very easy, I have documented which arduino nano pin corresponds to which HID button. What you're trying to do has no meaning, as I said before.

Marcos2BR commented 3 months ago

I'm sorry, I was just trying to help. Before, I did tests on the protoboard and tried to use a potentiometer for the X axis, sometimes I needed to reset the mapping and I think I deleted this file...

ranenbg commented 3 months ago

Yeah, no worries, I understand. It's just something I have not experimented with myself. I did originaly create the mapping using the pink window in the first place. This is not my code, it's just a HID library that I'm using. It has it's downsides, but this is how it is at the moment, it's pretty much dictated by that game controls plus lib. Without it, GUI would still work but one could not see any axis or buttons, as it reads directly the HID values from the device.

MrCjxer - just spend some time to rewire your buttons on arduino nano and you're good to go.

MrCjxer commented 3 months ago

Ok, I have to involve here. Plsease don't delete Arduino Leonardo wheel v5 file, as this is what GUI expects to see in data folder. I'm not sure if you can create it yourself, it should be possible but I didn't check it. If you do manage to create it by yourself, the mapping file must be named exactly like that, or the gui will hang durring the startup like that.

Why do you want to change these mappings? Can't you just rewire your buttons such that you see it in GUI as you want? This is only link between HID and my GUI, you are not remaping buttons as seen by windows (HID). The games are looking at HID, so you should remap by hardware connections, it's very easy, I have documented which arduino nano pin corresponds to which HID button. What you're trying to do has no meaning, as I said before.

Hi i want to change some buttons. Like the handbrake axis, I don't it . and i want to remove it or change the buttons may i have the ping window or not?

i am use your HEX for my Arduino Lenonardo thank you

MrCjxer commented 3 months ago

I'm sorry, I was just trying to help. Before, I did tests on the protoboard and tried to use a potentiometer for the X axis, sometimes I needed to reset the mapping and I think I deleted this file...

hi but it did not work for me :( still need to get the ping window

MrCjxer commented 3 months ago

@ranenbg

hi please HELP me :( I need to remap the PINs and buttons I was waiting for weeks :(

just tell me how to go in pink window and remap all PINs thank you

MrCjxer commented 2 months ago

Hi ... I need it bro, please tell me how to get pink window 😭 My project stopped for weeks... Just for that I want change buttons My A4 on Arduino Leonardo is broken and it remains connected, i want disable it And something more

Please help 🙏🏻

@johanneslerch Sorry to bother you 🙏🏻 Can you help me with that ? I think @ranenbg tired of me 🥲

ranenbg commented 2 months ago

Either get a new arduino or just connect A4 to gnd.

MrCjxer commented 2 months ago

BRO please! :|

can you just tell me how I should reset the configs and see the pink Window?! it is not about just the A4 pin I want to change some button and ANALOG pins all wires connected with shield, and I can't change it Hardware wise. please just tell me how should I go in pink window, if it is impossible just tell me << it is not possible >>

THANK YOU ...