Merge remote-tracking branch 'upstream/master' into develop
commit
dbb70871fc
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Blackpill STM32F401"
|
||||
"keyboard_name": "Onekey Blackpill STM32F401",
|
||||
"development_board": "blackpill_f401",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A0"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1 @@
|
||||
# MCU name
|
||||
MCU = STM32F401
|
||||
BOARD = BLACKPILL_STM32_F401
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
KEYBOARD_SHARED_EP = yes
|
||||
|
||||
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Blackpill STM32F411"
|
||||
"keyboard_name": "Onekey Blackpill STM32F411",
|
||||
"development_board": "blackpill_f411",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A0"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1 @@
|
||||
# MCU name
|
||||
MCU = STM32F411
|
||||
BOARD = BLACKPILL_STM32_F411
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
KEYBOARD_SHARED_EP = yes
|
||||
|
||||
@ -1,3 +1,16 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Blackpill STM32F411 TinyUF2"
|
||||
"keyboard_name": "Onekey Blackpill STM32F411 TinyUF2",
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "tinyuf2",
|
||||
"board": "BLACKPILL_STM32_F411",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A0"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1 @@
|
||||
# MCU name
|
||||
MCU = STM32F411
|
||||
BOARD = BLACKPILL_STM32_F411
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = tinyuf2
|
||||
|
||||
KEYBOARD_SHARED_EP = yes
|
||||
|
||||
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Bluepill STM32F103"
|
||||
"keyboard_name": "Onekey Bluepill STM32F103",
|
||||
"development_board": "bluepill",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A0"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,2 @@
|
||||
# MCU name
|
||||
MCU = STM32F103
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32duino
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,3 +1,15 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Bluepill STM32F103C6"
|
||||
"keyboard_name": "Onekey Bluepill STM32F103C6",
|
||||
"processor": "STM32F103",
|
||||
"board": "STM32_F103_STM32DUINO",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A0"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Elite-C"
|
||||
"keyboard_name": "Onekey Elite-C",
|
||||
"development_board": "elite_c",
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "F6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
@ -1,8 +0,0 @@
|
||||
// Copyright 2021 Nick Brassel (@tzarc)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { B12 }
|
||||
#define MATRIX_ROW_PINS { B13 }
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey WB32F3G71 Eval"
|
||||
"keyboard_name": "Onekey WB32F3G71 Eval",
|
||||
"processor": "WB32F3G71",
|
||||
"bootloader": "wb32-dfu",
|
||||
"matrix_pins": {
|
||||
"cols": ["B12"],
|
||||
"rows": ["B13"]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,9 +1,3 @@
|
||||
# MCU name
|
||||
MCU = WB32F3G71
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = wb32-dfu
|
||||
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = no # Audio control and System control
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
// Copyright 2021 Nick Brassel (@tzarc)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { B12 }
|
||||
#define MATRIX_ROW_PINS { B13 }
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey WB32FQ95 Eval"
|
||||
"keyboard_name": "Onekey WB32FQ95 Eval",
|
||||
"processor": "WB32FQ95",
|
||||
"bootloader": "wb32-dfu",
|
||||
"matrix_pins": {
|
||||
"cols": ["B12"],
|
||||
"rows": ["B13"]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,9 +1,3 @@
|
||||
# MCU name
|
||||
MCU = WB32FQ95
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = wb32-dfu
|
||||
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = no # Audio control and System control
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
{
|
||||
"keyboard_name": "Onekey KB2040"
|
||||
"keyboard_name": "Onekey KB2040",
|
||||
"development_board": "kb2040",
|
||||
"matrix_pins": {
|
||||
"cols": ["GP4"],
|
||||
"rows": ["GP5"]
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,15 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Nucleo L432KC"
|
||||
"keyboard_name": "Onekey Nucleo L432KC",
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"matrix_pins": {
|
||||
"cols": ["A2"],
|
||||
"rows": ["A1"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B8"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = STM32L432
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
@ -1,25 +0,0 @@
|
||||
/* Copyright 2019
|
||||
*
|
||||
* 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 2 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_ortho_1x1( \
|
||||
k00 \
|
||||
) { \
|
||||
{ k00 } \
|
||||
}
|
||||
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Pro Micro"
|
||||
"keyboard_name": "Onekey Pro Micro",
|
||||
"development_board": "promicro",
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "F6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
||||
@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Proton-C"
|
||||
"keyboard_name": "Onekey Proton-C",
|
||||
"development_board": "proton_c",
|
||||
"matrix_pins": {
|
||||
"cols": ["A2"],
|
||||
"rows": ["A1"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B8"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
# MCU name
|
||||
MCU = STM32F303
|
||||
BOARD = QMK_PROTON_C
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
@ -1,3 +1,12 @@
|
||||
{
|
||||
"keyboard_name": "Onekey RP2040"
|
||||
"keyboard_name": "Onekey RP2040",
|
||||
"processor": "RP2040",
|
||||
"bootloader": "rp2040",
|
||||
"matrix_pins": {
|
||||
"cols": ["GP4"],
|
||||
"rows": ["GP5"]
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
BOOTLOADER = rp2040
|
||||
@ -1,3 +1,16 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Sipeed Longan Nano"
|
||||
"keyboard_name": "Onekey Sipeed Longan Nano",
|
||||
"processor": "GD32VF103",
|
||||
"bootloader": "gd32v-dfu",
|
||||
"board": "SIPEED_LONGAN_NANO",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0"],
|
||||
"rows": ["A7"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A1"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,11 +1 @@
|
||||
# MCU name
|
||||
MCU = GD32VF103
|
||||
BOARD = SIPEED_LONGAN_NANO
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = gd32v-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
KEYBOARD_SHARED_EP = yes
|
||||
|
||||
@ -1,3 +1,15 @@
|
||||
{
|
||||
"keyboard_name": "Onekey STM32F072 Discovery"
|
||||
"keyboard_name": "Onekey STM32F072 Discovery",
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"matrix_pins": {
|
||||
"cols": ["B4"],
|
||||
"rows": ["B5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "C8"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "B15"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,2 @@
|
||||
# MCU name
|
||||
MCU = STM32F072
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
/* Copyright 2019
|
||||
*
|
||||
* 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 2 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { C2 }
|
||||
#define MATRIX_ROW_PINS { C3 }
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Adafruit Feather STM32F405"
|
||||
"keyboard_name": "Onekey Adafruit Feather STM32F405",
|
||||
"processor": "STM32F405",
|
||||
"bootloader": "stm32-dfu",
|
||||
"matrix_pins": {
|
||||
"cols": ["C2"],
|
||||
"rows": ["C3"],
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,2 @@
|
||||
# MCU name
|
||||
MCU = STM32F405
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,3 +1,15 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Teensy 2.0"
|
||||
"keyboard_name": "Onekey Teensy 2.0",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "F6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
@ -1,3 +1,15 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Teensy 2.0++"
|
||||
"keyboard_name": "Onekey Teensy 2.0++",
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "F6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = at90usb1286
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Teensy 3.2"
|
||||
"keyboard_name": "Onekey Teensy 3.2",
|
||||
"processor": "MK20DX256",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["D5"],
|
||||
"rows": ["B2"]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,2 @@
|
||||
# MCU name
|
||||
MCU = MK20DX256
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Teensy 3.5"
|
||||
"keyboard_name": "Onekey Teensy 3.5",
|
||||
"processor": "MK64FX512",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["D5"], // 20/A6
|
||||
"rows": ["B2"] // 19/A5
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,8 +1,2 @@
|
||||
# MCU name
|
||||
MCU = MK64FX512
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Teensy LC"
|
||||
"keyboard_name": "Onekey Teensy LC",
|
||||
"processor": "MKL26Z64",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["D5"],
|
||||
"rows": ["B2"]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,9 +1,4 @@
|
||||
# MCU name
|
||||
MCU = MKL26Z64
|
||||
USE_CHIBIOS_CONTRIB = yes
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
||||
@ -1,3 +1,82 @@
|
||||
# Dan's kprepublic bm40 layout
|
||||
# Dan's KPrepublic BM40 Keymap
|
||||
|
||||
Dan's personal keymap with LED indicator support.
|
||||
>This is my personal keymap with an LED indicator support for num lock, caps lock and scroll lock.
|
||||
|
||||

|
||||
> * Case: Poseidon PSD40 Case
|
||||
> * Plate: Brass
|
||||
> * Keycaps: WOB ABS Cherry Profile
|
||||
> * Switches: Gazzew Boba u4t (62g 2 stage long spring)
|
||||
|
||||
### BM40 LED INDEX
|
||||
**_Numlock (11) Capslock (12) Scroll lock (23)_**
|
||||
|
||||
| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
|
||||
|---------|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
||||
| **_1_** | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|
||||
| **_2_** | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
|
||||
| **_3_** | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
|
||||
| **_4_** | 36 | 37 | 38 | 39 | 40 | 41 | | 42 | 43 | 44 | 45 | 46 |
|
||||
|
||||
## LED INDICATOR EXAMPLES
|
||||

|
||||

|
||||
> * Case: SM Keyboards Planck/Niu Mini Acrylic Case
|
||||
> * Plate: Acrylic
|
||||
> * Keycaps: Drop + biip MT3 Extended 2048 Katakana
|
||||
> * Switches: Everglide Aqua King V3 (62g 2 stage long spring)
|
||||
|
||||
|
||||
<br /><br />
|
||||
|
||||
## KEYMAP LAYOUT EXAMPLES
|
||||
### ALPHA
|
||||
|
||||
| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
|
||||
|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
|
||||
| **_1_** | TAB | Q | W | E | R | T | Y | U | I | O | P | BSP |
|
||||
| **_2_** | CTL | A | S | D | F | G | H | J | K | L | ; | ' |
|
||||
| **_3_** | SFT | Z | X | C | V | B | N | M | , | . | / | RET |
|
||||
| **_4_** | ESC | KOR | WIN | ALT | FN | SPC | | - | = | DEL | \ | ENT |
|
||||
>This is a base layer for typing.
|
||||
|
||||
<br />
|
||||
|
||||
### LEFTFN MO(FN)
|
||||
|
||||
| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
|
||||
|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
|
||||
| **_1_** | \` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BSP |
|
||||
| **_2_** | CTL | LFT | DN | UP | RHT | C+/ | HAN | [ | ] | ) | : | " |
|
||||
| **_3_** | SFT | PGU | PGD | HOM | END | CAP | PRN | ( | , | . | / | RET |
|
||||
| **_4_** | RGB | [ | ] | ALT | TRN | SPC || _ | + | INS | | ENT |
|
||||
>This is the layer dedicated to number, symbol and navigation keys. ie) arrow keys
|
||||
|
||||
<br />
|
||||
|
||||
### RIGHTFN MO(-)
|
||||
|
||||
| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
|
||||
|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
|
||||
| **_1_** | | | | | | | | F12 | F11 | F10 | F9 | PAU |
|
||||
| **_2_** | CTL | | | | | | | F8 | F7 | F6 | F5 | SCL |
|
||||
| **_3_** | SFT | | | | | | | F4 | F3 | F2 | F1 | |
|
||||
| **_4_** | | | | ALT | | SPC | | TRN | | | | |
|
||||
>This layer contains function rows.
|
||||
|
||||
<br />
|
||||
|
||||
### NUMPAD MO(ESC)
|
||||
|
||||
| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
|
||||
|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
|
||||
| **_1_** | * | 7 | 8 | 9 | NUM | | | | | | | BSP |
|
||||
| **_2_** | ALT | 4 | 5 | 6 | RET | | | | | | | |
|
||||
| **_3_** | - | 1 | 2 | 3 | BSP | | | | | | | RET |
|
||||
| **_4_** | TRN | , | + | . | 0 | SPC | | LY1 | LY2 | LY3 | LY4 | LY5 |
|
||||
>This layer is the numpad.
|
||||
|
||||
<br />
|
||||
|
||||
There are other dedicated layers for gaming that are not included here.
|
||||
If you are interested, check out keymap.c!
|
||||
|
||||
@ -0,0 +1,35 @@
|
||||
/**
|
||||
Copyright 2022 astro
|
||||
|
||||
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 2 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_ansi_tsangan(
|
||||
KC_ESC, 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_INS, KC_HOME, KC_PGUP,
|
||||
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_DEL, KC_END, KC_PGDN,
|
||||
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_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_ansi_tsangan(
|
||||
_______, 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_PSCR, _______, _______, _______,
|
||||
QK_BOOT, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_MUTE, KC_VOLU, KC_VOLD, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_HOME, KC_END, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
@ -0,0 +1,35 @@
|
||||
/**
|
||||
Copyright 2022 astro
|
||||
|
||||
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 2 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_iso_tsangan(
|
||||
KC_ESC, 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_INS, KC_HOME, KC_PGUP,
|
||||
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_DEL, KC_END, KC_PGDN,
|
||||
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_NUHS, KC_ENT,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_iso_tsangan(
|
||||
_______, 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_PSCR, _______, _______, _______,
|
||||
QK_BOOT, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_MUTE, KC_VOLU, KC_VOLD, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_HOME, KC_END, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
Loading…
Reference in New Issue