[Keymap] Add 60_ansi_arrow_split_bs_7u_spc layout & keymap (#11329)

* Add 60_ansi_arrow_split_bs_7u_spc layout & keymap

* Update readme.md

* Minor updates

* Update dz60.h

* Update keymap.c

* Update readme.md

* Update keymap.c

* Update readme.md

* Update readme.md

* Update keymap.c

* Update layouts/default/60_ansi_arrow_split_bs_7u_spc/layout.json

* Update keymap.c

* Update readme.md
master
Sendy YK 2021-03-06 01:30:06 +07:00 committed by GitHub
parent 73b8f85816
commit 52d8cbf092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 638 additions and 306 deletions

View File

@ -32,6 +32,33 @@
{ k40, k41, KC_NO, k43, k44, KC_NO, k46, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4d, k4e } \ { k40, k41, KC_NO, k43, k44, KC_NO, k46, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4d, k4e } \
} }
/* LAYOUT_60_ansi_arrow_split_bs_7u_spc
*
* 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e
*
* 10 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e
*
* 20 22 23 24 25 26 27 28 29 2a 2b 2c 2d
*
* 30 32 33 34 35 36 37 38 39 3a 3c 3d 3e
*
* 40 41 43 46 4b 4c 4d 4e
*
*/
#define LAYOUT_60_ansi_arrow_split_bs_7u_spc( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, \
k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3c, k3d, k3e, \
k40, k41, k43, k46, k4b, k4c, k4d, k4e \
) { \
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
{ k10, KC_NO, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \
{ k20, KC_NO, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \
{ k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, KC_NO, k3c, k3d, k3e }, \
{ k40, k41, KC_NO, k43, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, KC_NO, k4b, k4c, k4d, k4e } \
}
/* /*
* LAYOUT_60_ansi_arrow * LAYOUT_60_ansi_arrow
* *

View File

@ -80,75 +80,146 @@
{"x": 14, "y": 4} {"x": 14, "y": 4}
] ]
}, },
"LAYOUT_60_ansi_arrow_split_bs_7u_spc": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4, "y": 0},
{"x": 5, "y": 0},
{"x": 6, "y": 0},
{"x": 7, "y": 0},
{"x": 8, "y": 0},
{"x": 9, "y": 0},
{"x": 10, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 0, "y": 1, "w": 1.5},
{"x": 1.5, "y": 1},
{"x": 2.5, "y": 1},
{"x": 3.5, "y": 1},
{"x": 4.5, "y": 1},
{"x": 5.5, "y": 1},
{"x": 6.5, "y": 1},
{"x": 7.5, "y": 1},
{"x": 8.5, "y": 1},
{"x": 9.5, "y": 1},
{"x": 10.5, "y": 1},
{"x": 11.5, "y": 1},
{"x": 12.5, "y": 1},
{"x": 13.5, "y": 1, "w": 1.5},
{"x": 0, "y": 2, "w": 1.75},
{"x": 1.75, "y": 2},
{"x": 2.75, "y": 2},
{"x": 3.75, "y": 2},
{"x": 4.75, "y": 2},
{"x": 5.75, "y": 2},
{"x": 6.75, "y": 2},
{"x": 7.75, "y": 2},
{"x": 8.75, "y": 2},
{"x": 9.75, "y": 2},
{"x": 10.75, "y": 2},
{"x": 11.75, "y": 2},
{"x": 12.75, "y": 2, "w": 2.25},
{"x": 0, "y": 3, "w": 2.25},
{"x": 2.25, "y": 3},
{"x": 3.25, "y": 3},
{"x": 4.25, "y": 3},
{"x": 5.25, "y": 3},
{"x": 6.25, "y": 3},
{"x": 7.25, "y": 3},
{"x": 8.25, "y": 3},
{"x": 9.25, "y": 3},
{"x": 10.25, "y": 3},
{"x": 11.25, "y": 3, "w": 1.75},
{"x": 13, "y": 3},
{"x": 14, "y": 3},
{"x": 0, "y": 4, "w": 1.5},
{"x": 1.5, "y": 4},
{"x": 2.5, "y": 4, "w": 1.5},
{"x": 4, "y": 4, "w": 7},
{"x": 11, "y": 4},
{"x": 12, "y": 4},
{"x": 13, "y": 4},
{"x": 14, "y": 4}
]
},
"LAYOUT_60_ansi_arrow": { "LAYOUT_60_ansi_arrow": {
"layout": [ "layout": [
{"x":0, "y":0}, {"x": 0, "y": 0},
{"x":1, "y":0}, {"x": 1, "y": 0},
{"x":2, "y":0}, {"x": 2, "y": 0},
{"x":3, "y":0}, {"x": 3, "y": 0},
{"x":4, "y":0}, {"x": 4, "y": 0},
{"x":5, "y":0}, {"x": 5, "y": 0},
{"x":6, "y":0}, {"x": 6, "y": 0},
{"x":7, "y":0}, {"x": 7, "y": 0},
{"x":8, "y":0}, {"x": 8, "y": 0},
{"x":9, "y":0}, {"x": 9, "y": 0},
{"x":10, "y":0}, {"x": 10, "y": 0},
{"x":11, "y":0}, {"x": 11, "y": 0},
{"x":12, "y":0}, {"x": 12, "y": 0},
{"x":13, "y":0, "w":2}, {"x": 13, "y": 0, "w": 2},
{"x":0, "y":1, "w":1.5}, {"x": 0, "y": 1, "w": 1.5},
{"x":1.5, "y":1}, {"x": 1.5, "y": 1},
{"x":2.5, "y":1}, {"x": 2.5, "y": 1},
{"x":3.5, "y":1}, {"x": 3.5, "y": 1},
{"x":4.5, "y":1}, {"x": 4.5, "y": 1},
{"x":5.5, "y":1}, {"x": 5.5, "y": 1},
{"x":6.5, "y":1}, {"x": 6.5, "y": 1},
{"x":7.5, "y":1}, {"x": 7.5, "y": 1},
{"x":8.5, "y":1}, {"x": 8.5, "y": 1},
{"x":9.5, "y":1}, {"x": 9.5, "y": 1},
{"x":10.5, "y":1}, {"x": 10.5, "y": 1},
{"x":11.5, "y":1}, {"x": 11.5, "y": 1},
{"x":12.5, "y":1}, {"x": 12.5, "y": 1},
{"x":13.5, "y":1, "w":1.5}, {"x": 13.5, "y": 1, "w": 1.5},
{"x":0, "y":2, "w":1.75}, {"x": 0, "y": 2, "w": 1.75},
{"x":1.75, "y":2}, {"x": 1.75, "y": 2},
{"x":2.75, "y":2}, {"x": 2.75, "y": 2},
{"x":3.75, "y":2}, {"x": 3.75, "y": 2},
{"x":4.75, "y":2}, {"x": 4.75, "y": 2},
{"x":5.75, "y":2}, {"x": 5.75, "y": 2},
{"x":6.75, "y":2}, {"x": 6.75, "y": 2},
{"x":7.75, "y":2}, {"x": 7.75, "y": 2},
{"x":8.75, "y":2}, {"x": 8.75, "y": 2},
{"x":9.75, "y":2}, {"x": 9.75, "y": 2},
{"x":10.75, "y":2}, {"x": 10.75, "y": 2},
{"x":11.75, "y":2}, {"x": 11.75, "y": 2},
{"x":12.75, "y":2, "w":2.25}, {"x": 12.75, "y": 2, "w": 2.25},
{"x":0, "y":3, "w":2.25}, {"x": 0, "y": 3, "w": 2.25},
{"x":2.25, "y":3}, {"x": 2.25, "y": 3},
{"x":3.25, "y":3}, {"x": 3.25, "y": 3},
{"x":4.25, "y":3}, {"x": 4.25, "y": 3},
{"x":5.25, "y":3}, {"x": 5.25, "y": 3},
{"x":6.25, "y":3}, {"x": 6.25, "y": 3},
{"x":7.25, "y":3}, {"x": 7.25, "y": 3},
{"x":8.25, "y":3}, {"x": 8.25, "y": 3},
{"x":9.25, "y":3}, {"x": 9.25, "y": 3},
{"x":10.25, "y":3}, {"x": 10.25, "y": 3},
{"x":11.25, "y":3, "w":1.75}, {"x": 11.25, "y": 3, "w": 1.75},
{"x":13, "y":3}, {"x": 13, "y": 3},
{"x":14, "y":3}, {"x": 14, "y": 3},
{"x":0, "y":4, "w":1.25}, {"x": 0, "y": 4, "w": 1.25},
{"x":1.25, "y":4, "w":1.25}, {"x": 1.25, "y": 4, "w": 1.25},
{"x":2.5, "y":4, "w":1.25}, {"x": 2.5, "y": 4, "w": 1.25},
{"x":3.75, "y":4, "w":6.25}, {"x": 3.75, "y": 4, "w": 6.25},
{"x":10, "y":4}, {"x": 10, "y": 4},
{"x":11, "y":4}, {"x": 11, "y": 4},
{"x":12, "y":4}, {"x": 12, "y": 4},
{"x":13, "y":4}, {"x": 13, "y": 4},
{"x":14, "y":4} {"x": 14, "y": 4}
] ]
}, },
"LAYOUT_true_hhkb": { "LAYOUT_true_hhkb": {

View File

@ -21,4 +21,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LAYOUTS = 60_ansi 60_ansi_arrow 60_ansi_split_bs_rshift 60_hhkb 60_iso 60_abnt2 60_tsangan_hhkb LAYOUTS = 60_ansi 60_ansi_arrow_split_bs_7u_spc 60_ansi_arrow 60_ansi_split_bs_rshift 60_hhkb 60_iso 60_abnt2 60_tsangan_hhkb

View File

@ -1,88 +0,0 @@
/*
* 60 ANSI Arrow Keymap with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
*
* Copyright (C) 2020 Sendy YK <https://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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
enum layer_names {
_BASE, // Default Layer
_FN // Fn Layer
};
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,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT
),
// Fn Layer
[_FN] = LAYOUT_60_ansi_arrow(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
KC_BRIU, _______, _______, KC_END, RESET, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_EJCT,
KC_BRID, _______, KC_SLCK, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_MUTE,
KC_VOLU, _______, _______, KC_CALC, _______, _______, KC_NLCK, KC_MAIL, _______, _______, KC_PAUS, KC_PGUP, _______,
KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, KC_MSTP, _______, KC_MPRV, KC_PGDN, KC_MNXT
)
};
void keyboard_post_init_user(void) {
rgblight_enable_noeeprom();
rgblight_setrgb(100, 255, 100);
}
// RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
void update_led(void) {
// Num Lock Indicator
if (host_keyboard_led_state().num_lock) {
rgblight_setrgb(225, 8, 0);
}
// Scroll Lock Indicator
if (host_keyboard_led_state().scroll_lock) {
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 2);
}
}
void led_set_user(uint8_t usb_led) {
// Caps Lock Indicator
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinLow(B2);
rgblight_setrgb(255, 110, 0);
}
// Layer Indicator
else {
switch (get_highest_layer(layer_state)) {
// Fn Layer Indicator
case _FN:
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 1);
break;
// Default Layer Indicator
case _BASE:
rgblight_setrgb(100, 255, 100);
break;
}
update_led();
}
}
layer_state_t layer_state_set_user(layer_state_t state) {
update_led();
return state;
}

View File

@ -1,70 +0,0 @@
# 60 ANSI Arrow Keymap by [Sendy YK](https://mr.sendyyk.com)
With RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator.
## Default Layer
![_BASE](https://raw.githubusercontent.com/mrsendyyk/qmk_firmware/development/images/60_ansi_arrow_keymap_base.png)
## Fn Layer
![_FN](https://raw.githubusercontent.com/mrsendyyk/qmk_firmware/development/images/60_ansi_arrow_keymap_fn.png)
## 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(255, 110, 0);
}
```
### Num Lock Indicator
```c
// Num Lock Indicator
if (host_keyboard_led_state().num_lock) {
rgblight_setrgb(225, 8, 0);
}
```
### Scroll Lock Indicator
```c
// Scroll Lock Indicator
if (host_keyboard_led_state().scroll_lock) {
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 2);
}
```
### Layer Indicator
```c
// Layer Indicator
else {
switch (get_highest_layer(layer_state)) {
// Fn Layer Indicator
case _FN:
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 1);
break;
// Default Layer Indicator
case _BASE:
rgblight_setrgb(100, 255, 100);
break;
}
update_led();
}
```
## Build The Firmware
Make example for keyboard (after setting up your build environment):
make <keyboard_folder>:mrsendyyk
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)

View File

@ -0,0 +1,141 @@
/*
* 60 ANSI Arrow Split Backspace & 7U Space Keymap
* with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator.
*
* Copyright (C) 2020 Sendy YK <https://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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
enum layer_names {
_BASE, // Base Layer
_FN, // Fn Layer
_RESET // Reset Layer
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* [_BASE] Base Layer
*
* Esc1 2 3 4 5 6 7 8 9 0 - + \ Del
*
* Tab Q W E R T Y U I O P [ ] Bspc
*
* Caps A S D F G H J K L ; ' Return
*
* Shift Z X C V B N M , . Shift /
*
* Ctrl OS Alt Space Fn
*
*/
[_BASE] = LAYOUT_60_ansi_arrow_split_bs_7u_spc(
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_BSLS, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT
),
/*
* [_FN] Fn Layer
*
* ` F1 F2 F3 F4 F5 F6 F7 F8 F9 F10F11F12 Ejc
*
* EndRGB Ins PSc Mute
*
* SLc Hm Pause
*
* Vol + Cal BLTNLcMl PgUMSt
*
* Vol -RwdFFd Play PrvPgDNxt
*
*/
[_FN] = LAYOUT_60_ansi_arrow_split_bs_7u_spc(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_EJCT,
_______, _______, _______, KC_END, RGB_TOG, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_MUTE,
_______, _______, KC_SLCK, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_PAUS,
KC_VOLU, _______, _______, KC_CALC, _______, BL_TOGG, KC_NLCK, KC_MAIL, _______, _______, MO(_RESET), KC_PGUP, KC_MSTP,
KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, _______, KC_MPRV, KC_PGDN, KC_MNXT
),
/*
* [_RESET] Reset Layer
*
*
*
* Rst
*
*
*
*
*
*
*
*/
[_RESET] = LAYOUT_60_ansi_arrow_split_bs_7u_spc(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
)
};
void keyboard_post_init_user(void) {
rgblight_enable_noeeprom();
rgblight_setrgb(100, 255, 100);
}
// RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
void update_led(void) {
// Num Lock Indicator
if (host_keyboard_led_state().num_lock) {
rgblight_setrgb(225, 8, 0);
}
// Scroll Lock Indicator
if (host_keyboard_led_state().scroll_lock) {
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 2);
}
}
void led_set_user(uint8_t usb_led) {
// Caps Lock Indicator
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinLow(B2);
rgblight_setrgb(255, 110, 0);
}
// Layer Indicator
else {
switch (get_highest_layer(layer_state)) {
// Fn Layer Indicator
case _FN:
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 1);
break;
// Reset Layer Indicator
case _RESET:
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_GRADIENT + 3);
break;
// Base Layer Indicator
case _BASE:
rgblight_setrgb(100, 255, 100);
break;
}
update_led();
}
}
layer_state_t layer_state_set_user(layer_state_t state) {
update_led();
return state;
}

