forked from mirrors/qmk_userspace
Keyboard: Add QWERTYYdox keyboard (#3636)
* Add files via upload * Update readme.md * Update readme.md * Update readme.md * Add files via upload * Delete split_util.h * Delete split_util.c * Delete serial.h * Delete serial.c * Delete matrix.c * Delete i2c.h * Delete i2c.c * Update rules.mk * Update config.h * Update readme.md * Update readme.md
This commit is contained in:
parent
d87ef88de0
commit
4cc1edbb67
13 changed files with 505 additions and 0 deletions
22
keyboards/qwertyydox/rev1/rev1.c
Normal file
22
keyboards/qwertyydox/rev1/rev1.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "rev1.h"
|
||||
|
||||
|
||||
#ifdef SSD1306OLED
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
||||
led_set_user(usb_led);
|
||||
}
|
||||
#endif
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
|
||||
// // green led on
|
||||
// DDRD |= (1<<5);
|
||||
// PORTD &= ~(1<<5);
|
||||
|
||||
// // orange led on
|
||||
// DDRB |= (1<<0);
|
||||
// PORTB &= ~(1<<0);
|
||||
|
||||
matrix_init_user();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue