mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
USB joystick support for 9xrpro (#5776)
* hid-mouse example added
* cmake script and sources fixed
* massstorage is turned off (it is still not used)
* first test (mouse instead of joystick)
* mouse renamed to joystick one more time
* it works
* refactoring
* useless files removed
* usbJoystickUpdate() moved to appropriate place
* masstorage removed for sky9x
* "keyboard" -> "joystick"
* productDescriptor changed to "SKY9X Joystick"
* attempt to fix travis
* joystick.cpp moved to FIRMWARE_TARGET_SRC
* meaningless if removed
* code style fixed for opentx/radio/src/targets/sky9x/joystick.cpp
* Revert "masstorage removed for sky9x"
This reverts commit 426726283f
.
* opentx/radio/src/targets/sky9x/usb_driver.cpp added
* useless include removed
This commit is contained in:
parent
fc34d0a995
commit
59d3f2d16f
24 changed files with 2172 additions and 11 deletions
|
@ -180,6 +180,10 @@ TASK_FUNCTION(mixerTask)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBSKY9X) && !defined(SIMU)
|
||||
usbJoystickUpdate();
|
||||
#endif
|
||||
|
||||
DEBUG_TIMER_START(debugTimerTelemetryWakeup);
|
||||
telemetryWakeup();
|
||||
DEBUG_TIMER_STOP(debugTimerTelemetryWakeup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue