1
0
Fork 0

[Keyboard] Add ProjectKeyboard Alice PCB to QMK (#5581)

* Update instant60 for tsangan version

* Add project alice keyboard

* remove

* Remove commented out code

* Update readme

* Add newline

* Update keyboards/projectkb/alice/readme.md

Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>

* Update keyboards/projectkb/alice/halconf.h

Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>

* Update keyboards/projectkb/alice/halconf.h

Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>

* Fix ifdef and use helper macros

* Add reset keycode

* udpate keymap

* Add RGB Keycodes

* Styling things

* remove unused enum

* fix
This commit is contained in:
Andrew Kannan 2019-05-06 00:08:12 -04:00 committed by Drashna Jaelre
parent af22609ba5
commit c2f9e018ab
14 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#include "alice.h"
void matrix_init_board(void){
setPinOutput(A0);
setPinOutput(A1);
setPinOutput(A2);
}
void led_set_kb(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinLow(A0);
} else {
writePinHigh(A0);
}
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinLow(A1);
} else {
writePinHigh(A1);
}
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
writePinLow(A2);
} else {
writePinHigh(A2);
}
led_set_user(usb_led);
}