#4578920 - 09/02/21 02:42 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: tirta]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
..it is limited for 16 buttons. and also the button reaction is too fast, it seems all of them is continuous response.
This is game limitation, no controller limitation. You can make buttons above #16 send key press, are several programs for this, e.g. JoyTokey RSMapper SVMapper Xpadder The above don't need install, just extract for a folder and run "As administrator" and allow "key press on (button) press and on button release." Or more advanced (macros, timings...) but require install drivers, Joystick Gremlin.
|
|
#4578921 - 09/02/21 02:47 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: DonPIn]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
A copy of MMJoy2 20160818 version required. MMJoy2 website appears somewhat abandoned.
What "MMJoy2 website" you refer? Indeed MegaMOZG no longer develop, support MMjoy2, as he now work for VirPil (joystick manufacturer). But their files still available in their Russian web site: https://sites.google.com/site/mmjoyproject/fajly-dla-skacivaniaI check now (02/09/2021) and links are OK.
Last edited by Sokol1; 09/02/21 02:52 PM.
|
|
#4579198 - 09/05/21 01:04 PM
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
|
This is game limitation, no controller limitation.
You can make buttons above #16 send key press, are several programs for this, e.g.
JoyTokey RSMapper SVMapper Xpadder
The above don't need install, just extract for a folder and run "As administrator" and allow "key press on (button) press and on button release."
Or more advanced (macros, timings...) but require install drivers, Joystick Gremlin.
Hi Sokol1, It is nice to hear from you again. yes, joytokey is the one that I am looking for. I hope it still works in win 10. Cheers.
|
|
#4579207 - 09/05/21 03:21 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: tirta]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
I hope it still works in win 10.
All the above work with latest version of Win 10.
|
|
#4579401 - 09/07/21 05:44 PM
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
|
thanks Sokol1 for the reply. of these four: JoyTokey RSMapper SVMapper Xpadder which one do you like best?
|
|
#4579434 - 09/08/21 03:08 AM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
The "best" will be Joystick Gremlin, because have all features of the four.
The use of one of the four depends on game and player needs, because each have their own limitations:
I use JoyToKey for "mouse emulation" in joystick POV HAT for overcome the obsolete camera control of IL-2 Cliffs of Dover, can use XPader too, but their interface is a bit cumbersome for teh same result.
But I can't use JoyToKey for IL-2 Great Battles (Bo'X') because the way this game see keypress result in problems with combos, e.g. LCtrl+A, the game see LCtrl+A and A.
For this game RSMapper of SVMapper work OK, but both don't allow map keypress in axes, what JoyToKey and XPadder do.
XPadder and RSMapper allow set an delay between key press, allowing create sequences for commands in just one button, e.g. open de canopy and the bail out (available in some flight games), JoyToKey and SVMapper no.
|
|
#4579470 - 09/08/21 06:07 PM
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
|
thanks Sokol1 for the explanation. I think you are correct, I should try all of them for each game that I want to emulate.
|
|
#4581898 - 10/05/21 04:49 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Oct 2021
Posts: 1
luowilliam
Junior Member
|
Junior Member
Joined: Oct 2021
Posts: 1
|
Hi guys, I have 2 questions: 1. I'm trying to get this 7-way funky switch working with mmjoy. It looks like this is just 4 direction buttons, 1 center push button and 1 encoder all in one device. The problem I'm running into is when any of the 4 direction buttons is pressed the center push button also gets activated. But when center button is pressed, only that button is activated. This is designed behavior as shown in the logic chart from the manufacturer. https://tech.alpsalpine.com/prod/e/html/multicontrol/switch/rkjxt/rkjxt1f42001.htmlI see there is some solution implemented in code that gets around this issue in freejoy. Is there a way to make this device work properly (4 direction button and center push button independent) in mmjoy? (link to the freejoy site below) https://github.com/FreeJoy-Team/FreeJoy/issues/342. Is there the ability to use 1 analog channel to input a 12-position switch with voltage dividing resistors? similar to this solution here? https://aws1.discourse-cdn.com/ardu...4dba7d27d4ec4b0a2faa5ab396b17985039b.pngThanks in advance.
Last edited by luowilliam; 10/05/21 04:53 PM.
|
|
#4584585 - 11/06/21 09:41 AM
Re: MMJoy - Build your own USB controller
[Re: tirta]
|
Joined: Nov 2021
Posts: 2
Gpau
Junior Member
|
Junior Member
Joined: Nov 2021
Posts: 2
B
|
Hi, how do you configure multiple encoders? Thank you This image show that are using an old version o MMjoy2, from 2015. The one that is considered more stable is the he penultimate [v20160818upd1], the last supposed have a bug, don'k remember what. MMjoy2 download from mega MOZG (author) page. this link still works
|
|
#4585785 - 11/23/21 03:44 PM
Re: MMJoy - Build your own USB controller
[Re: Gpau]
|
Joined: Sep 2014
Posts: 33
SolderMonkey
Junior Member
|
Junior Member
Joined: Sep 2014
Posts: 33
Ari-freakin-zona
|
https://SimHQ.com/forum/ubbthreads....uild-your-own-usb-controller#Post4333127Encoders are usually 3 or 5 connections. If you see 5, then 3 of those are the encoder part and 2 will be a separate switch which is usally a pushbutton on the encoder knob. The pushbutton switch portion gets wired up like any other switch in your matrix. Don't forget your Diodes. The encoder portion has a left and a right direction for each. You can think of it as a switch matrix for the purposes of hooking it up. If you have 2 encoders, hooking the "center" connection as a ground line will work. The Right and Left lines on each encoder should be hooked to a different pin within your matrix. You need to identify pins in the rows and columns portion of your button matrix. Then, identify the left/right pins of your encoder in the encoders tab. They have a VERY fast action, so you might want to increase the duration using the timers function.
|
|
#4585984 - 11/26/21 04:11 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jul 2010
Posts: 5
hoover
Junior Member
|
Junior Member
Joined: Jul 2010
Posts: 5
|
Hi folks, I'm trying to repair some pro flight rudder pedals I was "gifted" by a flying buddy and got an ATMega32U4 to do the job. I've flashed the MMJoy2 firmware successfully (using Linux), tried a simple "one button" joystick setup and that worked like a charm. So today I went about and tried to connect the main rudder axis to the Mega board using MMJoy2. The potentiometer seems to be working ok and delivers values in the range of 16-42 with the multimeter set to 200kOhm over the physical range of the pedals. I then connected the three poti arms to the Mega: left pin: GND middle pin: A3 right pin: VCC but sadly nothing shows up in MMJoy2. I've tried switching the GND / VCC connections and using a different input (A2), but after flashing the new setup to the firmware the MMJoy2Setup still claims that I have "0 buttons, 0 axes" configured. Sensor is set to "internal", windows mapping to "X" (I tried other axes as well), calibration to "auto with center", resolution to "10", lowest value. The calibration tool also shows no change in values when I move the physical axis about. I'd be most grateful for any help in resolving this, it'd be a shame to see some good hardware go to waste :-) Thanks in advance & all the best, Uwe
|
|
#4586027 - 11/27/21 02:52 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Jul 2010
Posts: 5
hoover
Junior Member
|
Junior Member
Joined: Jul 2010
Posts: 5
|
Hi, I managed to solve the issue by reverting to an older version of mmjoy2, changing the input MCU name from A0 to F7 and plugging the connectors directly into the pro micro (for some reason, the breadboard connections wouldn't work). Details here: https://forum.falcon-bms.com/topic/...pro-flight-rudder-pedals?_=1638024728782Cheers, Uwe
|
|
#4586028 - 11/27/21 03:47 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: hoover]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
I then connected the three poti arms to the Mega:
left pin: GND middle pin: A3 right pin: VCC
MMJoy2Setup still claims that I have "0 buttons, 0 axes" configured.
You need define in MMJoySetup what pin are using for X axis input, is not the number of Arduino PCB (A3) but their hexadecimal correspondent - see in first post. After change and "save settings for device" you see "0 buttons, 1 axes". And click in "calibration helper" and do the calibration, don't use the (obsolete) Windows Games Controller calibration. Your above link ask for password.
Last edited by Sokol1; 11/27/21 03:49 PM.
|
|
#4594000 - 03/13/22 01:10 PM
Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino
[Re: Sokol1]
|
Joined: Apr 2015
Posts: 13,874
F4UDash4
Veteran
|
Veteran
Joined: Apr 2015
Posts: 13,874
SC
|
Echoing miwashi's post above:
Is there an "MMJOY for Dummies" manual / website / video available somewhere? I don't relish the thought of wading through 2200 posts and figuring out what has changed over the 8 years since this thread started!
Thanks!
"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
|
|
|
|
|
|
|
|
|
|
|
|
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
|
|