mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
Added HoldRelease and LongHoldRelease events
This commit is contained in:
parent
bb6ecf5297
commit
a55f86fe8d
@ -44,13 +44,15 @@ ButtonName = ["Power", "Fly", "RTL", "Loiter", "A", "B",
|
|||||||
Press = 0
|
Press = 0
|
||||||
Release = 1
|
Release = 1
|
||||||
ClickRelease = 2
|
ClickRelease = 2
|
||||||
Hold = 3
|
ShortHold = 3
|
||||||
LongHold = 4
|
Hold = 4
|
||||||
DoubleClick = 5
|
LongHold = 5
|
||||||
|
DoubleClick = 6
|
||||||
|
HoldRelease = 7
|
||||||
|
LongHoldRelease = 8
|
||||||
# index of each name expected to match events above
|
# index of each name expected to match events above
|
||||||
EventName = ["Press", "Release", "ClickRelease",
|
EventName = ["Press", "Release", "ClickRelease", "ShortHold",
|
||||||
"Hold", "LongHold", "DoubleClick"]
|
"Hold", "LongHold", "DoubleClick", "HoldRelease", "LongHoldRelease"]
|
||||||
|
|
||||||
|
|
||||||
# packet type ids
|
# packet type ids
|
||||||
# starting these at 2000 to avoid any collisions with app_packet,
|
# starting these at 2000 to avoid any collisions with app_packet,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user