Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
Diff: config.h
- Revision:
- 90:aa4e571da8e8
- Parent:
- 89:c43cd923401c
- Child:
- 91:ae9be42652bf
--- a/config.h Fri May 12 17:57:59 2017 +0000 +++ b/config.h Tue Oct 17 22:27:48 2017 +0000 @@ -26,6 +26,8 @@ #ifndef CONFIG_H #define CONFIG_H +#include "USBJoystick.h" + // TEST SETTINGS - FOR DEBUGGING PURPOSES ONLY. The macros below select // special option combinations for debugging purposes. @@ -255,6 +257,9 @@ // enable joystick reports joystickEnabled = true; + // use the XYZ axis format + joystickAxisFormat = USBJoystick::AXIS_FORMAT_XYZ; + // assume standard orientation, with USB ports toward front of cabinet accel.orientation = OrientationFront; @@ -570,6 +575,9 @@ // use the device as purely an output controller. uint8_t joystickEnabled; + // Joystick axis report format, as a USBJoystick::AXIS_FORMAT_xxx value. + uint8_t joystickAxisFormat; + // Timeout for rebooting the KL25Z when the connection is lost. On some // hosts, the mbed USB stack has problems reconnecting after an initial // connection is dropped. As a workaround, we can automatically reboot