mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
f6bdb6afba
* 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>
18 lines
393 B
C
18 lines
393 B
C
#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;
|
|
}
|