Mortisrose Posted February 26, 2019 Posted February 26, 2019 The "axis to button" is quite a useful feature, it allows 4 extra buttons with little impact to the original functioning of the microstick on my Cougar throttle while increasing its versatility. I have it set to 0-18 on the low end of axis and 85-100 on high end. This allows simultaneous pressing of two buttons when stick is moved in the corners giving it a function similar to a hat switch. The throw of the microstick is small so the reduced axis is not very noticeable and no adjustment was needed in DCS as it still read 0 to 100 of the axes. i7 7700k, 32 GB RAM, GTX 1080, 500 GB NVMe m.2 SSD, Trackir 3 Pro, Gunfighter Mk I w/MCG; Mod. TM Cougar throttle and Mod. CH Pro Pedals w/Pro Micro + MMjoy2, Nostromo n52
slowmover Posted March 17, 2019 Posted March 17, 2019 I have this problem any ideas?I changed the port of the usb but nothing. [sIGPIC][/sIGPIC]
Sokol1_br Posted March 17, 2019 Author Posted March 17, 2019 This happens when you make changes in device, e.g. change name or number of axes but keep the same VID/PIP. Then Windows continues look for the old name. Solution remove the old name from Windows registry, or use different VID/PID (you have 9999 options). ;) BTW - Despite the controller don't show in Windows Games controller, they work in games (I have tested) and joy testers, another suggestion that Windows Games controller is obsolete. :D
ice_pdb Posted March 25, 2019 Posted March 25, 2019 I have this problem any ideas?I changed the port of the usb but nothing. I think you need to configure your MMJOY2 with Poll with a "-" https://gyazo.com/02ab3cc51dbc437129b5660c77632342
ice_pdb Posted March 26, 2019 Posted March 26, 2019 I have this problem any ideas?I changed the port of the usb but nothing. I also remember having a similar problem with windows joystick properties/test... I had to look for the not working joystick Windows Registry and manually deleting that key....
slowmover Posted April 5, 2019 Posted April 5, 2019 Can you please remember me how many shift register 74hc165 can i put at one arduino pro micro?I always forget it :-) If i am correct i can put 18 shift register so i can have 120 buttons? [sIGPIC][/sIGPIC]
Ala12Rv-Tundra Posted April 5, 2019 Posted April 5, 2019 Following this post, I just ordered an Arduino clone Leonardo; being my intention building a button box as an addon to my throttle mount. i5 8400 | 32 Gb RAM | RTX 2080Ti | Virpil Mongoose T-50 base w/ Warthog & Hornet sticks | Warthog throttle | Cougar throttle USB | Orion 2 throttle base w/ Viper & Hornet grips| VKB T-Rudder Mk IV | Oculus Rift S | Buddy-Fox A-10 UFC | 2x TM MFDs & 1x WW DDI | 2x Bass shakers | SIMple SIMpit chair | WW TakeOff panel | Andre JetSeat | WW Hornet UFC | WW Viper ICP FC3 - Warthog - F-5E - Harrier - NTTR - Hornet - Tomcat - Huey - Viper - C-101 - PG - Hip - SuperCarrier - Syria - Warthog II - Hind - South Atlantic - Sinai - Strike Eagle - Phantom - Mirage F1 - Afghanistan - Irak
Sokol1_br Posted April 5, 2019 Author Posted April 5, 2019 Can you please remember me how many shift register 74hc165 can i put at one arduino pro micro?I always forget it :-) If i am correct i can put 18 shift register so i can have 120 buttons? Each Shift Register (74HC165 or CD40921) m/c control 8 buttons, so theoretically the maximum you can chain is 15.
slowmover Posted April 6, 2019 Posted April 6, 2019 (edited) Can sameone tell me what i must do so encoders can be recognized by the programm? I have connected the encoder to position 1-2-3-4 and i have choose them to be encoders but they do not work. The encoder position is 1-2-3-4-9-10-11-12-17-18-19-20-25-26. https://i.imgur.com/nAfFfo7.png Edited April 6, 2019 by slowmover [sIGPIC][/sIGPIC]
Goblin Posted April 6, 2019 Posted April 6, 2019 An encoder can only be two buttons. Does hardware button 1&2 light up in MMJoy when you twist the encoder? Even if you have attached the encoder correctly, the pulse that the encoder generates may be too fast to register. You have to set up a timer, that increase the signal duration. Use the VKB Button tester, and click the log to see if there is any signals being registered.
slowmover Posted April 6, 2019 Posted April 6, 2019 (edited) An encoder can only be two buttons. Does hardware button 1&2 light up in MMJoy when you twist the encoder? Even if you have attached the encoder correctly, the pulse that the encoder generates may be too fast to register. You have to set up a timer, that increase the signal duration. Use the VKB Button tester, and click the log to see if there is any signals being registered. No they do not light up.On VKB tester only button 2 gives me some input other is dead Can you post me a picture to see how set up the encoder on mmjoy? Edited April 6, 2019 by slowmover [sIGPIC][/sIGPIC]
Sokol1_br Posted April 6, 2019 Author Posted April 6, 2019 (edited) See this (encoder) explication: http://simhq.com/forum/ubbthreads.php/topics/4332855/re-mmjoy-mmjoy2-build-your-own-usb-controller#Post4332855 Think is good idea keep encoder buttons near, e.g. 1 - 2... 25 - 26... but not 17 - 20. And keep all Encoder connected in the same Shift Register M/C. Edited April 6, 2019 by Sokol1_br
slowmover Posted April 6, 2019 Posted April 6, 2019 (edited) See this (encoder) explication: http://simhq.com/forum/ubbthreads.php/topics/4332855/re-mmjoy-mmjoy2-build-your-own-usb-controller#Post4332855 Think is good idea keep encoder buttons near, e.g. 1 - 2... 25 - 26... but not 17 - 20. And keep all Encoder connected in the same Shift Register M/C. Yes i have them at the same shift register and i have them 1-2 3-4 etc.But it does not blink.The light is not going red.I have connected one wire to button 1 another on button 2 and one at ground This is the exactly connection.34 35 are switcheson off.On VBk tester i do not see nothing on show log https://imgur.com/l5Oi4mb Edited April 7, 2019 by slowmover [sIGPIC][/sIGPIC]
slowmover Posted April 7, 2019 Posted April 7, 2019 After some test i think the problem is the rotary encoders. With these here is not working https://grobotronics.com/rotary-encoder-16mm-24p-r-with-switch.html (i tested them on leobodnar and they are working perfect) but with these it is working perfect https://www.ebay.com/itm/10pcs-12mm-switch-rotary-encoder-with-key-switch-L3I5/192315940922?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 what is the problem here guyz? [sIGPIC][/sIGPIC]
Goblin Posted April 7, 2019 Posted April 7, 2019 (edited) Here’s a good write up of a button box using MMJoy2 and encoders. https://forums.mudspike.com/t/mudspike-button-box-v01/8251 Also, could you show us how you have attached the encoders to the shift registers. Edited April 7, 2019 by Goblin
slowmover Posted April 7, 2019 Posted April 7, 2019 Here’s a good write up of a button box using MMJoy2 and encoders. https://forums.mudspike.com/t/mudspike-button-box-v01/8251 Also, could you show us how you have attached the encoders to the shift registers. The connection is okay. I use another type of encoder and worked.... https://imgur.com/BMPVlHB [sIGPIC][/sIGPIC]
Goblin Posted April 8, 2019 Posted April 8, 2019 Ah, ok. So one type of encoder works, but not the other type? I have no idea why... But if one works, I’d use that. ;)
slowmover Posted April 8, 2019 Posted April 8, 2019 Ah, ok. So one type of encoder works, but not the other type? I have no idea why... But if one works, I’d use that. ;) Yes that exactly is happening.I now order new encoders.But it is weird that one works and other no. [sIGPIC][/sIGPIC]
slowmover Posted May 7, 2019 Posted May 7, 2019 MMjoy and arduino saved me some money to spend to expesive boards but now that i need more than 6 encoder i have to look somewhere else to buy a new board.(i am building the heuy center and overhead console) any idea what board you fit to my build?( exept leobodnar) [sIGPIC][/sIGPIC]
Sokol1_br Posted May 7, 2019 Author Posted May 7, 2019 (edited) Look at EasyJoy32One ($15) firmware for ARM32 (in cockpit builders section), has support for more encoders. MegaMOZG say that will expand encoder support in MMjoy2 firmware, but when he have time from VirPil work. Not sure if support encoders, but give a luck in LynX CUB firmware for Arduinos, is more oriented for flight games commands than ordinary USB controllers, with better support for ON-OFF-ON latching switches. http://lynx.dk/cub-firmware/ Description: https://forums.eagle.ru/showpost.php?p=2984894&postcount=156 Edited May 7, 2019 by Sokol1_br
RightStuff Posted May 7, 2019 Posted May 7, 2019 ...but now that i need more than 6 encoder i have to look somewhere else to buy a new board. Max. 32 encoders with a Mega 2560 and this firmware: https://forums.eagle.ru/showthread.php?t=117011
slowmover Posted May 8, 2019 Posted May 8, 2019 (edited) i will need some help.On VKB tester (for example) some button 34 36 does not seems to work.but on mmjoy it goes red when i press.any idea what is the problem? it is a 6position rotary switch 3 buttons shows on VBK tester 3 not. Yesterday was working perfect Also i have 2 mmjoy devices connected.And this mornig the one at 10-15 minutes stop to work.I have to unplug and plug it again.I have change the PID and VID so they do not have the same. Edited May 9, 2019 by slowmover [sIGPIC][/sIGPIC]
Mortisrose Posted May 23, 2019 Posted May 23, 2019 Is there a way to combine two analog inputs to one assigned axis? I'm trying to combine my two force-sensing resistors so that the left one goes inverted from 50-0% when pressed and right 50-100% of the axial range when pressed. I tried the throttle double axis under spec. functions tab but it only works for one way left or right depending on setting, the adjacent input resistor stops functioning. i7 7700k, 32 GB RAM, GTX 1080, 500 GB NVMe m.2 SSD, Trackir 3 Pro, Gunfighter Mk I w/MCG; Mod. TM Cougar throttle and Mod. CH Pro Pedals w/Pro Micro + MMjoy2, Nostromo n52
Mortisrose Posted May 23, 2019 Posted May 23, 2019 Looks like I've found the answer: https://sites.google.com/site/mmjoyproject/avto-pedali i7 7700k, 32 GB RAM, GTX 1080, 500 GB NVMe m.2 SSD, Trackir 3 Pro, Gunfighter Mk I w/MCG; Mod. TM Cougar throttle and Mod. CH Pro Pedals w/Pro Micro + MMjoy2, Nostromo n52
Recommended Posts