#4329948 - 01/20/17 04:01 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
1 - Yes, if you want more buttons need reconfigure JoySetup to add more lines and columns, or can set in that way since the begin, can set 32 buttons and use only 4, buttons are NO circuits, so if you dont press then dont make difference. Bu reconfigure JoySetup is easy and fast. 2 - Diode 1N4148 is need if you want use Diode Matrix, not for Shift Register. 3 - Each Shift Register IC handle 8 buttons, so the IC count in your PCB depends on number of buttons wanted. A Shift Register board can be chained in the next. 4 - Making then. In Sparkfun are a Shift Register board based on 74HC165, but I dont know if work "PnP" in MMjoy2.
|
|
#4330043 - 01/20/17 09:33 PM
Re: MMJoy - Build your own USB controller
[Re: Barra]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
Thanks to all for this incredible source! I am very new to all this but want to make the jump after reading all this thread and others. I have just received Pro Micro clone but still need to get a few things. Eventually I plan to attempt rudder pedals with a number of additional buttons. However to learn the process I am starting slow. Step 1 is to make a simple box with 4 buttons a Pot and Encoder (the last 2 are just for learning as I have no plans for them yet). Step 2 will be to add another 16-20 buttons with either matrix or Shift Register 74HC165.
Some questions: When I add the extra buttons in Step 2 do I need to do a re-set of board so that it adds them? I know that a matrix needs Diodes like 1N4148. But I am getting mixed up with Shift registers. Some posts say no Diodes but example in the Wiki seems like it has some. For a Parallel In Serial out Shift Register is all I need the 2-3 IC's and a PCB? What is best way to obtain a PCB for Shift Registers?
Thanks You don't need to reload the Firmware it is only done once (unless it gets an upgrade by Mega-Mozg) you just reload the "sets" with the "load sets to device button", very fast and easy. When you restart MMJoy you can also "Load Sets from Device" if needed I'm very new too , so not sure about the Shift registers as my FLCS already had them (4021 type) in the Handle Originally. One of the members here Debolitis? has an OSH webpage for them already made and you can just order them in several types to suit your needs. *** SR PCB's my link to his page (click the Blue link) .....https://oshpark.com/profiles/Debolestis/page/2 KB
Last edited by Kbird; 01/23/17 03:49 AM.
|
|
#4330050 - 01/20/17 09:44 PM
Re: MMJoy - Build your own USB controller
[Re: Kb1rd1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
Hi , I finally have a modded FLCS working in Windows with MMjoy2 , thanks again to Mega for MMJoy2 , I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.
I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..
Thanks again.
KB.
So noboby knows or did nobody see this question ? thanks guys.... KB
|
|
#4330051 - 01/20/17 09:46 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 115
Barra
Member
|
Member
Joined: Dec 2016
Posts: 115
Australia
|
4 - Making then. In Sparkfun are a Shift Register board based on 74HC165, but I dont know if work "PnP" in MMjoy2. Thanks Sokol1 - is this what you are referring too? https://www.sparkfun.com/products/11733If so I maybe I will try depends if I can get one locally. Kbird thanks also. I will look up Debolitis source.
|
|
#4330086 - 01/20/17 11:13 PM
Re: MMJoy - Build your own USB controller
[Re: Kb1rd1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.
I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..
So noboby knows or did nobody see this question ? This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2". No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function). Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one.
|
|
#4330094 - 01/20/17 11:47 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.
I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..
So noboby knows or did nobody see this question ? This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2". No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function). Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one. MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together? I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow. Thanks Sokol1 KB.
|
|
#4330106 - 01/21/17 12:43 AM
Re: MMJoy - Build your own USB controller
[Re: Kb1rd1]
|
Joined: May 2016
Posts: 55
Forsaken_joystick
Junior Member
|
Junior Member
Joined: May 2016
Posts: 55
Argentina
|
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.
I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..
So noboby knows or did nobody see this question ? This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2". No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function). Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one. MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together? I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow. Thanks Sokol1 KB. In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3.
|
|
#4330129 - 01/21/17 03:33 AM
Re: MMJoy - Build your own USB controller
[Re: Forsaken_joystick]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
, I am still very new to MMjoy and can't figure out how to make MMjoy see the two stage trigger properly as you always pull through the 1st position. MMjoy see both button 15 and then 14 pressed but windows game controller applet only sees the 15 press.
I am of course assuming it is possible with MMjoy... but I may need to wore it differently which is why I thought I ask here..
So noboby knows or did nobody see this question ? This kind of dual trigger always press button 1 and then button 2, so you have "button 1" only and "button1+2". No option for press button 2 only (why I never find this kind of trigger useful other for F-16/A10 PAC function). Perhapes you have changed buttons settings, but no "reload" the "joystick", so Windows still seem the previous config (a Windows fault), why MMjoy2 see both buttons and Windows only one. MMjoy sees Button 15 and then button 15+14 pressed together , the Windows Game Control Applet only sees the 15 and does not appear to see the 15+14 buttons pressed together. I had MMjoy map them as HW Button 1 and HW Button 2 but perhaps MMjoy cannot map the 15+14 keypresses together? I may just have to use only one stage or alter the Trigger so it only hits the 1st switchat that position somehow. Thanks Sokol1 KB. In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3. Which Firmware Version are you using Forsaken? ,I am using 2016-11-01 and already noticed a bug in that is does not "see the programmed axis's in the Used window... but it does see the 22 buttons, maybe this is just something else not possible in 2016-11-01 ? Thx.
|
|
#4330719 - 01/23/17 06:07 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
|
Joined: Apr 2016
Posts: 63
erichos
Junior Member
|
Junior Member
Joined: Apr 2016
Posts: 63
Slovakia
|
|
|
#4330783 - 01/23/17 09:06 PM
Re: MMJoy - Build your own USB controller
[Re: Forsaken_joystick]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
[/quote]
In my setup MMJOY2 software and Windows see exactly the same... the first and later adds the other. Physical button 2 and 3.
Which Firmware Version are you using Forsaken? ,I am using 2016-11-01 and already noticed a bug in that is does not "see the programmed axis's in the Used window... but it does see the 22 buttons, maybe this is just something else not possible in 2016-11-01 ?
Thx.
It's 2016-08-18 I tried some different versions but it didn't help the Trigger issue in my FLCS..... I have done the Wiring on the TQS too now but, I can't however work out/understand how MMJoy2 is setup to Input the Button Matrix fully, I never used MMjoy or MegaMozg's earlier Firmwares, perhaps I should google those tutorials? That section of MMJoy2 only shows (2) 10 input lines even though it supports 132 buttons. I had thought perhaps you program one Row at a time and send it to the Leonardo but that didn't work. I have more buttons than I can put on one Row , so far I have B3 Row (+8 switches/columns) and the ANT switch at B1 Row/D6 Column Setup but I still have the Hat switch I installed to replace the Eraser Nub to setup on B2 . plus a Rotary encoder and some other Switches perhaps. I am using the ICSP header Pins for Rows (COM) as I need the AXIS Pins F0,F1,F4 for my CH Pro PEDALS as well (F7,F6,F5 are used by the TQS Z axis and RNG + ANT Pots) and the other side is Full except Pin 12 which I saved in case I can do a TLE5010 Mod, if needed/possible in the future. hoping someone can post some pics of how it is done , mine so far is below...... THANKS ..... KB.
|
|
#4330785 - 01/23/17 09:10 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: erichos]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
Nice Work Erichos... that proves a button matrix is programmable unless it is all Shift registers???, I just can't figure it out in MMJoy2-2016-11-01 (see above thx.) KB
Last edited by Kbird; 01/23/17 09:12 PM.
|
|
#4330895 - 01/24/17 08:15 AM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Debolestis]
|
Joined: Apr 2016
Posts: 63
erichos
Junior Member
|
Junior Member
Joined: Apr 2016
Posts: 63
Slovakia
|
Which shift registers does cobra use? Cobra has two 4021 shift registers in stick.
|
|
#4330900 - 01/24/17 08:29 AM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Kb1rd1]
|
Joined: Apr 2016
Posts: 63
erichos
Junior Member
|
Junior Member
Joined: Apr 2016
Posts: 63
Slovakia
|
Nice Work Erichos... that proves a button matrix is programmable unless it is all Shift registers???, I just can't figure it out in MMJoy2-2016-11-01 (see above thx.) KB Only 2xCol and 1xRow I used for switch with LED indication (for GEAR) and another one switch. All others are connected to Shift registers. But I do not know what is problem with button matrix? I used it in my previous project w/o problem. I usually use matrix button 6x6 so it is enough for 32 buttons and HAT. I do not understand why do you set rows B3 then 8xNothing and B1???? Same problem in COL between D6 and E6. I allways set it in a row w/o gaps. Then do not forget to set buttons numbers at the table on the right side and "Save sets to device". Must work. This picture may help you: I recommend you use last stable version of MMJoy2 so version [20160818upd1] that is w/o BUGs but button matrix must work at any version. Due to your picture you can use 11 free pins so max you can make matrix of 5x6=30 buttons. You made only 2x9=18 buttons and I think problem is bad setings of SW MMJoy2. If you want post here picture or scheme of your connections and then I make you settings and post here picture of MMJoy2 software settings. OK?
Last edited by erichos; 01/24/17 11:07 AM.
|
|
#4330912 - 01/24/17 11:11 AM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: liliyahq]
|
Joined: Apr 2016
Posts: 63
erichos
Junior Member
|
Junior Member
Joined: Apr 2016
Posts: 63
Slovakia
|
The shift register confused me .l plan to connect the warthog to Arduino micro and use mmjoy firmware 2015 version,so I conncet the MSIO to D2 and the CS to D3.Will it work? Which shift registers did you use? It is important. You can use only IC 4021 or 74HC165. Pins MISO and CS you can connect everywhere, it is digital inputs. And you have to configure at MMJoy2 software correctly. Look at this: https://github.com/MMjoy/mmjoy_en/wiki/C...shift-registers
Last edited by erichos; 01/24/17 11:17 AM.
|
|
#4331003 - 01/24/17 03:27 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: erichos]
|
Joined: Feb 2016
Posts: 13
liliyahq
Junior Member
|
Junior Member
Joined: Feb 2016
Posts: 13
|
The shift register confused me .l plan to connect the warthog to Arduino micro and use mmjoy firmware 2015 version,so I conncet the MSIO to D2 and the CS to D3.Will it work? Which shift registers did you use? It is important. You can use only IC 4021 or 74HC165. Pins MISO and CS you can connect everywhere, it is digital inputs. And you have to configure at MMJoy2 software correctly. Look at this: https://github.com/MMjoy/mmjoy_en/wiki/C...shift-registers THX m8~,the warthog should use 4021 I guess,so I can connect the warthog to the FCC then,thanks again.
|
|
|
|
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
|
|
|
|
|
|
|
|
|
|