HID Joystick - For use with X-Plane or other programs that can read HID JoySticks

Dependencies:   USBDevice mbed-rtos mbed

Fork of JoyStick by Ries Twisk

This is a simple Joystick HID that I use for xplane and a home build yoke + paddels, see this forum with the look and feel of it : http://forums.x-plane.org/index.php?showtopic=70041

The analog input are filtered with a LowPass IIR filter and the digital input's will be derived from the analog input and de-bounced.

The analog values are read at a 1Khz interval and to ensure we don't push the USB stack to much at a maximum rate of 20 updates/sec HID data is send over USB only if any values where changed. The JoyStick will send 16Bit analog values as opposite of 8 bit values that are normally used to increase accuracy of the whole system. This is well noticeable within x-plane!

The JoyStick uses the JoyStick copied from Wim Huiskamp and modified to suite my needs and the MBED RTOS libraries for reading analog inputs, sending debug data over USB and sending HID data, 3 threads in total.

History

Latest default tip

2016-06-22, by rvt [Wed, 22 Jun 2016 12:50:16 +0000] rev 5

Latest


expanded to read more digital ports for my new panel

2016-03-10, by rvt [Thu, 10 Mar 2016 14:05:02 +0000] rev 4

expanded to read more digital ports for my new panel


disabled TTY debug

2015-02-10, by rvt [Tue, 10 Feb 2015 13:48:20 +0000] rev 3

disabled TTY debug


Better PushButton handling

2013-08-30, by rvt [Fri, 30 Aug 2013 01:37:49 +0000] rev 2

Better PushButton handling


Code cleanup

2013-08-28, by rvt [Wed, 28 Aug 2013 13:12:39 +0000] rev 1

Code cleanup


Initial release with RTOS

2013-08-28, by rvt [Wed, 28 Aug 2013 02:33:03 +0000] rev 0

Initial release with RTOS