1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 04:15:26 +03:00

Add support for radiomaster TX12 (#8080)

* Add tx12 support
This commit is contained in:
3djc 2020-11-14 11:48:46 +01:00 committed by GitHub
parent da0da4b9c9
commit e1e67a9d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 893 additions and 120 deletions

View file

@ -265,6 +265,14 @@ void OpenTxSim::updateKeysAndSwitches(bool start)
KEY_Left, KEY_LEFT,
KEY_Up, KEY_UP,
KEY_Down, KEY_DOWN,
#elif defined(RADIO_TX12)
KEY_Page_Up, KEY_PAGEUP,
KEY_Page_Down, KEY_PAGEDN,
KEY_Return, KEY_ENTER,
KEY_Up, KEY_MODEL,
KEY_Down, KEY_EXIT,
KEY_Right, KEY_TELE,
KEY_Left, KEY_SYS,
#elif defined(PCBTARANIS)
KEY_Page_Up, KEY_MENU,
#if defined(KEYS_GPIO_REG_PAGE)