View File

@ -0,0 +1,78 @@
# 60 ANSI Arrow Split Backspace & 7U Space Keymap
With RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator by [Sendy YK](https://mr.sendyyk.com).
## Base Layer
```c
/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
* │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
* │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
* │Caps │A │S │D │F │G │H │J │K │L │; │' │Return │
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
* │Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │
* ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤
* │Ctrl │OS │Alt │Space │Fn │← │↓ │→ │
* └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘
*/
```
## Fn Layer
```c
/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
* │` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │Ejc│
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
* │ │ │ │End│RGB│ │ │ │Ins│ │PSc│ │ │Mute │
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
* │ │ │SLc│ │ │ │Hm │ │ │ │ │ │Pause │
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
* │Vol + │ │ │Cal│ │BLT│NLc│Ml │ │ │ │PgU│MSt│
* ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤
* │Vol -│Rwd│FFd │Play │ │Prv│PgD│Nxt│
* └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘
*/
```
## Reset Layer
```c
/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
* │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
* ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤
* │ │ │ │ │ │ │ │ │
* └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘
*/
```
## RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator
### Caps Lock & Layer Indicator
Set in `led_set_user` function.
### Num Lock & Scroll Lock Indicator
Set in `update_led` function.
## Build The Firmware
Make example for keyboard (after setting up your build environment):
make <keyboard_folder>:mrsendyyk FORCE_LAYOUT=60_ansi_arrow_split_bs_7u_spc
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)

View File

@ -1,5 +1,5 @@
/* /*
* 60_ansi_arrow Keymap * Default 60 ANSI Arrow Keymap.
* *
* Copyright (C) 2020 Sendy YK <https://mr.sendyyk.com> * Copyright (C) 2020 Sendy YK <https://mr.sendyyk.com>
* *
@ -20,25 +20,28 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
enum layer_names { enum layer_names {
_BASE, // Default Layer _BASE
_FN // Fn Layer
}; };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default Layer /*
*
* Esc1 2 3 4 5 6 7 8 9 0 - + Bspc
*
* Tab Q W E R T Y U I O P [ ] \
*
* Caps A S D F G H J K L ; ' Enter
*
* Shift Z X C V B N M , . Shift /
*
* CtrlGUI Alt Space AltGUI
*
*/
[_BASE] = LAYOUT_60_ansi_arrow( [_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, 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,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT
), ),
// Fn Layer
[_FN] = LAYOUT_60_ansi_arrow(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
KC_BRIU, _______, _______, KC_END, RESET, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_EJCT,
KC_BRID, _______, KC_SLCK, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_MUTE,
KC_VOLU, _______, _______, KC_CALC, _______, _______, KC_NLCK, KC_MAIL, _______, _______, KC_PAUS, KC_PGUP, _______,
KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, KC_MSTP, _______, KC_MPRV, KC_PGDN, KC_MNXT
)
}; };

View File

@ -7,73 +7,73 @@
"layouts": { "layouts": {
"LAYOUT_60_ansi_arrow": { "LAYOUT_60_ansi_arrow": {
"layout": [ "layout": [
{"x":0, "y":0}, {"x": 0, "y": 0},
{"x":1, "y":0}, {"x": 1, "y": 0},
{"x":2, "y":0}, {"x": 2, "y": 0},
{"x":3, "y":0}, {"x": 3, "y": 0},
{"x":4, "y":0}, {"x": 4, "y": 0},
{"x":5, "y":0}, {"x": 5, "y": 0},
{"x":6, "y":0}, {"x": 6, "y": 0},
{"x":7, "y":0}, {"x": 7, "y": 0},
{"x":8, "y":0}, {"x": 8, "y": 0},
{"x":9, "y":0}, {"x": 9, "y": 0},
{"x":10, "y":0}, {"x": 10, "y": 0},
{"x":11, "y":0}, {"x": 11, "y": 0},
{"x":12, "y":0}, {"x": 12, "y": 0},
{"x":13, "y":0, "w":2}, {"x": 13, "y": 0, "w": 2},
{"x":0, "y":1, "w":1.5}, {"x": 0, "y": 1, "w": 1.5},
{"x":1.5, "y":1}, {"x": 1.5, "y": 1},
{"x":2.5, "y":1}, {"x": 2.5, "y": 1},
{"x":3.5, "y":1}, {"x": 3.5, "y": 1},
{"x":4.5, "y":1}, {"x": 4.5, "y": 1},
{"x":5.5, "y":1}, {"x": 5.5, "y": 1},
{"x":6.5, "y":1}, {"x": 6.5, "y": 1},
{"x":7.5, "y":1}, {"x": 7.5, "y": 1},
{"x":8.5, "y":1}, {"x": 8.5, "y": 1},
{"x":9.5, "y":1}, {"x": 9.5, "y": 1},
{"x":10.5, "y":1}, {"x": 10.5, "y": 1},
{"x":11.5, "y":1}, {"x": 11.5, "y": 1},
{"x":12.5, "y":1}, {"x": 12.5, "y": 1},
{"x":13.5, "y":1, "w":1.5}, {"x": 13.5, "y": 1, "w": 1.5},
{"x":0, "y":2, "w":1.75}, {"x": 0, "y": 2, "w": 1.75},
{"x":1.75, "y":2}, {"x": 1.75, "y": 2},
{"x":2.75, "y":2}, {"x": 2.75, "y": 2},
{"x":3.75, "y":2}, {"x": 3.75, "y": 2},
{"x":4.75, "y":2}, {"x": 4.75, "y": 2},
{"x":5.75, "y":2}, {"x": 5.75, "y": 2},
{"x":6.75, "y":2}, {"x": 6.75, "y": 2},
{"x":7.75, "y":2}, {"x": 7.75, "y": 2},
{"x":8.75, "y":2}, {"x": 8.75, "y": 2},
{"x":9.75, "y":2}, {"x": 9.75, "y": 2},
{"x":10.75, "y":2}, {"x": 10.75, "y": 2},
{"x":11.75, "y":2}, {"x": 11.75, "y": 2},
{"x":12.75, "y":2, "w":2.25}, {"x": 12.75, "y": 2, "w": 2.25},
{"x":0, "y":3, "w":2.25}, {"x": 0, "y": 3, "w": 2.25},
{"x":2.25, "y":3}, {"x": 2.25, "y": 3},
{"x":3.25, "y":3}, {"x": 3.25, "y": 3},
{"x":4.25, "y":3}, {"x": 4.25, "y": 3},
{"x":5.25, "y":3}, {"x": 5.25, "y": 3},
{"x":6.25, "y":3}, {"x": 6.25, "y": 3},
{"x":7.25, "y":3}, {"x": 7.25, "y": 3},
{"x":8.25, "y":3}, {"x": 8.25, "y": 3},
{"x":9.25, "y":3}, {"x": 9.25, "y": 3},
{"x":10.25, "y":3}, {"x": 10.25, "y": 3},
{"x":11.25, "y":3, "w":1.75}, {"x": 11.25, "y": 3, "w": 1.75},
{"x":13, "y":3}, {"x": 13, "y": 3},
{"x":14, "y":3}, {"x": 14, "y": 3},
{"x":0, "y":4, "w":1.25}, {"x": 0, "y": 4, "w": 1.25},
{"x":1.25, "y":4, "w":1.25}, {"x": 1.25, "y": 4, "w": 1.25},
{"x":2.5, "y":4, "w":1.25}, {"x": 2.5, "y": 4, "w": 1.25},
{"x":3.75, "y":4, "w":6.25}, {"x": 3.75, "y": 4, "w": 6.25},
{"x":10, "y":4}, {"x": 10, "y": 4},
{"x":11, "y":4}, {"x": 11, "y": 4},
{"x":12, "y":4}, {"x": 12, "y": 4},
{"x":13, "y":4}, {"x": 13, "y": 4},
{"x":14, "y":4} {"x": 14, "y": 4}
] ]
} }
} }

View File

@ -1,14 +1,22 @@
# 60_ansi_arrow Keymap # 60_ansi_arrow Keymap
by [Sendy YK](https://mr.sendyyk.com). Default 60 ANSI Arrow Keymap by [Sendy YK](https://mr.sendyyk.com).
## Default Layer ```c
/*
![_BASE](https://raw.githubusercontent.com/mrsendyyk/qmk_firmware/development/images/60_ansi_arrow_keymap_base.png) * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
* │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │Bspc │
## Fn Layer * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
* │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │\ │
![_FN](https://raw.githubusercontent.com/mrsendyyk/qmk_firmware/development/images/60_ansi_arrow_keymap_fn.png) * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
* │Caps │A │S │D │F │G │H │J │K │L │; │' │Enter │
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
* │Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤
* │Ctrl│GUI │Alt │Space │Alt│GUI│← │↓ │→ │
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘
*/
```
## Build The Firmware ## Build The Firmware

View File

@ -0,0 +1,47 @@
/*
* Default 60 ANSI Arrow Split Backspace & 7U Space Keymap.
*
* Copyright (C) 2020 Sendy YK <https://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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* Esc1 2 3 4 5 6 7 8 9 0 - + \ Del
*
* Tab Q W E R T Y U I O P [ ] Bspc
*
* Caps A S D F G H J K L ; ' Enter
*
* Shift Z X C V B N M , . Shift /
*
* Ctrl GUIAlt Space Alt
*
*/
[_BASE] = LAYOUT_60_ansi_arrow_split_bs_7u_spc(
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_BSLS, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
)
};

View File

@ -0,0 +1,80 @@
{
"keyboard_name": "60% ANSI Arrow Split Backspace & 7U Space Layout",
"url": "https://mr.sendyyk.com",
"maintainer": "Sendy YK <mr@sendyyk.com>",
"width": 15,
"height": 5,
"layouts": {
"LAYOUT_60_ansi_arrow": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4, "y": 0},
{"x": 5, "y": 0},
{"x": 6, "y": 0},
{"x": 7, "y": 0},
{"x": 8, "y": 0},
{"x": 9, "y": 0},
{"x": 10, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 0, "y": 1, "w": 1.5},
{"x": 1.5, "y": 1},
{"x": 2.5, "y": 1},
{"x": 3.5, "y": 1},
{"x": 4.5, "y": 1},
{"x": 5.5, "y": 1},
{"x": 6.5, "y": 1},
{"x": 7.5, "y": 1},
{"x": 8.5, "y": 1},
{"x": 9.5, "y": 1},
{"x": 10.5, "y": 1},
{"x": 11.5, "y": 1},
{"x": 12.5, "y": 1},
{"x": 13.5, "y": 1, "w": 1.5},
{"x": 0, "y": 2, "w": 1.75},
{"x": 1.75, "y": 2},
{"x": 2.75, "y": 2},
{"x": 3.75, "y": 2},
{"x": 4.75, "y": 2},
{"x": 5.75, "y": 2},
{"x": 6.75, "y": 2},
{"x": 7.75, "y": 2},
{"x": 8.75, "y": 2},
{"x": 9.75, "y": 2},
{"x": 10.75, "y": 2},
{"x": 11.75, "y": 2},
{"x": 12.75, "y": 2, "w": 2.25},
{"x": 0, "y": 3, "w": 2.25},
{"x": 2.25, "y": 3},
{"x": 3.25, "y": 3},
{"x": 4.25, "y": 3},
{"x": 5.25, "y": 3},
{"x": 6.25, "y": 3},
{"x": 7.25, "y": 3},
{"x": 8.25, "y": 3},
{"x": 9.25, "y": 3},
{"x": 10.25, "y": 3},
{"x": 11.25, "y": 3, "w": 1.75},
{"x": 13, "y": 3},
{"x": 14, "y": 3},
{"x": 0, "y": 4, "w": 1.5},
{"x": 1.5, "y": 4},
{"x": 2.5, "y": 4, "w": 1.5},
{"x": 4, "y": 4, "w": 7},
{"x": 11, "y": 4},
{"x": 12, "y": 4},
{"x": 13, "y": 4},
{"x": 14, "y": 4}
]
}
}
}

View File

@ -0,0 +1,5 @@
[{a:7},"","","","","","","","","","","","","","",""],
[{w:1.5},"","","","","","","","","","","","","",{w:1.5},""],
[{w:1.75},"","","","","","","","","","","","",{w:2.25},""],
[{w:2.25},"","","","","","","","","","",{w:1.75},"","",""],
[{w:1.5},"","",{w:1.5},"",{w:7},"","","","",""]

View File

@ -0,0 +1,30 @@
# 60_ansi_arrow_split_bs_7u_spc Keymap
Default 60 ANSI Arrow Split Backspace & 7U Space Keymap by [Sendy YK](https://mr.sendyyk.com).
```c
/*
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
* │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
* │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
* │Caps │A │S │D │F │G │H │J │K │L │; │' │Enter │
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
* │Shift │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │
* ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤
* │Ctrl │GUI│Alt │Space │Alt│← │↓ │→ │
* └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘
*/
```
## Build The Firmware
Make example for keyboard (after setting up your build environment):
make <keyboard_folder>:default_60_ansi_arrow_split_bs_7u_spc
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)