aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dz60/keymaps/mrsendyyk/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dz60/keymaps/mrsendyyk/readme.md')
-rw-r--r--keyboards/dz60/keymaps/mrsendyyk/readme.md109
1 files changed, 69 insertions, 40 deletions
diff --git a/keyboards/dz60/keymaps/mrsendyyk/readme.md b/keyboards/dz60/keymaps/mrsendyyk/readme.md
index f5b74d8eb..ae5ad2228 100644
--- a/keyboards/dz60/keymaps/mrsendyyk/readme.md
+++ b/keyboards/dz60/keymaps/mrsendyyk/readme.md
@@ -1,56 +1,85 @@
-# [Sendy YK](https://mr.sendyyk.com)'s Keymap
-`LAYOUT_60_ansi_arrow` with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer indicator.
+# Sendy YK's 60% ANSI Arrow Layout and Keymap
+
+This is Sendy YK's [60% ANSI Arrow Layout](https://github.com/qmk/qmk_firmware/blob/master/layouts/default/60_ansi_arrow/info.json) and [Keymap (with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator)](https://github.com/qmk/qmk_firmware/blob/master/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c).
+
+## 60% ANSI Arrow Layout
+
+![LAYOUT_60_ansi_arrow](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/kbdfans_tofu_60_keyboard/assets/dz60_layout_60_ansi_arrow.png)
+
+## Keymap
### Default Layer [0]
-```
-┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
-│Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │= │Bspc │
-├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
-│Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │\ │
-├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
-│Caps L│A │S │D │F │G │H │J │K │L │; │' │Enter │
-├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
-│Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │
-├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤
-│Ctl │OS │Alt │ Space │Alt│Ctl│← │↓ │→ │
-└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘
-```
+![Default Layer [0]](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/kbdfans_tofu_60_keyboard/assets/dz60_mrsendyyk_0.png)
### Fn Layer [1]
-Press and hold *right* **Ctl** key.
-```
-┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
-│` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Delete │
-├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
-│Bri+ │ │ │End│Rst│ │ │ │Ins│ │P S│ │ │Eject│
-├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
-│Bri- │ │S L│ │ │ │Hm │ │ │ │ │ │Mute │
-├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
-│Vol+ │ │ │Cal│ │ │N L│Ml │ │ │Pause │P U│ │
-├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤
-│Vol-│Rwd │F FD│ Play │Stp│ │Prv│P D│Nxt│
-└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘
-```
+
+Press and hold *right* **Ctrl** key.
+
+![Fn Layer [1]](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/kbdfans_tofu_60_keyboard/assets/dz60_mrsendyyk_1.png)
### Fn Layer [2]
+
Press and hold *right* **Alt** key.
+
+![Fn Layer [2]](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/kbdfans_tofu_60_keyboard/assets/dz60_mrsendyyk_2.png)
+
+### RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
+
+#### Caps Lock Indicator
+
+```c
+/* Caps Lock Indicator */
+ if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
+ writePinLow(B2);
+ rgblight_setrgb(100, 255, 100);
+ }
+```
+
+#### Num Lock Indicator
+
+```c
+/* Num Lock Indicator */
+ if (host_keyboard_led_state().num_lock) {
+ rgblight_setrgb(225, 8, 0);
+ }
```
-┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
-│ │ │ │ │ │ │ │ │ │ │ │ │ │ │
-├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
-│ │R T│R M│Hu+│Hu-│Sa+│Sa-│Br+│Br-│ │ │ │ │ │
-├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
-│ │ │ │ │ │ │ │ │ │ │ │ │ │
-├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
-│ │ │ │ │BL-│B T│BL+│B C│ │ │ │ │ │
-├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤
-│ │ │ │ │ │ │ │ │ │
-└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘
+
+#### Scroll Lock Indicator
+```c
+/* Scroll Lock Indicator */
+ if (host_keyboard_led_state().scroll_lock) {
+ rgblight_setrgb(241, 190, 72);
+ }
+```
+
+#### Layer Indicator
+
+```c
+/* Layer Indicator */
+ else {
+ switch (get_highest_layer(layer_state)) {
+ /* Fn Layer [1] Indicator */
+ case 1:
+ rgblight_setrgb(255, 110, 0);
+ break;
+ /* Fn Layer [2] Indicator */
+ case 2:
+ rgblight_setrgb(255, 110, 0);
+ break;
+ /* Default Layer [0] Indicator */
+ default:
+ rgblight_setrgb(0, 0, 0);
+ break;
+ }
+ update_led();
+ }
```
## Build The Firmware
+
You will need to build the firmware. To do so go to your terminal window and run the compile command:
qmk compile -kb dz60 -km mrsendyyk
+
See [The Complete Newbs Guide To QMK](https://docs.qmk.fm/#/newbs).