1
0
Fork 0

[Keymap] Dichotomy keymap by beat (#8279)

* Added more led helpers

* Working keymap

* Added new mouse button an made lower layer toggleable

* Small improvement to process_record_user

* Removed extra layer buttons

* Added Numpad to apply layer

* Moved buttons and added toggle for raise button

* Added Menu,PrintScreen and Windowslock buttons, and left handmouse

* Fixed Scroll Buttons

* Turned TAPPING TOGGLE to 2

* Switched Del and Ctrl on left hand

* Added Home Button to Mouse layer

* Fixed led initialization to avoid red led on boot

* Updated formatting to follow guidelines

* Used enums instead of defines and used layer_state_t type

* Added license

* Moved TAPPING settings to keymap config

* Fixed small formatting issue in keymap.c

* Use GPIO Control instead of lowlevel ports
This commit is contained in:
dr-BEat 2020-03-06 09:47:52 +01:00 committed by GitHub
parent fd7b52cc64
commit 3c0ef04390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 162 additions and 13 deletions

View file

@ -63,10 +63,13 @@ void pointing_device_task(void){
}
void led_init(void) {
DDRD |= (1<<1);
PORTD |= (1<<1);
DDRF |= (1<<4) | (1<<5);
PORTF |= (1<<4) | (1<<5);
setPinOutput(D1);
setPinOutput(F5);
setPinOutput(F6);
writePinHigh(D1);
writePinHigh(F5);
writePinHigh(F6);
}