summaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_4x12/wanleg/readme.md
diff options
context:
space:
mode:
authorwanleg <32079073+wanleg@users.noreply.github.com>2018-08-30 18:34:14 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-30 18:34:14 +0200
commit2fcfd5cff7089338385c40a630315939a7a9ebbc (patch)
tree11e549f05d6141bc40ede234b319ec6edb54be4b /layouts/community/ortho_4x12/wanleg/readme.md
parent2b707f3470afd10f2db9db17d096dda836535444 (diff)
downloadqmk_firmware-2fcfd5cff7089338385c40a630315939a7a9ebbc.tar.gz
qmk_firmware-2fcfd5cff7089338385c40a630315939a7a9ebbc.tar.xz
Keymap: Wanleg updates (#3794)
* various edits and minor additions * updates * updates * updates * lets_split LEDs off instructions * lets_split LEDs off instructions * turn off lets_split LEDs in userspace * one-hand setup for right side
Diffstat (limited to 'layouts/community/ortho_4x12/wanleg/readme.md')
-rw-r--r--layouts/community/ortho_4x12/wanleg/readme.md40
1 files changed, 35 insertions, 5 deletions
diff --git a/layouts/community/ortho_4x12/wanleg/readme.md b/layouts/community/ortho_4x12/wanleg/readme.md
index 2f89d1de6..1cd41d116 100644
--- a/layouts/community/ortho_4x12/wanleg/readme.md
+++ b/layouts/community/ortho_4x12/wanleg/readme.md
@@ -16,9 +16,39 @@ Change `comPORT` to whatever port is used by the Arduino (e.g. `com11` in Window
## Using QMK DFU
Once QMK DFU is burned to your ProMicro, you can then flash subsequent hex files with
`make lets_split/rev2:<keymap>:dfu dfu=qmk`
-The `dfu=qmk` conditional will set `BOOTLOADER = qmk-dfu` instead of `BOOTLOADER = caterina`
+The `dfu=qmk` conditional will set `BOOTLOADER = qmk-dfu` instead of `BOOTLOADER = caterina`
----
-# JJ40
-## To Do
-- [ ] Mousekeys not working with Userspace for some reason (jj40 only) \ No newline at end of file
+# Let's Split LEDs
+In `qmk_firmware/keyboards/lets_split/rev2/rev2.c`, replace contents with
+```
+#include "lets_split.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);
+
+ //turn off LEDs on ProMicro
+ DDRD &= ~(1<<5);
+ PORTD &= ~(1<<5);
+
+ DDRB &= ~(1<<0);
+ PORTB &= ~(1<<0);
+
+ matrix_init_user();
+};
+```
+to turn off LEDs