Longpress event fires also shortpress?
Posted: 07 Jan 2022, 23:46
Hello!
If my Switch is shortpressed I want to fire event 2 and event 1 when longpressed
On TorRunter#Switch do
if %eventvalue% = 11
event,EVENT_TOR_LUEFTUNG
elseif %eventvalue% = 1
event,EVENT_TOR_RUNTER
endif
endon
shortpressed works fine.
But longpress fires EVENT_TOR_RUNTER and event EVENT_TOR_LUEFTUNG
Is this a bug or what do I have to change? Any ideas?
Thank you!
If my Switch is shortpressed I want to fire event 2 and event 1 when longpressed
On TorRunter#Switch do
if %eventvalue% = 11
event,EVENT_TOR_LUEFTUNG
elseif %eventvalue% = 1
event,EVENT_TOR_RUNTER
endif
endon
shortpressed works fine.
But longpress fires EVENT_TOR_RUNTER and event EVENT_TOR_LUEFTUNG
Code: Select all
185527: EVENT: TorRunter#Switch=1
185568: ACT : event,EVENT_TOR_RUNTER
185570: EVENT: EVENT_TOR_RUNTER
...
186036: EVENT: TorRunter#Switch=11
186068: ACT : event,EVENT_TOR_LUEFTUNG
186071: EVENT: EVENT_TOR_LUEFTUNG
Thank you!