diff options
Diffstat (limited to 'keyboards/cheshire/curiosity/curiosity.c')
-rw-r--r-- | keyboards/cheshire/curiosity/curiosity.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/cheshire/curiosity/curiosity.c b/keyboards/cheshire/curiosity/curiosity.c new file mode 100644 index 0000000000..e52499b352 --- /dev/null +++ b/keyboards/cheshire/curiosity/curiosity.c @@ -0,0 +1,17 @@ +#include "curiosity.h" + +void matrix_init_board(void){ + setPinOutput(A8); + setPinOutput(A9); + setPinOutput(A10); +} + +bool led_update_kb(led_t led_state) { + bool runDefault = led_update_user(led_state); + if (runDefault) { + writePin(A8, !led_state.num_lock); + writePin(A9, !led_state.caps_lock); + writePin(A10, !led_state.scroll_lock); + } + return runDefault; +} |