From f6bdb6afba80f451f9866517aafc507f1f15c091 Mon Sep 17 00:00:00 2001 From: Sid Carter Date: Mon, 30 Dec 2019 10:29:36 -0500 Subject: New PCB - Curiosity - Alice Layout PCB (#7725) * add new keyboard * update config to use * confirm config that works * fix the keymaps and what not * default keymap update * update readme * update and remove unncessary files * update IDs and remove unused definitions * update readme * add new keyboard * update config to use * confirm config that works * fix the keymaps and what not * default keymap update * update readme * update and remove unncessary files * update IDs and remove unused definitions * update readme * remove unused stuff * update default keymap and add my own with layer indicator LEDs * update README * add crd's layout as part of the default as well * some specific space fixes * update readme for flashing * remove code and use mcu selection instead. yay! * remove vlk from default and enable velocikeys in madhatter * remove BL_ from default * and remove BL_ from madhatter as well * Update keyboards/cheshire/curiosity/keymaps/crd/keymap.c Co-Authored-By: fauxpark Co-authored-by: Khader Syed <35927972+chapter63@users.noreply.github.com> Co-authored-by: fauxpark --- keyboards/cheshire/curiosity/curiosity.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 keyboards/cheshire/curiosity/curiosity.c (limited to 'keyboards/cheshire/curiosity/curiosity.c') 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; +} -- cgit v1.2.3