Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup my Community Layout #10338

Merged
merged 16 commits into from
Sep 29, 2020
19 changes: 0 additions & 19 deletions keyboards/ai03/soyuz/keymaps/mrsendyyk/readme.md

This file was deleted.

98 changes: 0 additions & 98 deletions keyboards/dz60/keymaps/mrsendyyk/keymap.c

This file was deleted.

85 changes: 0 additions & 85 deletions keyboards/dz60/keymaps/mrsendyyk/readme.md

This file was deleted.

6 changes: 0 additions & 6 deletions layouts/community/60_ansi_arrow/layout.json

This file was deleted.

15 changes: 11 additions & 4 deletions layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* Copyright (C) 2020 Sendy YK (https://mr.sendyyk.com).
/*
* Copyright (C) 2020 Sendy YK <[email protected]>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -13,7 +14,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/


/*
* 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>.
*/

#include QMK_KEYBOARD_H

enum layer_names {
Expand All @@ -22,7 +29,7 @@ enum layer_names {
_SETTINGS // Fn Layer 2
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default Layer
[_BASE] = LAYOUT_60_ansi_arrow(
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
Expand Down Expand Up @@ -73,7 +80,7 @@ void led_set_user(uint8_t usb_led) {
rgblight_setrgb(100, 255, 100);
}
// Layer Indicator
else {
else {
switch (get_highest_layer(layer_state)) {
// Fn Layer 1 Indicator
case _FN:
Expand Down
21 changes: 12 additions & 9 deletions layouts/community/60_ansi_arrow/mrsendyyk/readme.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Sendy YK's 60% ANSI Arrow Layout and Keymap

[https://mr.sendyyk.com](https://mr.sendyyk.com)
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).

## 60% ANSI Arrow Layout

![LAYOUT_60_ansi_arrow](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/dz60/assets/layout-60-ansi-arrow.png)
![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)

## Keymap

### Default Layer

![_BASE](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/dz60/assets/layout-60-ansi-arrow-keymap---layer-0.png)
![_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)

### Fn Layer 1

Press and hold *right* **Ctrl** key.

![_FN](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/dz60/assets/layout-60-ansi-arrow-keymap---layer-1.png)
![_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)

### Fn Layer 2

Press and hold *right* **Alt** key.

![_SETTINGS](https://raw.githubusercontent.com/mrsendyyk/my_qmk/master/dz60/assets/layout-60-ansi-arrow-keymap---layer-2.png)
![_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)

### RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator

Expand Down Expand Up @@ -57,7 +57,7 @@ Press and hold *right* **Alt** key.

```c
// Layer Indicator
else {
else {
switch (get_highest_layer(layer_state)) {
// Fn Layer 1 Indicator
case _FN:
Expand All @@ -78,8 +78,11 @@ Press and hold *right* **Alt** key.

## Build The Firmware

You will need to build the firmware. To do so go to your terminal window and run the compile command:
Make example for keyboard (after setting up your build environment):

qmk compile -kb dz60 -km mrsendyyk
make <keyboard_folder>:mrsendyyk

See [The Complete Newbs Guide To QMK](https://docs.qmk.fm/#/newbs).
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)
2 changes: 1 addition & 1 deletion layouts/community/60_ansi_arrow/mrsendyyk/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
USER_NAME := mrsendyyk
USER_NAME := mrsendyyk
Loading