2020-09-21 20:34:06 +00:00
# Sendy YK's 60% ANSI Arrow Layout and Keymap
2020-08-19 18:16:10 +00:00
2020-09-29 04:32:38 +00:00
60% ANSI Arrow keyboard layout and keymap with RGB lighting/LED/underglow as Caps Lock, Num Lock, Scroll Lock, and layer indicator by [Sendy YK ](https://mr.sendyyk.com ).
2020-08-19 18:16:10 +00:00
2020-09-21 20:34:06 +00:00
## 60% ANSI Arrow Layout
2020-09-29 04:32:38 +00:00
![LAYOUT_60_ansi_arrow ](https://raw.githubusercontent.com/mrsendyyk/files/public/qmk/firmware/layouts/community/60_ansi_arrow/mrsendyyk/images/layout-60-ansi-arrow.png )
2020-09-21 20:34:06 +00:00
## Keymap
### Default Layer
2020-09-29 04:32:38 +00:00
![_BASE ](https://raw.githubusercontent.com/mrsendyyk/files/public/qmk/firmware/layouts/community/60_ansi_arrow/mrsendyyk/images/layout-60-ansi-arrow-keymap---layer-0.png )
2020-09-21 20:34:06 +00:00
### Fn Layer 1
Press and hold *right* **Ctrl** key.
2020-09-29 04:32:38 +00:00
![_FN ](https://raw.githubusercontent.com/mrsendyyk/files/public/qmk/firmware/layouts/community/60_ansi_arrow/mrsendyyk/images/layout-60-ansi-arrow-keymap---layer-1.png )
2020-09-21 20:34:06 +00:00
### Fn Layer 2
Press and hold *right* **Alt** key.
2020-08-19 18:16:10 +00:00
2020-09-29 04:32:38 +00:00
![_SETTINGS ](https://raw.githubusercontent.com/mrsendyyk/files/public/qmk/firmware/layouts/community/60_ansi_arrow/mrsendyyk/images/layout-60-ansi-arrow-keymap---layer-2.png )
2020-09-21 20:34:06 +00:00
### 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);
}
2020-08-19 18:16:10 +00:00
```
2020-09-21 20:34:06 +00:00
#### Num Lock Indicator
```c
// Num Lock Indicator
if (host_keyboard_led_state().num_lock) {
rgblight_setrgb(225, 8, 0);
}
2020-08-19 18:16:10 +00:00
```
2020-09-21 20:34:06 +00:00
#### Scroll Lock Indicator
```c
// Scroll Lock Indicator
if (host_keyboard_led_state().scroll_lock) {
rgblight_setrgb(255, 110, 0);
}
2020-08-19 18:16:10 +00:00
```
2020-09-21 20:34:06 +00:00
#### Layer Indicator
```c
// Layer Indicator
2020-09-29 04:32:38 +00:00
else {
2020-09-21 20:34:06 +00:00
switch (get_highest_layer(layer_state)) {
// 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();
}
2020-08-19 18:16:10 +00:00
```
2020-09-21 20:34:06 +00:00
## Build The Firmware
2020-09-29 04:32:38 +00:00
Make example for keyboard (after setting up your build environment):
2020-09-21 20:34:06 +00:00
2020-09-29 04:32:38 +00:00
make < keyboard_folder > :mrsendyyk
2020-09-21 20:34:06 +00:00
2020-09-29 04:32:38 +00:00
More information:
* [Setting Up Your QMK Environment ](https://docs.qmk.fm/#/getting_started_build_tools )
* [More Detailed make Instructions ](https://docs.qmk.fm/#/getting_started_make_guide )
* [The Complete Newbs Guide To QMK ](https://docs.qmk.fm/#/newbs )