Compare commits

...

2 Commits

Author SHA1 Message Date
Paul Warren 48bf7763c6 readme udpates 2020-08-07 21:10:22 +10:00
Paul Warren f4e621ff30 CapsLock LED on pro micro 2020-08-07 20:58:31 +10:00
2 changed files with 24 additions and 2 deletions

View File

@ -62,3 +62,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, KC_MS_BTN1, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT
),
};
void led_set_user(uint8_t usb_led){
//turn on the Pro Micro's on board LEDs for CAPS LOCK
if(IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)){
//set led pins to low
setPinOutput(B0);
writePinLow(B0);
setPinOutput(D5);
writePinLow(D5);
} else {
//set to Hi-Z
setPinInput(B0);
setPinInput(D5);
}
}

View File

@ -1,11 +1,16 @@
# 68Keys.io
# 68Keys.io pwarren's layout
Custom [68Keys.io](https://68keys.io) DIY keyboard.
Keymap Maintainer: [sbstjn](https://sbstjn.com)
Keymap Maintainer: [pwarren](https://gitea.pwarren.id.au/pwarren/)
Hardware Supported: mf68
Hardware Availability: [DIY Guide](https://68keys.io)
This layout is for my builds of the 68keys.io kit, it's a basic qwerty on 0, with the function keys on layer 1 accessed with right alt, along with media keys and a few others. Layer 2 is for mouse movement and emoji's accessed with right gui / menu.
I also copied the Pro Micro LED for caps lock from the emdarcher layout in the qmk firmware.
Make example for this keyboard (after setting up your build environment):
```bash