Jump to content

Teensy 2.0 ,3.0 and Arduino tutorials for joystick creation?


Recommended Posts

  • 1 month later...
  • 3 weeks later...
Posted (edited)
This looks interesting although I haven't tried it out:

 

http://hunt.net.nz/users/darran/weblog/15f92/

 

Cheers

Hans

 

I had a try and it works good,

 

I changed the button number from 40 to 248, the arduino mega 2560r3 pin 22~53 are used as a 16*16 keyboard matrix.

DCSW seems only recognize the first 128 buttons, I'm not sure if it's due to the USB HID Descriptor or the limitation in DCSW. And in XPlane, it seems recognized 150~160 buttons. I didn't count it precisely.

 

And I'm working on the arduino code to support rotaryEncoder and On-Off-On toggle switch.

 

Here is a small test on the rotary switch:

 

If anyone has the interesting to have a try I can post the updated Darran's firmware as well as my arduino code to somewhere, maybe Github, I guess?

Edited by overpro

overpro = I'm not good at Nintendo Mario and always get "Game over" pretty fast, so over~~pro

Posted (edited)
I had a try and it works good,

 

I changed the button number from 40 to 248, the arduino mega 2560r3 pin 22~53 are used as a 16*16 keyboard matrix.

DCSW seems only recognize the first 128 buttons, I'm not sure if it's due to the USB HID Descriptor or the limitation in DCSW. And in XPlane, it seems recognized 150~160 buttons. I didn't count it precisely.

 

And I'm working on the arduino code to support rotaryEncoder and On-Off-On toggle switch.

 

Here is a small test on the rotary switch:

 

If anyone has the interesting to have a try I can post the updated Darran's firmware as well as my arduino code to somewhere, maybe Github, I guess?

GoogleCode is a great place to throw source code up to, and works nicely with Git.

 

cheers

 

Peter

Edited by bnepethomas
Posted
GoogleCode is a great place to throw source code up to, and works nicely with Git.

 

cheers

 

Peter

well, I will post the USB device class driver and arduino code to github first, because it seems that our country's firewall is relatively friendly with github then google.

overpro = I'm not good at Nintendo Mario and always get "Game over" pretty fast, so over~~pro

Posted
well, I will post the USB device class driver and arduino code to github first, because it seems that our country's firewall is relatively friendly with github then google.

 

Ta for that

 

cheers

 

Peter

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...