Minor updates 60_ansi_arrow (#10332)
* Minor updates 60_ansi_arrow * Update keymap.c * Update keymap.c * Minnor updates * Minnor updates * Update readme.mdpre-develop-merge-nov20
parent
2f637e4ea1
commit
becaf325a3
@ -1,50 +1,85 @@ |
|||||||
# [Sendy YK](https://mr.sendyyk.com)'s 60_ansi_arrow Keymap |
# Sendy YK's 60% ANSI Arrow Layout and Keymap |
||||||
`LAYOUT_60_ansi_arrow` with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer indicator. |
|
||||||
|
|
||||||
### Default Layer [0] |
[https://mr.sendyyk.com](https://mr.sendyyk.com) |
||||||
|
|
||||||
``` |
## 60% ANSI Arrow Layout |
||||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
|
||||||
│Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │= │Bspc │ |
 |
||||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
|
||||||
│Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │\ │ |
## Keymap |
||||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
|
||||||
│Caps L│A │S │D │F │G │H │J │K │L │; │' │Enter │ |
### Default Layer |
||||||
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ |
|
||||||
│Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ |
 |
||||||
├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ |
|
||||||
│Ctl │OS │Alt │ Space │Alt│Ctl│← │↓ │→ │ |
### Fn Layer 1 |
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
|
||||||
``` |
Press and hold *right* **Ctrl** key. |
||||||
|
|
||||||
|
 |
||||||
|
|
||||||
|
### Fn Layer 2 |
||||||
|
|
||||||
|
Press and hold *right* **Alt** key. |
||||||
|
|
||||||
### Fn Layer [1] |
 |
||||||
Press and hold *right* **Ctl** key. |
|
||||||
|
### 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); |
||||||
|
} |
||||||
``` |
``` |
||||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
|
||||||
│` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Delete │ |
#### Num Lock Indicator |
||||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
|
||||||
│Bri+ │ │ │End│Rst│ │ │ │Ins│ │P S│ │ │Eject│ |
```c |
||||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
// Num Lock Indicator |
||||||
│Bri- │ │S L│ │ │ │Hm │ │ │ │ │ │Mute │ |
if (host_keyboard_led_state().num_lock) { |
||||||
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ |
rgblight_setrgb(225, 8, 0); |
||||||
│Vol+ │ │ │Cal│ │ │N L│Ml │ │ │Pause │P U│ │ |
} |
||||||
├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ |
|
||||||
│Vol-│Rwd │F FD│ Play │Stp│ │Prv│P D│Nxt│ |
|
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
|
||||||
``` |
``` |
||||||
|
|
||||||
### Fn Layer [2] |
#### Scroll Lock Indicator |
||||||
Press and hold *right* **Alt** key. |
```c |
||||||
|
// Scroll Lock Indicator |
||||||
|
if (host_keyboard_led_state().scroll_lock) { |
||||||
|
rgblight_setrgb(255, 110, 0); |
||||||
|
} |
||||||
``` |
``` |
||||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
|
||||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
#### Layer Indicator |
||||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
|
||||||
│ │R T│R M│Hu+│Hu-│Sa+│Sa-│Br+│Br-│ │ │ │ │ │ |
```c |
||||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
// Layer Indicator |
||||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ |
else { |
||||||
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ |
switch (get_highest_layer(layer_state)) { |
||||||
│ │ │ │ │BL-│B T│BL+│B C│ │ │ │ │ │ |
// Fn Layer 1 Indicator |
||||||
├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ |
case _FN: |
||||||
│ │ │ │ │ │ │ │ │ │ |
rgblight_setrgb(100, 255, 100); |
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
break; |
||||||
|
// Fn Layer 2 Indicator |
||||||
|
case _SETTINGS: |
||||||
|
rgblight_setrgb(100, 255, 100); |
||||||
|
break; |
||||||
|
// Default Layer Indicator |
||||||
|
case _BASE: |
||||||
|
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). |
||||||
|
@ -1,50 +1,23 @@ |
|||||||
# 60_ansi_arrow |
# 60_ansi_arrow and Keymap |
||||||
`LAYOUT_60_ansi_arrow` |
|
||||||
|
## 60% ANSI Arrow Layout |
||||||
### Default Layer [0] |
|
||||||
|
 |
||||||
``` |
|
||||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
## Keymap |
||||||
│Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │= │Bspc │ |
|
||||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
### Default Layer |
||||||
│Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │\ │ |
|
||||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
 |
||||||
│Caps L│A │S │D │F │G │H │J │K │L │; │' │Enter │ |
|
||||||
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ |
### Fn Layer 1 |
||||||
│Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ |
|
||||||
├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ |
Press and hold *right* **Ctrl** key. |
||||||
│Ctl │OS │Alt │ Space │Alt│Ctl│← │↓ │→ │ |
|
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
 |
||||||
``` |
|
||||||
|
### Fn Layer 2 |
||||||
### 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│ |
|
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
|
||||||
``` |
|
||||||
|
|
||||||
### Fn Layer [2] |
|
||||||
Press and hold *right* **Alt** key. |
Press and hold *right* **Alt** key. |
||||||
``` |
|
||||||
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
 |
||||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
|
||||||
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
|
||||||
│ │R T│R M│Hu+│Hu-│Sa+│Sa-│Br+│Br-│ │ │ │ │ │ |
|
||||||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
|
||||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ |
|
||||||
├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ |
|
||||||
│ │ │ │ │BL-│B T│BL+│B C│ │ │ │ │ │ |
|
||||||
├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ |
|
||||||
│ │ │ │ │ │ │ │ │ │ |
|
||||||
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ |
|
||||||
``` |
|
||||||
|
Loading…
Reference in new issue