|
|
Joined: Sep 2014
Posts: 33
Junior Member
|
|
Junior Member
Joined: Sep 2014
Posts: 33 |
PropNut - Yes, you can do that. However, MMJoy only understands matrix setup. So, you're going to create a single row matrix with a line to each switch and then a common return row. It's how a lot of thrustmaster gear is setup. You're going to solder a column wire for each switch you want to define to the teensy board. Then, all of your switches get dumped to one common row on the other side of the switches. It's a matrix of sorts, but because you're not creating multiple rows, it can't "ghost". If you decide to go back later and hack in a second row... you've got to add diodes. Leave the power and ground pins near the USB connector out of your soldering. Once you've soldered a single column wire to each switch, and wired a common row to the other side of your switches, put the values for your "matrix" into MMjoy. Re-upload your profile in the joystick setup and wait for the teensy to reboot. Once the teensy reboots, click on it in joystick setup. Assuming the magic smoke stays in the stick, click some of your buttons and you should see them light red in the stick setup. You'll need to put them in as defined buttons on the right side of the software so that they appear in your OS as a joystick button press. See attached cheesy diagram.  If you look at my Thrustmaster FCS simple conversion, it's pretty much the same thing.
Last edited by SolderMonkey; 01/02/17 10:25 PM.
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
I am modding my FLCS+TQs + ProPedals Combo to USB and so far I have modded my CH ProPedal and used a Gameport Connector so I can detach them from the TQS if needed , They seem to work fine , so I am testing the Pedals with my TQS Leonardo via Female Jumper pins from the DB15 Plug's 5 pins I used and attached the Pedals to the Leonardo Axis Pins (AI pins)and it seems to be good/working In MMJoy2 and I have assigned Sources (IntSensor) and Assignments in MMJoy2 but I am not sure I have the Assignments right for a Rudder as MMJoy still says 0 Axis Used even though it is polling the IntSensors. Currently I have these Assignments as I am Assuming r(X) means Rudder as I can't find any Docs explaining MMJoy Assignments in the latest Firmware rZ = Rudder rY = Left toe Brake rZ = Right Toe Brake Thanks for any help putting me on the right Track ....  Read more: http://simhq.com/forum/ubbthreads.php/topics/4325199#ixzz4UeiBRGWL
|
|
|
|
|
Joined: Sep 2014
Posts: 33
Junior Member
|
|
Junior Member
Joined: Sep 2014
Posts: 33 |
KBird - It looks like you have raw values from the board, so a value is getting from the rudder to the 32u4.
Try assigning the axis so Rudder= Z and the Toe Brakes to slider and rudder. Just for a test.
After you save the set to the board and after it reboots, click on it in USB and see if you can get the raw values to change in mmjoy. Then, see if they work in windows.
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
S.Monkey , thanks , It maybe I wasn't clear? , the Pots are seen in MMjoy and reporting as I move them but tonight just in case I did something wrong, I tried a bunch of different assignments and saved the Sets to the Leo. and it all seems to work fine ( bit of jitter from Old Pots ) in MMJOY and Windows game devices, VKBTestor, DI Viewer etc. But for some reason MMjoy only says "Ok. Used Axis 0 Buttons 0" , ( but 3 axis's are assigned/used now) unless I assign the same axis to two Sources then it reports the Mapping Error.
Perhaps I just don't understand MMJoy? ...I am new to it and doing this Hotas USB MOD...
KB
|
|
|
|
|
Joined: Apr 2016
Posts: 64
Junior Member
|
|
Junior Member
Joined: Apr 2016
Posts: 64 |
Kbird - last MMJoy2 version 20161101 still displays Used axis:0. I think it is a BUG. But it doesn`t matter, axis are working correctly. I suggest you to use older version: MMJOY2[v20160818upd1].rar that displays axis OK. Do not forget to set filter (e.g. x2-x4) and type of calibration.
|
|
|
|
|
Joined: May 2016
Posts: 55
Junior Member
|
|
Junior Member
Joined: May 2016
Posts: 55 |
Did you save to device the new axis assignment?
|
|
|
|
|
Joined: Jun 2009
Posts: 792
Member
|
|
Member
Joined: Jun 2009
Posts: 792 |
Solder-Monkey, thank you for the effort that you put into that explanation. I appreciate it.
However, it is a convoluted way to use the Teensy++ 2.0 (but I understand why this limitation is in place considering the software was created with the idea that a matrix would always be needed). I will certainly try out MMJoy2 in the future of I decide to change controllers for my projects.
I will continue to utilize GenericHID for now, thanks again.
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
Kbird - last MMJoy2 version 20161101 still displays Used axis:0. I think it is a BUG. But it doesn`t matter, axis are working correctly. I suggest you to use older version: MMJOY2[v20160818upd1].rar that displays axis OK. Do not forget to set filter (e.g. x2-x4) and type of calibration. Ok... I was wondering if it was just a Bug in MMjoy .... but hey I didn't want to be the one to call Mega-Mozg out on it  Will see if I have the Version you mention above and try it ...thx for the info. KB.
|
|
|
|
|
Joined: Nov 2001
Posts: 3,960
Senior Member
|
|
Senior Member
Joined: Nov 2001
Posts: 3,960 |
STeensy++ 2.0
I will continue to utilize GenericHID for now, thanks again. Take a look in this new code, is for Arduino (ATMEGA32U4). Don't know if need matrix or not, anyway the code is open. This code take in consideration that flight games controls rarely look for always pressed button/key - but looks for momentary pressed button/key only. So if you use a ON-OFF switch this will send only a press in ON, and if want another in OFF state avoid need of use software between USB controller and games do do this. http://lynx.dk/cub-firmware/
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
Kbird - last MMJoy2 version 20161101 still displays Used axis:0. I think it is a BUG. But it doesn`t matter, axis are working correctly. I suggest you to use older version: MMJOY2[v20160818upd1].rar that displays axis OK. Do not forget to set filter (e.g. x2-x4) and type of calibration. Ok... I was wondering if it was just a Bug in MMjoy .... but hey I didn't want to be the one to call Mega-Mozg out on it  Will see if I have the Version you mention above and try it ...thx for the info. KB. It looks like you were right erichos , everything seems to be fine with the Pedals, but I can not get the Older Firmware onto the Leonardo for some reason, even though a double tap of the Reset Btn brings up the Bootloader mode. The older version of MMjoy2 keeps complaining the Sets do not match the Firmware , so I will just have to use the Latest version for now and ignore the "used " info panel. KB
Last edited by Kbird; 01/05/17 08:54 AM.
|
|
|
|
|
Joined: Apr 2016
Posts: 64
Junior Member
|
|
Junior Member
Joined: Apr 2016
Posts: 64 |
to Kbird: Setting files are not compatible between firmware version so after changing of firmware you have to do new settings again.
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
to Kbird: Setting files are not compatible between firmware version so after changing of firmware you have to do new settings again. Thanks , good to know, hope not too many bugs in this version as I can't get another firmware to load ATM. I had to go back to 20161101 as I could not load the earlier firmware ,I thought I had bricked the Leo. trying actually but after powering everything down and restarting everything 20161101 found the Leo again and the Pedals are working as expected. KB.
|
|
|
|
|
Joined: Apr 2016
Posts: 64
Junior Member
|
|
Junior Member
Joined: Apr 2016
Posts: 64 |
No bricked Leo, only Windows problem, change VID/PID and allright will be OK. It is normal.
|
|
|
|
|
Joined: Sep 2014
Posts: 33
Junior Member
|
|
Junior Member
Joined: Sep 2014
Posts: 33 |
Propnut - I gave you a slightly more complex answer than is absolutely necessary. But I did it to conserve pins on your board.... If you're not worried about having more than 8 switches, the equivalent using 8 Rows and 8 Columns is a single switch to a column/row pair. It might be easier than what I suggested earlier depending on what you need to wire up. 
|
|
|
|
|
Joined: Nov 2001
Posts: 3,960
Senior Member
|
|
Senior Member
Joined: Nov 2001
Posts: 3,960 |
A forum colleague use with success that TLE5010 board from Aliexpress, connections scheme: ![[Linked Image]](https://s28.postimg.cc/h1mo48699/Esquema_TLE_5010_arduino_pro_micro.jpg)
Last edited by Sokol1; 07/07/19 03:18 PM.
|
|
|
|
|
Joined: Nov 2001
Posts: 3,960
Senior Member
|
|
Senior Member
Joined: Nov 2001
Posts: 3,960 |
No bricked Leo, only Windows problem, change VID/PID and allright will be OK. It is normal. Yes, when you change devices parameters, e.g. number of axis, but not VID/PID Windows became lost and dont seed the device. - So use different VID/PID when change parameters. - Or use CLEAR SETS button or manually remove the information from Windows using Regedit.
|
|
|
|
|
Joined: Sep 2014
Posts: 33
Junior Member
|
|
Junior Member
Joined: Sep 2014
Posts: 33 |
Sokol - my GoogleFu ain't up to snuff. Can you post a link to the TLE5010 board you just posted about?
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
No bricked Leo, only Windows problem, change VID/PID and allright will be OK. It is normal. You are right  all is well  after a few reboots, unplugging the pedals and replugging the Leo. in it accepted the older Firmware , not sure what the issue was 1st time around , though i immediately noticed that the Newest Firmware is faster loading the sets and faster being recognised after an upload again too. Is there a more indepth tutorial on MMJoy ...in english... somewhere , the Wiki only covers the very basics... KB
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
No bricked Leo, only Windows problem, change VID/PID and allright will be OK. It is normal. Yes, when you change devices parameters, e.g. number of axis, but not VID/PID Windows became lost and dont seed the device. - So use different VID/PID when change parameters. - Or use CLEAR SETS button or manually remove the information from Windows using Regedit. AHHHHH OK  That also explains why in the latest build I always have to redo the VID/PID after loading sets etc , I guess Mega_Mozg clears it automatically just for that reason.... KB....
|
|
|
|
|
Joined: Dec 2016
Posts: 456
Member
|
|
Member
Joined: Dec 2016
Posts: 456 |
Sokol - my GoogleFu ain't up to snuff. Can you post a link to the TLE5010 board you just posted about? Are those premade Hall Sensors ? or just the TLE 5010 .....I know you are going to say I need them in my FLCS Solder I was thinking playing with them and the magnets etc maybe beyond my scope or perhaps need... but I need to consider all the options  I was thinking I could hack up a TM T1600M actually and came across this post about it and his Pit build. http://mwomercs.com/forums/topic/135323-fousts-mechpit-rev-3/KB.
Last edited by Kbird; 01/08/17 01:58 AM.
|
|
|
|
|
|
|
|
|
|
|
HOA's
by Terl9999 - 09/18/26 04:12 AM
|
Football
by Terl9999 - 09/18/26 02:42 AM
|
Flags
by Terl9999 - 09/15/26 10:03 PM
|
|
|
|
|
|
|
|
|
|