aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
diff options
context:
space:
mode:
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 80d03922b..0f6bef4e4 100644
--- a/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
+++ b/layouts/community/60_ansi_arrow/mrsendyyk/keymap.c
@@ -1,4 +1,5 @@
1/* Copyright (C) 2020 Sendy YK (https://mr.sendyyk.com). 1/*
2 * Copyright (C) 2020 Sendy YK <mr@sendyyk.com>.
2 * 3 *
3 * This program is free software: you can redistribute it and/or modify 4 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
@@ -13,7 +14,13 @@
13 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <https://www.gnu.org/licenses/>. 15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
15 */ 16 */
16 17
18/*
19 * 60% ANSI Arrow Keyboard Layout and Keymap
20 * with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
21 * by Sendy YK <https://mr.sendyyk.com>.
22 */
23
17#include QMK_KEYBOARD_H 24#include QMK_KEYBOARD_H
18 25
19enum layer_names { 26enum layer_names {
@@ -22,7 +29,7 @@ enum layer_names {
22 _SETTINGS // Fn Layer 2 29 _SETTINGS // Fn Layer 2
23}; 30};
24 31
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 32const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 // Default Layer 33 // Default Layer
27 [_BASE] = LAYOUT_60_ansi_arrow( 34 [_BASE] = LAYOUT_60_ansi_arrow(
28 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, 35 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) {
73 rgblight_setrgb(100, 255, 100); 80 rgblight_setrgb(100, 255, 100);
74 } 81 }
75 // Layer Indicator 82 // Layer Indicator
76 else { 83 else {
77 switch (get_highest_layer(layer_state)) { 84 switch (get_highest_layer(layer_state)) {
78 // Fn Layer 1 Indicator 85 // Fn Layer 1 Indicator
79 case _FN: 86 case _FN: