diff options
author | Pierre Constantineau <jpconstantineau@gmail.com> | 2018-06-05 19:15:19 +0300 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-06-05 09:15:19 -0700 |
commit | c5b9533312443b78b152385d267cb19a87189478 (patch) | |
tree | 94bc31d4589aff231fd26c67a57bff6d693e4cb2 /keyboards/ergotravel/rev1/rev1.c | |
parent | 6b1350d764a0caf16bcf9c175a5c7867d8cd4fcb (diff) | |
download | qmk_firmware-c5b9533312443b78b152385d267cb19a87189478.tar.gz qmk_firmware-c5b9533312443b78b152385d267cb19a87189478.zip |
adding all ErgoTravel Files (#3129)
* adding all ErgoTravel Files
* fixing KC_KEYMAP to LAYOUT_kc on Viet's keymap.c
Diffstat (limited to 'keyboards/ergotravel/rev1/rev1.c')
-rw-r--r-- | keyboards/ergotravel/rev1/rev1.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/ergotravel/rev1/rev1.c b/keyboards/ergotravel/rev1/rev1.c new file mode 100644 index 0000000000..609c479eb3 --- /dev/null +++ b/keyboards/ergotravel/rev1/rev1.c @@ -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(); +}; |