summaryrefslogtreecommitdiff
path: root/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
diff options
context:
space:
mode:
authorSendy YK <mr@sendyyk.com>2020-09-29 11:32:38 +0700
committerGitHub <noreply@github.com>2020-09-28 21:32:38 -0700
commitd844f5af7031e18d8933954e85903484d51d978a (patch)
treec56a0b4c74730096616f8580f950a0f0256a93b3 /layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
parent2eeb30cd5ac755fcb8314ec6b39b56412f43baf1 (diff)
Update mrsendyyk Community Layouts (#10338)
* Add layouts/community/numpad_5x4/mrsendyyk * Update keymap.c * Update readme.md * Update readme.md * Update readme.md * Rename my community layouts * Rename * Rename * Cleanup my code * Update readme.md * Cleanup * Update keymap.c * Delete unnecessary files
Diffstat (limited to 'layouts/community/60_ansi_arrow/mrsendyyk/keymap.c')
-rw-r--r--layouts/community/60_ansi_arrow/mrsendyyk/keymap.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c b/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
index 80d03922b9..0f6bef4e48 100644
--- a/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
+++ b/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2020 Sendy YK (https://mr.sendyyk.com).
+/*
+ * Copyright (C) 2020 Sendy YK <mr@sendyyk.com>.
*
* 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
@@ -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 {
@@ -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,
@@ -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: