Fix typo in keyswitch_state.h comments

pull/187/head
Craig Disselkoen 7 years ago
parent 0467521354
commit 9955491971

@ -31,7 +31,7 @@
/* keyToggledOff(): This is true if the key is newly not-pressed during this /* keyToggledOff(): This is true if the key is newly not-pressed during this
* scan cycle, i.e. is not pressed now but was in the previous scan cycle. * scan cycle, i.e. is not pressed now but was in the previous scan cycle.
* Use this for events which should fire exactly once per keypress, on a * Use this for events which should fire exactly once per keypress, on a
* "key-down" event. * "key-up" event.
*/ */
#define keyToggledOff(keyState) (keyWasPressed(keyState) && ! keyIsPressed(keyState)) #define keyToggledOff(keyState) (keyWasPressed(keyState) && ! keyIsPressed(keyState))

Loading…
Cancel
Save