Added HoldRelease and LongHoldRelease events

This commit is contained in:
Pedals2Paddlese 2017-08-10 10:56:58 -04:00 committed by Buzz
parent bb6ecf5297
commit a55f86fe8d

View File

@ -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,