Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // NUM, SCROLL, CAPS Led keys checking.
- bool isScrlOn (void) { return ((int(keyboard_leds)& 4) == 4) ? true : false; }
- bool isCapsOn (void) { return ((int(keyboard_leds)& 2) == 2) ? true : false; }
- bool isNumsOn (void) { return ((int(keyboard_leds)& 1) == 1) ? true : false; }
- while(bInitialState == isScrlOn()) { pressKey(KEY_SCROLL_LOCK); iDelay += 100; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement