feat: add lily58 and splitkb_aurora_sofle support
This commit is contained in:
parent
a5d6700e21
commit
51779bb90f
52 changed files with 4778 additions and 815 deletions
|
|
@ -150,19 +150,91 @@ parse_config:
|
|||
'&bt BT_SEL 3': BT 4
|
||||
'&bt BT_SEL 4': BT 5
|
||||
|
||||
'&mmv MOVE_UP': Mouse ↑
|
||||
'&mmv MOVE_DOWN': Mouse ↓
|
||||
'&mmv MOVE_LEFT': Mouse ←
|
||||
'&mmv MOVE_RIGHT': Mouse →
|
||||
# Display
|
||||
'DISPLAY_UP': {t: $$mdi:television-classic$$, h: $$mdi:arrow-up$$, type: tap_dance}
|
||||
'DISPLAY_DOWN': {t: $$mdi:television-classic$$, h: $$mdi:arrow-down$$, type: tap_dance}
|
||||
'DISPLAY_LEFT': {t: $$mdi:television-classic$$, h: $$mdi:arrow-left$$, type: tap_dance}
|
||||
'DISPLAY_RIGHT': {t: $$mdi:television-classic$$, h: $$mdi:arrow-right$$, type: tap_dance}
|
||||
'DISPLAY_SPACE': {t: $$mdi:television-classic$$, h: $$mdi:keyboard-space$$, type: tap_dance}
|
||||
|
||||
'&msc SCRL_UP': Scroll ↑
|
||||
'&msc SCRL_DOWN': Scroll ↓
|
||||
'&msc SCRL_LEFT': Scroll ←
|
||||
'&msc SCRL_RIGHT': Scroll →
|
||||
|
||||
'&mkp MCLK': Middle Click
|
||||
'&mkp MB4': Back Click
|
||||
'&mkp MB5': Forward Click
|
||||
# Rgb
|
||||
'&rgb_ug RGB_TOG': {t: $$mdi:led-on$$, h: $$mdi:toggle-switch$$, s: $$mdi:led-outline$$, type: toggle}
|
||||
'&rgb_ug RGB_VAI': {t: $$mdi:led-on$$, s: $$tabler:brightness-up$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_VAD': {t: $$mdi:led-outline$$, s: $$tabler:brightness-down$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_BRD': {t: $$mdi:led-on$$, s: $$tabler:brightness-up$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_BRI': {t: $$mdi:led-outline$$, s: $$tabler:brightness-down$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_SAI': {t: $$mdi:led-outline$$, s: $$mdi:eyedropper$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_SAD': {t: $$mdi:led-on$$, s: $$mdi:eyedropper$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_HUI': {t: $$mdi:led-on$$, s: $$mdi:palette$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_HUD': {t: $$mdi:led-outline$$, s: $$mdi:palette$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_RMOD': {t: $$mdi:led-on$$, h: $$mdi:page-previous-outline$$, type: tap_dance}
|
||||
'&rgb_ug RGB_MOD': {t: $$mdi:led-on$$, h: $$mdi:page-next-outline$$, type: tap_dance}
|
||||
'&rgb_ug RGB_EFF': {t: $$mdi:led-on$$, h: $$mdi:page-previous-outline$$, type: tap_dance}
|
||||
'&rgb_ug RGB_EFR': {t: $$mdi:led-on$$, h: $$mdi:page-next-outline$$, type: tap_dance}
|
||||
'&rgb_ug RGB_SPI': {t: $$mdi:led-on$$, h: $$mdi:speedometer$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_SPD': {t: $$mdi:led-on$$, h: $$mdi:speedometer-slow$$, type: sym_by_sym}
|
||||
'&rgb_ug RGB_UP': {t: $$mdi:led-on$$, h: $$mdi:arrow-up$$, type: tap_dance}
|
||||
'&rgb_ug RGB_DOWN': {t: $$mdi:led-on$$, h: $$mdi:arrow-down$$, type: tap_dance}
|
||||
'&rgb_ug RGB_LEFT': {t: $$mdi:led-on$$, h: $$mdi:arrow-left$$, type: tap_dance}
|
||||
'&rgb_ug RGB_RIGHT': {t: $$mdi:led-on$$, h: $$mdi:arrow-right$$, type: tap_dance}
|
||||
'&rgb_ug RGB_SPACE': {t: $$mdi:led-on$$, h: $$mdi:keyboard-space$$, type: tap_dance}
|
||||
'&rgb_ug RGB_COLOR_HSB(0,0,100)': {t: $$mdi:led-on$$, h: $$mdi:palette$$, type: tap_dance}
|
||||
'&rgb_ug RGB_COLOR_HSB(224,100,100)': {t: $$mdi:led-on$$, h: $$mdi:palette$$, type: tap_dance}
|
||||
|
||||
# Mouse
|
||||
'U_WH_L': {t: $$mdi:mouse-outline$$, h: $$mdi:arrow-left$$, type: tap_dance}
|
||||
'U_WH_R': {t: $$mdi:mouse-outline$$, h: $$mdi:arrow-right$$, type: tap_dance}
|
||||
'U_WH_U': {t: $$mdi:mouse-outline$$, h: $$mdi:arrow-up$$, type: tap_dance}
|
||||
'U_WH_D': {t: $$mdi:mouse-outline$$, h: $$mdi:arrow-down$$, type: tap_dance}
|
||||
'U_MS_L': {t: $$mdi:mouse$$, h: $$mdi:arrow-left$$, type: tap_dance}
|
||||
'U_MS_D': {t: $$mdi:mouse$$, h: $$mdi:arrow-down$$, type: tap_dance}
|
||||
'U_MS_R': {t: $$mdi:mouse$$, h: $$mdi:arrow-right$$, type: tap_dance}
|
||||
'U_MS_U': {t: $$mdi:mouse$$, h: $$mdi:arrow-up$$, type: tap_dance}
|
||||
'CLICK_LEFT': $$mdi:cursor-default-click$$
|
||||
'CLICK_RIGHT': $$mdi:cursor-default-click-outline$$
|
||||
'CLICK_MIDDLE': $$mdi:cursor-default-click-outline$$
|
||||
# '&mmv MOVE_UP': Mouse ↑
|
||||
# '&mmv MOVE_DOWN': Mouse ↓
|
||||
# '&mmv MOVE_LEFT': Mouse ←
|
||||
# '&mmv MOVE_RIGHT': Mouse →
|
||||
|
||||
# '&msc SCRL_UP': Scroll ↑
|
||||
# '&msc SCRL_DOWN': Scroll ↓
|
||||
# '&msc SCRL_LEFT': Scroll ←
|
||||
# '&msc SCRL_RIGHT': Scroll →
|
||||
|
||||
# '&mkp MCLK': Middle Click
|
||||
# '&mkp MB4': Back Click
|
||||
# '&mkp MB5': Forward Click
|
||||
|
||||
|
||||
# layers
|
||||
'MEDIA_ESC': {t: $$mdi:keyboard-esc$$, h: $$mdi:music-note$$}
|
||||
'MOUSE_TAB': {t: $$mdi:keyboard-tab$$, h: $$mdi:mouse$$}
|
||||
'NUMBER_SPACE': {t: $$mdi:keyboard-space$$, h: $$mdi:numeric$$}
|
||||
'&mo _FUNCTION': $$mdi:function-variant$$
|
||||
'&mo _CONFIG': $$mdi:cog$$
|
||||
'&mo _LOCK': $$mdi:lock$$
|
||||
'&mo _SYMBOL': $$mdi:symbol$$
|
||||
'&mo _DISPLAY': $$mdi:television-classic$$
|
||||
'&mo _OLED': $$mdi:television-classic$$
|
||||
'&mo _LINUX': $$mdi:linux$$
|
||||
'&mo _RGB': $$mdi:led-on$$
|
||||
'DE_CAPS': $$mdi:keyboard-caps$$
|
||||
'TAB': $$mdi:keyboard-tab$$
|
||||
'&mt LSHFT COMMA': {t: $$mdi:google-downasaur$$, h: $$mdi:apple-keyboard-shift$$, type: tap_dance}
|
||||
|
||||
# CONTROL CMD/WINDOWS SHIFT ALT/META/OPTION
|
||||
'&kp LSHFT': $$mdi:apple-keyboard-shift$$
|
||||
'&kp LCTRL': $$mdi:apple-keyboard-control$$
|
||||
'&kp RCTRL': $$mdi:apple-keyboard-control$$
|
||||
'&kp LGUI': $$mdi:apple-keyboard-command$$
|
||||
'&kp RGUI': $$mdi:apple-keyboard-command$$
|
||||
'&kp LALT': $$mdi:apple-keyboard-option$$
|
||||
'&kp RALT': $$mdi:apple-keyboard-option$$
|
||||
'&kp RSHFT': $$mdi:apple-keyboard-shift$$
|
||||
'&kp BSPC': $$mdi:backspace-outline$$
|
||||
|
||||
qmk_keycode_map:
|
||||
XXXXXXX: ''
|
||||
|
|
@ -254,6 +326,7 @@ parse_config:
|
|||
combo_slsh: {draw_separate: true}
|
||||
|
||||
zmk_keycode_map:
|
||||
|
||||
# custom mappings
|
||||
C_VOL_UP: Vol Up
|
||||
C_VOL_DN: Vol Down
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
display-name = "BAS";
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BKSP |
|
||||
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
|
||||
|
|
@ -29,6 +30,7 @@
|
|||
};
|
||||
|
||||
lower_layer {
|
||||
display-name = "LOW";
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// | TAB | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BKSP |
|
||||
// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | LFT | DWN | UP | RGT | | |
|
||||
|
|
@ -44,6 +46,7 @@
|
|||
};
|
||||
|
||||
raise_layer {
|
||||
display-name = "RAI";
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// | TAB | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BKSP |
|
||||
// | CTRL | | | | | | | - | = | [ | ] | \ | ` |
|
||||
|
|
|
|||
136
config/lily58.conf
Normal file
136
config/lily58.conf
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
# ========================================
|
||||
# FileName: corne.conf
|
||||
# Date: 07.06.2023
|
||||
# Author: Marcos Chow Castro
|
||||
# Email: mctechnology170318@gmail.com
|
||||
# GitHub: https://github.com/mctechnology17
|
||||
# Brief: configuration file for ZMK firmware
|
||||
# Board: nice_nano_v2 and puchi_ble_v1
|
||||
# ╔═╦═╦═╗
|
||||
# ╔════╗ ║║║║║╔╝
|
||||
# ║╔╗╔╗║ ║║║║║╚╗
|
||||
# ╚╝║║╚╝ ║╠═╩╩═╝
|
||||
# ║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
|
||||
# ║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
|
||||
# ╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
|
||||
# ╚═╩═╝
|
||||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
# =========================================
|
||||
# on config_zmk.h file enable/disable the following options, if you want to
|
||||
# use CONFIG_ZMK_MOUSE=y, CONFIG_ZMK_RGB_UNDERGLOW=y, CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# mouse config, 1 = enable, 0 = disable, default = 1
|
||||
# 2 = enable, but with rgb matrix
|
||||
# #define MC_TECHNOLOGY_MOUSE_ENABLE 1
|
||||
# rgb matrix config, 1 = enable, 0 = disable, default = 0
|
||||
# #define MC_TECHNOLOGY_RGB_ENABLE 0
|
||||
# define macros on for .dtsi file 1 = enable, 0 = disable default = 1
|
||||
# #define MC_TECHNOLOGY_MACROS_ENABLE 1
|
||||
|
||||
### Keyboard name
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice Lily58 View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi Lily58 View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice Lily58 Oled"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi Lily58 Oled"
|
||||
|
||||
### Boost Bluetooth TX power, also make Bluetooth stronger
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
# Tune bluetooth profiles for quick select
|
||||
# CONFIG_BT_MAX_CONN=3
|
||||
# Uncomment the following line if you facing issue on win 11 connection
|
||||
# Enables a combination of settings that are planned to be default in future
|
||||
# versions of ZMK to improve connection stability. This includes changes to
|
||||
# timing on BLE pairing initiation, restores use of the updated/new LLCP
|
||||
# implementation, and disables 2M PHY support.
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
|
||||
|
||||
### POWER OPTIONS
|
||||
CONFIG_ZMK_SLEEP=y
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
# 15 min (15*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
|
||||
# 1 min Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
# 30 min (30*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=120000
|
||||
# Disable external power when not connected to USB
|
||||
# CONFIG_ZMK_EXT_POWER_USB_ONLY=y
|
||||
|
||||
### MOUSE
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/keymaps/behaviors/mouse-emulation.md
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### ZMK STUDIO
|
||||
# MC: 2. zmk-studio test START
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/config/studio.md
|
||||
CONFIG_ZMK_STUDIO=y
|
||||
CONFIG_ZMK_STUDIO_LOCKING=n
|
||||
# MC: zmk-studio test END
|
||||
|
||||
### RGB UNDERGLOW
|
||||
# uncomment to enable RGB Underglow or backlight
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# CONFIG_WS2812_STRIP=y
|
||||
# apaga si no se usa el teclado
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
# 0 Solid color 1 Breathe 2 Spectrum 3 Swirl
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
|
||||
# nivel de brillo en porcentaje, el valor por defecto es 10 por ciento
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_STEP=1
|
||||
# Turn off RGB underglow when keyboard goes into idle state
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
|
||||
# # Hue step in degrees (0-359) used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_STEP=30
|
||||
|
||||
# # Brightness step in percent used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_STEP=2
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=240
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=15
|
||||
|
||||
# Uncomment the line below to disable external power toggling by the underglow.
|
||||
# By default toggling the underglow on and off also toggles external power
|
||||
# on and off. This also causes the display to turn off.
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
|
||||
|
||||
### OLED DISPLAY
|
||||
CONFIG_ZMK_DISPLAY=y
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_CUSTOM=y
|
||||
# esto creo que ya no es necesario
|
||||
# CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
|
||||
# CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
|
||||
### WIDGET SETTINGS
|
||||
# No Widget configurations added since nice!view has its own custom widgets
|
||||
# activar solo estos dos widgets
|
||||
# CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
# CONFIG_ZMK_WIDGET_LAYER_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
|
||||
|
||||
### HID para nice!view ePaperDisplay
|
||||
# Enable eager debouncing
|
||||
# "Eager Debouncing"
|
||||
# Trying to lower the input lag.
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
|
||||
|
||||
### Improves compatibility with iPad
|
||||
# ref: https://zmk.dev/docs/config/system#hid
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
||||
# RDP compatibility.
|
||||
# CONFIG_ZMK_HID_SEPARATE_MOD_RELEASE_REPORT=y
|
||||
|
||||
# NKRO
|
||||
# CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y
|
||||
# enable F13-F24
|
||||
# CONFIG_ZMK_HID_KEYBOARD_NKRO_EXTENDED_REPORT=y
|
||||
|
||||
### DEBUG OPTIONS
|
||||
# CONFIG_ZMK_USB_LOGGING=y
|
||||
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
|
||||
85
config/lily58.keymap
Normal file
85
config/lily58.keymap
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/ext_power.h>
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
|
||||
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
|
||||
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
|
||||
// | SHIFT | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | SHIFT |
|
||||
// | ALT | GUI | LOWER| SPACE | | ENTER | RAISE| BSPC | GUI |
|
||||
display-name = "Bas";
|
||||
bindings = <
|
||||
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp GRAVE
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
|
||||
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
|
||||
&kp LALT &kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC &kp RGUI
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
lower_layer {
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
// | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | ~ |
|
||||
// | | | | | | | | | | | _ | + | { | } | "|" |
|
||||
// | | | | | | | | | |
|
||||
display-name = "Low";
|
||||
bindings = <
|
||||
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
|
||||
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp TILDE
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &kp MINUS &kp KP_PLUS &kp LBRC &kp RBRC &kp PIPE
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
raise_layer {
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | | | | | | | | | | | | | |
|
||||
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | | <- | v | ^ | -> | |
|
||||
// | F7 | F8 | F9 | F10 | F11 | F12 | | | | + | - | = | [ | ] | \ |
|
||||
// | | | | | | | | | |
|
||||
display-name = "Rai";
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
|
||||
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &trans &kp KP_PLUS &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
extra_1 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_2 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_3 {
|
||||
status = "reserved";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
display-name = "BAS";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
|
||||
// | ESC | Q | W | E | R | T | | Y | U | I | O | P | BKSPC |
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
};
|
||||
|
||||
lower_layer {
|
||||
// TODO: Some binds are waiting for shifted keycode support.
|
||||
display-name = "LOW";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | ` | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
// | RAISE | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | F12 |
|
||||
|
|
@ -53,6 +54,7 @@
|
|||
};
|
||||
|
||||
raise_layer {
|
||||
display-name = "RAI";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// |BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
|
||||
// | | INS | PSCR | GUI | | | | PGUP | | | | | |
|
||||
|
|
@ -70,25 +72,5 @@
|
|||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
|
||||
};
|
||||
|
||||
layer_3 {
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
layer_4 {
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
140
config/splitkb_aurora_sofle.conf
Normal file
140
config/splitkb_aurora_sofle.conf
Normal file
|
|
@ -0,0 +1,140 @@
|
|||
# ========================================
|
||||
# FileName: splitkb_aurora_sofle.conf
|
||||
# Date: 03.01.2025
|
||||
# Author: Marcos Chow Castro
|
||||
# Email: mctechnology170318@gmail.com
|
||||
# GitHub: https://github.com/mctechnology17
|
||||
# Brief: configuration file for ZMK firmware
|
||||
# Board: nice_nano_v2 and puchi_ble_v1
|
||||
# ╔═╦═╦═╗
|
||||
# ╔════╗ ║║║║║╔╝
|
||||
# ║╔╗╔╗║ ║║║║║╚╗
|
||||
# ╚╝║║╚╝ ║╠═╩╩═╝
|
||||
# ║╠═╦═╣╚╦═╦╦═╦╗╔═╦═╦╦╗
|
||||
# ║║╩╣═╣║║║║║╬║╚╣╬║╬║║║
|
||||
# ╚╩═╩═╩╩╩╩═╩═╩═╩═╬╗╠╗║
|
||||
# ╚═╩═╝
|
||||
# Copyright (c) 2020 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
# =========================================
|
||||
# on config_zmk.h file enable/disable the following options, if you want to
|
||||
# use CONFIG_ZMK_MOUSE=y, CONFIG_ZMK_RGB_UNDERGLOW=y, CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# mouse config, 1 = enable, 0 = disable, default = 1
|
||||
# 2 = enable, but with rgb matrix
|
||||
# #define MC_TECHNOLOGY_MOUSE_ENABLE 1
|
||||
# rgb matrix config, 1 = enable, 0 = disable, default = 0
|
||||
# #define MC_TECHNOLOGY_RGB_ENABLE 0
|
||||
# define macros on for .dtsi file 1 = enable, 0 = disable default = 1
|
||||
# #define MC_TECHNOLOGY_MACROS_ENABLE 1
|
||||
|
||||
### Keyboard name
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice splitkb_aurora_sofle View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi splitkb_aurora_sofle View"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice splitkb_aurora_sofle Oled"
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Puchi splitkb_aurora_sofle Oled"
|
||||
|
||||
### Boost Bluetooth TX power, also make Bluetooth stronger
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
# Tune bluetooth profiles for quick select
|
||||
# CONFIG_BT_MAX_CONN=3
|
||||
# Uncomment the following line if you facing issue on win 11 connection
|
||||
# Enables a combination of settings that are planned to be default in future
|
||||
# versions of ZMK to improve connection stability. This includes changes to
|
||||
# timing on BLE pairing initiation, restores use of the updated/new LLCP
|
||||
# implementation, and disables 2M PHY support.
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
|
||||
|
||||
### POWER OPTIONS
|
||||
CONFIG_ZMK_SLEEP=y
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
# 15 min (15*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
|
||||
# 1 min Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
# 30 min (30*60*1000ms)
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=120000
|
||||
# Disable external power when not connected to USB
|
||||
# CONFIG_ZMK_EXT_POWER_USB_ONLY=y
|
||||
|
||||
### MOUSE
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/keymaps/behaviors/mouse-emulation.md
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### ZMK STUDIO
|
||||
# MC: 2. zmk-studio test START
|
||||
# https://github.com/zmkfirmware/zmk/blob/main/docs/docs/config/studio.md
|
||||
CONFIG_ZMK_STUDIO=y
|
||||
CONFIG_ZMK_STUDIO_LOCKING=n
|
||||
# MC: zmk-studio test END
|
||||
|
||||
### RGB UNDERGLOW
|
||||
# uncomment to enable RGB Underglow or backlight
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW=y
|
||||
# CONFIG_WS2812_STRIP=y
|
||||
# apaga si no se usa el teclado
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
# 0 Solid color 1 Breathe 2 Spectrum 3 Swirl
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
|
||||
# nivel de brillo en porcentaje, el valor por defecto es 10 por ciento
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_STEP=1
|
||||
# Turn off RGB underglow when keyboard goes into idle state
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
|
||||
|
||||
# # Hue step in degrees (0-359) used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_STEP=30
|
||||
|
||||
# # Brightness step in percent used by RGB actions default 10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_STEP=2
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=240
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=10
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=15
|
||||
|
||||
# Uncomment the line below to disable external power toggling by the underglow.
|
||||
# By default toggling the underglow on and off also toggles external power
|
||||
# on and off. This also causes the display to turn off.
|
||||
# CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
|
||||
|
||||
### OLED DISPLAY
|
||||
CONFIG_ZMK_DISPLAY=y
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_CUSTOM=y
|
||||
# esto creo que ya no es necesario
|
||||
# CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
|
||||
# CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
|
||||
### WIDGET SETTINGS
|
||||
# No Widget configurations added since nice!view has its own custom widgets
|
||||
# activar solo estos dos widgets
|
||||
# CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
# CONFIG_ZMK_WIDGET_LAYER_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
# CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
|
||||
|
||||
### HID para nice!view ePaperDisplay
|
||||
# Enable eager debouncing
|
||||
# "Eager Debouncing"
|
||||
# Trying to lower the input lag.
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1
|
||||
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
|
||||
|
||||
### Improves compatibility with iPad
|
||||
# ref: https://zmk.dev/docs/config/system#hid
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
||||
# RDP compatibility.
|
||||
# CONFIG_ZMK_HID_SEPARATE_MOD_RELEASE_REPORT=y
|
||||
|
||||
# NKRO
|
||||
# CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y
|
||||
# enable F13-F24
|
||||
# CONFIG_ZMK_HID_KEYBOARD_NKRO_EXTENDED_REPORT=y
|
||||
|
||||
### DEBUG OPTIONS
|
||||
# CONFIG_ZMK_USB_LOGGING=y
|
||||
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
|
||||
|
||||
### ENABLE ENCODER
|
||||
CONFIG_EC11=y
|
||||
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||
93
config/splitkb_aurora_sofle.keymap
Normal file
93
config/splitkb_aurora_sofle.keymap
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
/*
|
||||
* Copyright (c) 2023 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/ext_power.h>
|
||||
|
||||
/* Uncomment this block if using RGB
|
||||
&led_strip {
|
||||
chain-length = <6>;
|
||||
// chain-length = <35>; // Uncomment if using both per-key and underglow LEDs
|
||||
// chain-length = <29>; // Uncomment if using only per-key LEDs.
|
||||
};
|
||||
*/
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
display-name = "BAS";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
|
||||
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
|
||||
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
|
||||
// | SHIFT | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | SHIFT |
|
||||
// |CTRL | ALT | GUI | LOWER| SPACE | | ENTER | RAISE| BSPC | GUI | RALT |
|
||||
bindings = <
|
||||
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp GRAVE
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
|
||||
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
|
||||
&kp LCTRL &kp LALT &kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC &kp RGUI &kp RALT
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
lower_layer {
|
||||
display-name = "LOW";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
// | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | ~ |
|
||||
// | | | | | | | | | | | _ | + | { | } | "|" |
|
||||
// | | | | | | | | | | | |
|
||||
bindings = <
|
||||
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
|
||||
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &kp TILDE
|
||||
&trans &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &trans &trans &trans &kp MINUS &kp PLUS &kp LBRC &kp RBRC &kp PIPE
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
raise_layer {
|
||||
display-name = "RAI";
|
||||
// ------------------------------------------------------------------------------------------------------------
|
||||
// | | | | | | | | | | | | | |
|
||||
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
|
||||
// | F1 | F2 | F3 | F4 | F5 | F6 | | | <- | v | ^ | -> | |
|
||||
// | F7 | F8 | F9 | F10 | F11 | F12 | | | | + | - | = | [ | ] | \ |
|
||||
// | | | | | | | | | | | |
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
|
||||
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &trans &kp KP_PLUS &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
|
||||
};
|
||||
|
||||
extra_1 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_2 {
|
||||
status = "reserved";
|
||||
};
|
||||
|
||||
extra_3 {
|
||||
status = "reserved";
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue