Skip to content

Commit 33dd9e1

Browse files
added support for X-Lite
1 parent 9ebf05d commit 33dd9e1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/SCRIPTS/BF/events.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ return
99
},
1010
longPress = {
1111
enter = EVT_ENTER_LONG,
12-
menu = EVT_MENU_LONG,
12+
menu = EVT_MENU_LONG or EVT_UP_LONG
1313
},
1414
repeatPress = {
1515
minus = EVT_MINUS_REPT,
@@ -18,12 +18,12 @@ return
1818
release = {
1919
enter = EVT_ENTER_BREAK,
2020
exit = EVT_EXIT_BREAK,
21-
menu = EVT_MENU_BREAK,
21+
menu = EVT_MENU_BREAK or EVT_UP_BREAK,
2222
minus = EVT_MINUS_BREAK,
2323
plus = EVT_PLUS_BREAK
2424
},
2525
dial = {
26-
left = EVT_ROT_LEFT,
27-
right = EVT_ROT_RIGHT
26+
left = EVT_ROT_LEFT or EVT_LEFT_BREAK,
27+
right = EVT_ROT_RIGHT or EVT_RIGHT_BREAK
2828
}
2929
}

src/SCRIPTS/BF/radios.lua

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ local supportedRadios =
2929
{
3030
["x7"] = supportedPlatforms.x7,
3131
["x7s"] = supportedPlatforms.x7,
32+
["xlite"] = supportedPlatforms.x7,
3233
["x9d"] = supportedPlatforms.x9,
3334
["x9d+"] = supportedPlatforms.x9,
3435
["x9e"] = supportedPlatforms.x9,

0 commit comments

Comments
 (0)