#4315620 - 11/27/16 03:22 PM
Re: MMJoy/MMjoy2 - 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
|
As general rule for VID/PID. If you want that your MMJoy2 is show for Windows/Games before other joysticks use low number, eg. 0001/0001. If want that MMJoy2 appear after other joysticks, use high number, eg. 9999/9999. USBView (MMJoy2Setup low bar) show your actual joystick VID/PID, DXDiag (type in Windows START box) too, in "Input". List of VID/PID - in HEX numbers - used by several USB devices: http://www.linux-usb.org/usb.idsFor change VID/PID numbers you use MMjoy2Setup - no need "flash" - an can be changed several times, but when you make changes use "CLEARS SETS" or remove manually the previouys VID/PID from Windows register, or Windows don't see the new number and don't recognize the joystick in Game Controlers, although for games games they still working. come alltiem error somethink ?
|
|
#4315691 - 11/27/16 09:31 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2016
Posts: 5
masaV
Junior Member
|
Junior Member
Joined: Nov 2016
Posts: 5
|
today i do all same than pro micro instruction pdf has how make joystick, reset+gnd connect and mmjoy sofware make firmware come dos box who run text windows and then add 7 axis and 1 button (i think test first time) then upload firmware and now arduino micro not answer any usb port, no found, no read no write no do anythinkg and device manager no found usb device, before thats has usb device list "arduino micro", now not have anythink. what hell thats doing my board ? how can repair this ? i add mmjoy sofware 32u4 and arduino and firmware and load new firmaware but now no work anythinkg win8 computer and mmjoy about somethink 4015114xx has version. just load this mmjoy2 to 1 site at forum. same have instruction and other downloads. mmjoy-en master and mmjoy2 has zip file. i try read many help but no understand vgood what hel lthats must do make joystick ? what is wrong ? and usb port need libus ? or not ? how add ? i try add new drivers to driver file location ia64 files have libus 0 dll but no installink computer say alltime windows have right drivers. i no understand now what must doing
|
|
#4319901 - 12/14/16 10:56 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
|
Hi Valecek, here is some general info, look at Example 1: One Shift Register: Arduino shifting or here but for IC 74HC165, very similar like 4021: 74HC165 and look at this picture: Good luck
Last edited by erichos; 12/14/16 11:10 PM.
|
|
#4320827 - 12/17/16 11:42 PM
Re: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
|
Joined: Oct 2014
Posts: 15
triggahappy
Junior Member
|
Junior Member
Joined: Oct 2014
Posts: 15
|
Hi There, Some time ago (like half a year ago lol) I started a project... It was all going well till 'life' happened and now we have Christmas... Finally I found some time to finish it. So the plan was to use old Ch Fighter stick combine it with old Logitech Wingman and for throttle go with Saitek x35t. Call me weird but for some reason I simply find Saitek throttle uncomfortable. So I decided to get second CH fighter stick and use it's gimbal as a throttle and 3D print the handle/grip. Joystick, 3 axes 16 switches (12 buttons + pov) Throttle, 1 main axis, thumbstick, pot, 20 switches Joystick 'head' assembly Joystick grip and twist assembly Installing bearings was not as hard as I thought Since I'll be using it for Elite Dangerous I was in need of 'center detent' to separate forward and reverse thrust. Metal plate is made out of washer, white plastic is PTFE sheet and that small ball is ehhhh 'spring loaded ball thingy'. 3D printed throttle grip. Throttle Joystick All I can say is: Thank you mega_mozg_13 for MMJOY2 (the whole project), Sokol1 for help and ideas, and the whole SimHQ community for making my project possible to happen .
Last edited by triggahappy; 12/18/16 02:15 AM.
|
|
#4322189 - 12/21/16 08:40 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
Hi , thanks Mega_Morg and Sokol for the thread... I had the issue uploading the Firmware with the Leonardo I got last weekend too, Windows 10 would not load the Drivers from the latest Firmware Package (2016-11-01)(driver enforcement?) so I used the drivers in the Arduino IDE 1.613 zip package to get it recognized. However the Reset button just would not "reset" the Leonardo to bootloader mode , it would disappear and almost instantly reappear on the same Com Port. Reading about the GND and RESET Pin on the Pro-Micro and touching it twice quickly gave me the idea to quickly push the Leonardo Reset button quickly twice and it worked and it gives me 5-8 secs to hit the Firmware download button now. ( A new Tip for the Wiki maybe?) MMjoy2 seems to have loaded the Firmware now but the L-LED is now constantly lit on the Leonardo ...is that correct? maybe just me doing something wrong ? as I have only assigned a single button (correctly?) so far so it would be seen correctly in MMjoy2/Windows but the Windows Game Controller Window is calling it the MMJ-Reset and if I try to open the advanced options it throws an Error stating Your Game Controller is not Connected correctly. I currently have nothing attached to the Leonardo , which may explain the error? I am just starting this endeavor as I have a gameport FLCS16+TQS and CH Pedals that I have had for many years (nearly unused) with the Stickworks Digital Chips installed , though I still have a number of the Old Chips as well as some new TM Pots and Hat Buttons I got before TM stopped selling them. Micro Electronics and Arduino are new to me ,soldering/metering etc is not, so there will be a few questions I am sure but I am hoping someone knows of a good Writeup/Tutorial on converting the FLCS16+TQS specifically that would be a massive help.... So far I am about 65 pages into the thread so still plenty of reading to do , thanks guys. KB PS not as new around here as my post count would indicated when did EF2000 come out , just had to get a new account to post.. Edit ... also curious if anyone has tried the MuxShield II and if it would work with the Leonardo , it seems to give 48 pins vs the Leonardo's 20... http://mayhewlabs.com/products/mux-shield-2
Last edited by Kbird; 12/28/16 06:05 PM.
|
|
#4322200 - 12/21/16 09:31 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.
And when make modifications in previous configuration (axis, buttons) hit the "Clear settings". Thanks Sokol , I'll try that , The PDF by Gene on loading the Firmware said to assign at least one button , so that was all I did. I edited the last post so maybe you didn't see my question about the Muxsheild II and if it might work for MMjoy2 Users? http://mayhewlabs.com/products/mux-shield-2
|
|
#4322221 - 12/21/16 10:38 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.
And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".
Convert F-16 FLCS will be easy, just wire the axis, and the Shift Register board inside grip to MMjoy2.
For throttle is more easy reuse the existent diode matrix
The "eraserhead" "IBM mouse" (under thumb finger) need be replaced with min-stick or HAT, their serial protocol is not compatible with MMJoy2.
For you I am sure it is easy 75 pages into thread and I am not so sure about that but maybe I just need to "do it" and try stuff out and learn how to use MMJoy2 as well .... Thanks for tip on the eraser button , I never did like it and I have an extra gameport TM X Fighter stick too that I can also steal parts from if needed as well as some spare TM Hat Switches. Where should diodes go in the TQS ? do you mean putting 1N4148 diodes on the buttons for the matrix I was just reading about to stop ghosting? does anyone have Schematics for the FLCS+TQS Wiring perhaps ? Thx, KB.
Last edited by Kbird; 12/21/16 10:39 PM.
|
|
#4322239 - 12/21/16 11:38 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
|
Think in diodes in this way: One diode in one of 2 pins of each switch or HAT (HAT are just 4 switches around a pole). Then became easy. Or, for example using a breadboard for put the diodes side at side, and wire buttons and HAT there. Or, make a Shift Register board (like he one inside grip) - require DIY or order a PCB - with 2 CD4021 and fit inside throttle, in this case no diodes needed. Take a look in Debolestis Shift Register PCB's: https://forums.eagle.ru/showpost.php?p=2780923&postcount=89
|
|
#4322245 - 12/22/16 12:02 AM
Re: MMJoy - Build your own USB controller
[Re: Kb1rd1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
[quote=Sokol1]If I remember correctly Windows only recognize joystick that has at least 1 or 2 axis.
And when make modifications in previous configuration (axis, buttons) hit the "Clear settings".
Convert F-16 FLCS will be easy, just wire the axis, and the Shift Register board inside grip to MMjoy2.
For throttle is more easy reuse the existent diode matrix
The "eraserhead" "IBM mouse" (under thumb finger) need be replaced with min-stick or HAT, their serial protocol is not compatible with MMJoy2.
You were right Sokol , once Windows had 2 AXIS (X+Y) assigned JoyCPL started working without the Error above , assigning one button per the FAQ didn't work for some reason. Of course nothing is attached yet so not really working but slowly getting there thanks. I have been reading the thread since last week , so I have picked up some 74HC165 SReg ,MCP3208 chips and 1N4148 diodes already , just not sure how I'll use them yet , still looking for pics of schematics etc before I get to far into this and ruin something by accident. KB
Last edited by Kbird; 12/22/16 12:03 AM.
|
|
#4322254 - 12/22/16 12:12 AM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Dec 2016
Posts: 454
Kb1rd1
Member
|
Member
Joined: Dec 2016
Posts: 454
|
Think in diodes in this way: One diode in one of 2 pins of each switch or HAT (HAT are just 4 switches around a pole). Then became easy. Or, for example using a breadboard for put the diodes side at side, and wire buttons and HAT there. Or, make a Shift Register board (like he one inside grip) - require DIY or order a PCB - with 2 CD4021 and fit inside throttle, in this case no diodes needed. Take a look in Debolestis Shift Register PCB's: https://forums.eagle.ru/showpost.php?p=2780923&postcount=89 Thanks I had seen that post earlier in the Thread/Inet Browsing and found his OSHPark Site too https://oshpark.com/profiles/Debolestis/page/2That was why I was wondering if the MuxShield would be good as it seems to have more inputs to use. http://mayhewlabs.com/products/mux-shield-2they have something called a Go Between Shield too http://mayhewlabs.com/products/go-between-shieldKB. ****Edit Thanks for that Scheme of the F22+TQS they were pretty similar from what I remember KB
Last edited by Kbird; 12/22/16 12:17 AM.
|
|
|
|
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
|
|
|
|
|
|
|
|
|
|