#4623438 - 03/24/23 11:03 AM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jan 2010
Posts: 464
tirta
Member
|
Member
Joined: Jan 2010
Posts: 464
|
why is there no error under win7, but there is error under win10?
Open a game in Windows 10 an press a button in the MMjoy2. If the game see the button press, the error in Game Controllers is caused due change in MMjoy2 joystick name, but the one used previous remain in Windows Register, what prevents the Game Controllers see the new name. If is the case is need clear the Windows register, try use the button "Clear" in MMJoySetup or do this manually using Regedit. Hi Sokol1, Thanks for the reply. I have tried using the mmjoy2 under IL2 great battles & tiny combat arena, but it is not detected, the only game can detect it is falcon BMS, the detected controller name is MMjoy2, but I can not save the keymapping. MMjoy2 is the same name under regedit, only there are 2 version detected: MMjoy2-20150121 and MMjoy2-20150405. MMjoy2-20150405 is the current version that I use. I still do not understand which name should I change. Please explain more.
|
|
#4646224 - 05/05/24 11:29 AM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jun 2022
Posts: 2
mc2mc2
Junior Member
|
Junior Member
Joined: Jun 2022
Posts: 2
|
|
|
#4646628 - 05/14/24 05:47 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: mc2mc2]
|
Joined: Dec 2016
Posts: 456
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 456
|
Hi Kb1rd1!
Thank you very much for pointing me in the right direction! I managed to figure it out and get the shift registers to work by following your hand drawn diagram. Turns out I also didn't realise there were 0k resistors and I was using 10k resistors in their place. I swapped those out and now the shift registers work! I have some more questions if that is ok, I'm trying to add some rotary encoders into the circuit but I can't seem to get them to work properly. Setting them as normal buttons seems to allow mmjoy2 to register the key presses, but I get some bouncing and double key presses. From what I understand, using the timer should compensate for this? However, whenever I add the switches as an encoder within mmjoy2, or use a timer, the rotary encoder completely ceases to function. Any ideas?
Also, would adding a hardware debounce circuit work with mmjoy2? Apologies for all the questions and thank you again!
Edit: I sat down to build the debounce circuit yesterday evening and it actually works. Now mmjoy2 allows me to set it as an encoder within the software and the bounces are gone:) I wonder why it only works with a hardware debounce. Might be to late but . I hade encoder issues too and Erichos did a step by step setup for me here : https://SimHQ.com/forum/ubbthreads....uild-your-own-usb-controller#Post4333127KB
|
|
|
|