[Keyboard] XD68 65% ATMega32U4 based (#7395)

* First working draft

* Updated readme.md

* Fixed url

* Typo fix

* RGB + Backlight working

* Fixed matrix for ISO NUHS

* ISO matrix working

* Adding ANSI default layout

* First release commit

* Removed reference to deprecated layout

* Changes from PR #7395 review

* Additional changes as requested for PR #7395

* Additional changes from @noroadsleft review

* Replaced ifndef/endif with pragma

* Adding yanfali's recommended changes
This commit is contained in:
randlor
2019-12-16 05:33:04 +00:00
committed by James Young
parent 3eb82e0470
commit 74dc65ab2e
11 changed files with 401 additions and 0 deletions

22
keyboards/xd68/xd68.c Executable file
View File

@@ -0,0 +1,22 @@
#include "xd68.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
led_init_ports();
}
void led_init_ports(void) {
// * Set our LED pins as output
setPinOutput(B2);
writePinHigh(B2);
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(B2, !led_state.caps_lock);
}
return true;
}