diff options
author | Sid Carter <sidcarter@users.noreply.github.com> | 2019-12-30 10:29:36 -0500 |
---|---|---|
committer | fauxpark <fauxpark@gmail.com> | 2019-12-31 02:29:36 +1100 |
commit | f6bdb6afba80f451f9866517aafc507f1f15c091 (patch) | |
tree | 810a28c5531795d9be82b1c9edfa7246a4968ac1 /keyboards/cheshire/curiosity/curiosity.c | |
parent | 559ef215638e82de75e3e9221baf4909990f4f53 (diff) |
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 <fauxpark@gmail.com>
Co-authored-by: Khader Syed <35927972+chapter63@users.noreply.github.com>
Co-authored-by: fauxpark <fauxpark@gmail.com>
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; +} |