Help with switch mapping - EACOFF
-
I have mapped the EACOFF switch to the “spotlight Toggle” (
I
on the keyboard), with the 4th led.MapKey(&Throttle, EACOFF, PULSE+‘i’);
MapKey(&Throttle, EACOFF, CHAIN(PULSE+‘i’, LED(&Throttle, LED_ONOFF, LED_CURRENT^LED4), LED(&LMFD, LED_INTENSITY, 255)));
MapKey(&Throttle, EACOFF, CHAIN(PULSE+‘i’, LED(&Throttle, LED_ONOFF, LED_CURRENT^LED4), LED(&LMFD, LED_INTENSITY, 0)));
what it does :
when i put the switch on ARM position, nothing happens.
when i return it to the OFF position it work (spotlight on & LED is on).So basically it like i do the operation in 2 step, but i want to do it in one step :
ARM position - spotlight on & LED is on
OFF position - spotlight off & LED is offI know i missing something . . . help will be appreciated
-
Call EACON for functions
-