summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-12 01:07:06 +0900
committertmk <nobody@nowhere>2013-03-12 10:43:02 +0900
commit92b92dd78f5488981244d353f2d500ad9d82fc49 (patch)
treed0d1a061fd8dd7e8ff07ce63f8493618c30f9031 /common/keyboard.c
parent8b9bd51d3a13959a4d59fdbc819a033cd8b0a3ce (diff)
Add mechanical locking switch support for CapsLock
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 401fdb4e17..42c57ac96f 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -134,5 +134,6 @@ MATRIX_LOOP_END:
void keyboard_set_leds(uint8_t leds)
{
+ if (debug_keyboard) { debug("keyboard_set_led: "); debug_hex8(leds); debug("\n"); }
led_set(leds);
}