Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 112 of 112 1 2 110 111 112
#4622234 - 03/07/23 03:03 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino ***** [Re: tirta]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted by tirta

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.

Inline advert (2nd and 3rd post)

#4622278 - 03/08/23 03:42 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Apr 2015
Posts: 14,048
F4UDash4 Online cool
Veteran
F4UDash4  Online Cool
Veteran

Joined: Apr 2015
Posts: 14,048
SC
Thanks Sokol1


"In the vast library of socialist books, there’s not a single volume on how to create wealth, only how to take and “redistribute” it.” - David Horowitz
#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 Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
Originally Posted by Sokol1
Originally Posted by tirta

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.

#4644626 - 04/02/24 06:55 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Apr 2019
Posts: 3
sinuos Offline
Junior Member
sinuos  Offline
Junior Member

Joined: Apr 2019
Posts: 3
Hello mates. I need some help. I want to build a board for the TLE 5010 sensor.Do i need to put any resistors or i just simple connect sensor to arduino?

#4644818 - 04/07/24 05:57 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Mar 2024
Posts: 3
Tigger-86 Offline
Junior Member
Tigger-86  Offline
Junior Member

Joined: Mar 2024
Posts: 3
Gangelt
Good morning,
I have tried to recreate the same schema, but somehow all 8 buttons are marked red....
what am i doing wrong ?
I have only connected one button for testing.


thanks for help

Attached Files mmjoy2.PNGbread.PNG
#4644922 - 04/09/24 09:36 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Tigger-86]  
Joined: Mar 2024
Posts: 3
Tigger-86 Offline
Junior Member
Tigger-86  Offline
Junior Member

Joined: Mar 2024
Posts: 3
Gangelt
now i have another problem...
i have connected a register... it recognizes all 8 and all are displayed as 8 red boxes... as if they were pressed.....
what am i doing wrong ?
does anyone have another plan with a 74HC165?

#4644929 - 04/09/24 01:15 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Dec 2009
Posts: 749
AndyB Offline
Member
AndyB  Offline
Member

Joined: Dec 2009
Posts: 749
Ayrshire, Scotland
Hi,

Had a look at your circuit and the pinout for the 74HC165.

The serial output from the chip is on PIN 10. You have the serial out on PIN 9 which is an output of some sort.

That's why the program is seeing it as pushed.

Change the Yellow wire to pin 10 and that should work.

Hope this helps you.

Cheers,

AndyB


Andy's simpit: http://www.simpit.me.uk
#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 Offline
Junior Member
mc2mc2  Offline
Junior Member

Joined: Jun 2022
Posts: 2
Hi everyone, I'm trying to make a shift register board on my breadboard but so far I'm not getting it to work properly with mmjoy2.
I've used mmjoy2 with a button matrix before and it worked perfectly but I'm having a lot of issues with the shift registers.

Apologies for the messy fritzing diagram. It's my first time using it. I followed various schematics I found online and on this thread.
In my first iteration, I didn't have the extra 10k resistors and the 100nf capacitors and the buttons kept flashing randomly in mmjoy2 while nothing was pressed.
After reading parts of this thread, I added the 10k resistors and capacitors. Now the buttons don't randomly flash when the buttons aren't pressed, but once I press a button, the button indicator will light up and multiple buttons will start to randomly flash again.

Any help on what I am doing wrong would be greatly appreciated!!

Attached Files IMG_0717.jpgshift register diagram.pngmmjoy2 shift register button flash.png
#4646251 - 05/06/24 02:55 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: mc2mc2]  
Joined: Dec 2016
Posts: 456
Kb1rd1 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 456

Hi MC2MC2,

Been quite a while since I was here, I did my FLCS/TQS conversions in 2016 and there is a Thread on that too.

I had trouble with the Shift Registers as well at 1st and ended up making my own PCB out of ProtoBoard following MegaMorg's PCB diagram,
but got some good advice on My thread about that, as I had Issues too, which I believe starts on page 131 and goes on for 4-5 pages here :

https://SimHQ.com/forum/ubbthreads....uild-your-own-usb-controller#Post4348359

or

https://SimHQ.com/forum/ubbthreads.php/topics/4347381/133


KB.


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
#4646328 - 05/07/24 01:29 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Kb1rd1]  
Joined: Jun 2022
Posts: 2
mc2mc2 Offline
Junior Member
mc2mc2  Offline
Junior Member

Joined: Jun 2022
Posts: 2
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.

Attached Files IMG_0751.jpg
Last edited by mc2mc2; 05/08/24 05:04 AM. Reason: update
#4646607 - 05/14/24 07:21 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Mar 2024
Posts: 3
Tigger-86 Offline
Junior Member
Tigger-86  Offline
Junior Member

Joined: Mar 2024
Posts: 3
Gangelt
Hi,
I have tried to build two boards.
unfortunately it doesn't work as it should...
the display in the software flashes back and forth...
some buttons work... but as soon as i connect it to windows as HID it doesn't really work anymore...
the board with the arduino on it doesn't work at all.
I don't know if I've built something wrong...
maybe someone can tell me where the error lies...
i also use 10k resistors... is that the reason for the blinking ?
hope someone can help me... because i'm slowly going crazy
.thanks

Attached Files PCB MCP3208.PNGPCB 74HC165.PNG
#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 Offline
Member
Kb1rd1  Offline
Member

Joined: Dec 2016
Posts: 456
Originally Posted by mc2mc2
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#Post4333127


KB


My FLCS+TQS Conversion here on SimHQ

http://simhq.com/forum/ubbthreads.php/topics/4324940/1
Page 112 of 112 1 2 110 111 112

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
PC master race skit
by Blade_RJ. 05/31/24 11:03 PM
Need Geometry Help
by F4UDash4. 05/31/24 02:49 AM
F-35 Crash
by F4UDash4. 05/28/24 11:56 PM
Most Common 4-Digit Pin Numbers
by F4UDash4. 05/28/24 09:59 AM
Dick Bong Aircraft Found
by F4UDash4. 05/27/24 02:01 AM
Spitfire Crashes.
by RedToo. 05/25/24 04:06 PM
USS Slater Destroyer Escort at War
by wormfood. 05/24/24 06:20 PM
Sunk US WW2 sub found after 80 years
by DM. 05/24/24 08:16 AM
Movie Box Office visits?
by PanzerMeyer. 05/21/24 05:42 PM
The Old Pilot
by KRT_Bong. 05/21/24 12:30 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0