File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 5
5
minus = EVT_MINUS_FIRST ,
6
6
plus = EVT_PLUS_FIRST ,
7
7
pageDown = EVT_PAGEDN_FIRST ,
8
- pageUp = EVT_PAGEUP_FIRST
8
+ pageUp = EVT_PAGEUP_FIRST or EVT_LEFT_BREAK
9
9
},
10
10
longPress = {
11
11
enter = EVT_ENTER_LONG ,
12
- menu = EVT_MENU_LONG ,
12
+ menu = EVT_MENU_LONG or EVT_RIGHT_LONG
13
13
},
14
14
repeatPress = {
15
15
minus = EVT_MINUS_REPT ,
@@ -18,12 +18,12 @@ return
18
18
release = {
19
19
enter = EVT_ENTER_BREAK ,
20
20
exit = EVT_EXIT_BREAK ,
21
- menu = EVT_MENU_BREAK ,
21
+ menu = EVT_MENU_BREAK or EVT_RIGHT_BREAK ,
22
22
minus = EVT_MINUS_BREAK ,
23
23
plus = EVT_PLUS_BREAK
24
24
},
25
25
dial = {
26
- left = EVT_ROT_LEFT ,
27
- right = EVT_ROT_RIGHT
26
+ left = EVT_ROT_LEFT or EVT_UP_BREAK ,
27
+ right = EVT_ROT_RIGHT or EVT_DOWN_BREAK
28
28
}
29
29
}
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ local supportedRadios =
29
29
{
30
30
[" x7" ] = supportedPlatforms .x7 ,
31
31
[" x7s" ] = supportedPlatforms .x7 ,
32
+ [" xlite" ] = supportedPlatforms .x7 ,
32
33
[" x9d" ] = supportedPlatforms .x9 ,
33
34
[" x9d+" ] = supportedPlatforms .x9 ,
34
35
[" x9e" ] = supportedPlatforms .x9 ,
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ function run_ui(event)
282
282
if (event == userEvent .longPress .menu ) then -- Taranis QX7 / X9
283
283
menuActive = 1
284
284
currentState = pageStatus .displayMenu
285
- elseif userEvent .press .pageUp and (event == userEvent .longPress .enter ) then -- Horus
285
+ elseif userEvent .press .pageDown and (event == userEvent .longPress .enter ) then -- Horus
286
286
menuActive = 1
287
287
killEnterBreak = 1
288
288
currentState = pageStatus .displayMenu
You can’t perform that action at this time.
0 commit comments