zmk-studio support, maus (main branch) support, better batt for periph
This commit is contained in:
parent
e93663c387
commit
d029dfeccb
21 changed files with 332 additions and 283 deletions
|
|
@ -6,12 +6,16 @@ config ZMK_KEYBOARD_NAME
|
|||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
config ZMK_USB
|
||||
default y
|
||||
# if SHIELD_CORNE_DONGLE_XIAO || SHIELD_CORNE_DONGLE_PRO_MICRO
|
||||
|
||||
# config ZMK_USB
|
||||
# default y
|
||||
|
||||
# endif
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_CORNE_LEFT || SHIELD_CORNE_RIGHT || SHIELD_CORNE_DONGLE_XIAO || SHIELD_CORNE_LEFT_PERIPHERAL || SHIELD_CORNE_DONGLE_PRO_MICRO
|
||||
if SHIELD_CORNE_LEFT || SHIELD_CORNE_RIGHT || SHIELD_CORNE_LEFT_PERIPHERAL || SHIELD_CORNE_DONGLE_XIAO || SHIELD_CORNE_DONGLE_PRO_MICRO
|
||||
|
||||
config ZMK_SPLIT
|
||||
default y
|
||||
|
|
|
|||
|
|
@ -6,11 +6,22 @@
|
|||
|
||||
#include <dt-bindings/zmk/matrix_transform.h>
|
||||
|
||||
#include <layouts/foostan/corne/5column.dtsi>
|
||||
#include <layouts/foostan/corne/6column.dtsi>
|
||||
|
||||
&foostan_corne_6col_layout {
|
||||
transform = <&default_transform>;
|
||||
};
|
||||
|
||||
&foostan_corne_5col_layout {
|
||||
transform = <&five_column_transform>;
|
||||
};
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,display = &oled;
|
||||
zmk,kscan = &kscan0;
|
||||
zmk,matrix-transform = &default_transform;
|
||||
zmk,physical-layout = &foostan_corne_6col_layout;
|
||||
};
|
||||
|
||||
default_transform: keymap_transform_0 {
|
||||
|
|
@ -36,7 +47,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9)
|
|||
// | SW2 | SW3 | SW4 | SW5 | SW6 | | SW6 | SW5 | SW4 | SW3 | SW2 |
|
||||
// | SW8 | SW9 | SW10 | SW11 | SW12 | | SW12 | SW11 | SW10 | SW9 | SW8 |
|
||||
// | SW14 | SW15 | SW16 | SW17 | SW18 | | SW18 | SW17 | SW16 | SW15 | SW14 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
map = <
|
||||
RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10)
|
||||
RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ features:
|
|||
- keys
|
||||
- display
|
||||
- underglow
|
||||
- studio
|
||||
siblings:
|
||||
- corne_left
|
||||
- corne_right
|
||||
|
|
|
|||
|
|
@ -1,49 +1,30 @@
|
|||
# MC:
|
||||
# compatible with all versions of nrf52840 (pro micro):
|
||||
# - nice_nano (not tested)
|
||||
# - nice_nano_v2 (tested)
|
||||
# - nice_nano_v2 (super mini -> nice_nano_v2 clon) (tested)
|
||||
# - nrfmicro_11 (not tested)
|
||||
# - nrfmicro_11_flipped (not tested)
|
||||
# - nrfmicro_13 (not tested)
|
||||
# - puchi_ble_v1 (tested)
|
||||
# compatible con todas las versiones de nrf52840 (pro_micro):
|
||||
# - nice_nano (no probado)
|
||||
# - nice_nano_v2 (probado)
|
||||
# - nice_nano_v2 (super mini -> nice_nano_v2 clon) (probado)
|
||||
# - nrfmicro_11 (no probado)
|
||||
# - nrfmicro_11_flipped (no probado)
|
||||
# - nrfmicro_13 (no probado)
|
||||
# - puchi_ble_v1 (probado)
|
||||
|
||||
### DONGLE MODE
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
|
||||
|
||||
### DONGLE OPTIONS
|
||||
# 3 profiles (n+2)
|
||||
CONFIG_BT_MAX_CONN=5
|
||||
CONFIG_BT_MAX_PAIRED=5
|
||||
|
||||
# dongle mode
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
|
||||
|
||||
# display
|
||||
### DISPLAY DONGLE OPTIONS
|
||||
CONFIG_ZMK_DISPLAY=y
|
||||
CONFIG_BT_BAS=n
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
|
||||
|
||||
# enable logging and configure zmk logging to debug output
|
||||
### POWER OPTIONS
|
||||
# La unidad del intervalo del informe de energía de la batería es segundos
|
||||
CONFIG_ZMK_BATTERY_REPORT_INTERVAL=60
|
||||
|
||||
### DEBUG OPTIONS
|
||||
# CONFIG_ZMK_USB_LOGGING=y
|
||||
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
|
||||
|
||||
### POWER OPTIONS
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
# the battery power report interval unit is seconds
|
||||
CONFIG_ZMK_BATTERY_REPORT_INTERVAL=60
|
||||
# MC: changed so that he always stays awake
|
||||
CONFIG_ZMK_SLEEP=n
|
||||
# 1800000 milliseconds = 30 minutes * 60 seconds * 1000
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
# number of milliseconds of inactivity before entering idle state
|
||||
CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
# add keyboard bounce
|
||||
# CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=5
|
||||
# CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
|
||||
# Increase the transmission power of the keyboard ble radio to solve the
|
||||
# problem of left and right delay and poor communication.
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
# change default keyboard display name
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice_Dongle_Oled"
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### Improves compatibility with iPad
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
|
|
|||
|
|
@ -1,10 +1,27 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Pete Johanson
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include <dt-bindings/zmk/matrix_transform.h>
|
||||
|
||||
#include <layouts/foostan/corne/5column.dtsi>
|
||||
#include <layouts/foostan/corne/6column.dtsi>
|
||||
|
||||
&foostan_corne_6col_layout {
|
||||
transform = <&default_transform>;
|
||||
};
|
||||
|
||||
&foostan_corne_5col_layout {
|
||||
transform = <&five_column_transform>;
|
||||
};
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,kscan = &mock_kscan;
|
||||
zmk,matrix-transform = &default_transform;
|
||||
zephyr,display = &oled;
|
||||
zmk,kscan = &mock_kscan;
|
||||
zmk,physical-layout = &foostan_corne_6col_layout;
|
||||
};
|
||||
|
||||
default_transform: keymap_transform_0 {
|
||||
|
|
@ -30,7 +47,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9)
|
|||
// | SW2 | SW3 | SW4 | SW5 | SW6 | | SW6 | SW5 | SW4 | SW3 | SW2 |
|
||||
// | SW8 | SW9 | SW10 | SW11 | SW12 | | SW12 | SW11 | SW10 | SW9 | SW8 |
|
||||
// | SW14 | SW15 | SW16 | SW17 | SW18 | | SW18 | SW17 | SW16 | SW15 | SW14 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
map = <
|
||||
RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10)
|
||||
RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10)
|
||||
|
|
@ -39,6 +56,19 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
|
|||
>;
|
||||
};
|
||||
|
||||
/*
|
||||
kscan0: kscan {
|
||||
compatible = "zmk,kscan-gpio-direct";
|
||||
|
||||
input-gpios
|
||||
= <&xiao_d 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
};
|
||||
*/
|
||||
|
||||
mock_kscan: kscan_0 {
|
||||
compatible = "zmk,kscan-mock";
|
||||
// wakeup-source;
|
||||
|
|
@ -46,7 +76,6 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
|
|||
rows = <0>;
|
||||
events = <0>;
|
||||
};
|
||||
|
||||
// TODO: per-key RGB node(s)?
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,43 +1,24 @@
|
|||
# MC:
|
||||
# compatible with all versions of nrf52840 (xiao):
|
||||
# - seeeduino_xiao_ble (tested)
|
||||
# compatible con todas las versiones de nrf52840 (xiao):
|
||||
# - seeeduino_xiao_ble (probado)
|
||||
|
||||
### DONGLE MODE
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
|
||||
|
||||
### DONGLE OPTIONS
|
||||
# 3 profiles (n+2)
|
||||
CONFIG_BT_MAX_CONN=5
|
||||
CONFIG_BT_MAX_PAIRED=5
|
||||
|
||||
# dongle mode
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
|
||||
|
||||
# display
|
||||
### DISPLAY DONGLE OPTIONS
|
||||
CONFIG_ZMK_DISPLAY=y
|
||||
CONFIG_BT_BAS=n
|
||||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
|
||||
|
||||
# enable logging and configure zmk logging to debug output
|
||||
### POWER OPTIONS
|
||||
# La unidad del intervalo del informe de energía de la batería es segundos
|
||||
CONFIG_ZMK_BATTERY_REPORT_INTERVAL=60
|
||||
|
||||
### DEBUG OPTIONS
|
||||
# CONFIG_ZMK_USB_LOGGING=y
|
||||
# CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000
|
||||
|
||||
### POWER OPTIONS
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
# the battery power report interval unit is seconds
|
||||
CONFIG_ZMK_BATTERY_REPORT_INTERVAL=60
|
||||
# MC: changed so that he always stays awake
|
||||
CONFIG_ZMK_SLEEP=n
|
||||
# 1800000 milliseconds = 30 minutes * 60 seconds * 1000
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
# number of milliseconds of inactivity before entering idle state
|
||||
CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
# add keyboard bounce
|
||||
# CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=5
|
||||
# CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5
|
||||
# Increase the transmission power of the keyboard ble radio to solve the
|
||||
# problem of left and right delay and poor communication.
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
# change default keyboard display name
|
||||
# CONFIG_ZMK_KEYBOARD_NAME="Nice_Dongle_Oled"
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### Improves compatibility with iPad
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
|
|
|||
|
|
@ -6,11 +6,22 @@
|
|||
|
||||
#include <dt-bindings/zmk/matrix_transform.h>
|
||||
|
||||
#include <layouts/foostan/corne/5column.dtsi>
|
||||
#include <layouts/foostan/corne/6column.dtsi>
|
||||
|
||||
&foostan_corne_6col_layout {
|
||||
transform = <&default_transform>;
|
||||
};
|
||||
|
||||
&foostan_corne_5col_layout {
|
||||
transform = <&five_column_transform>;
|
||||
};
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,kscan = &mock_kscan;
|
||||
zmk,matrix-transform = &default_transform;
|
||||
zephyr,display = &oled;
|
||||
zmk,kscan = &mock_kscan;
|
||||
zmk,physical-layout = &foostan_corne_6col_layout;
|
||||
};
|
||||
|
||||
default_transform: keymap_transform_0 {
|
||||
|
|
@ -36,7 +47,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9)
|
|||
// | SW2 | SW3 | SW4 | SW5 | SW6 | | SW6 | SW5 | SW4 | SW3 | SW2 |
|
||||
// | SW8 | SW9 | SW10 | SW11 | SW12 | | SW12 | SW11 | SW10 | SW9 | SW8 |
|
||||
// | SW14 | SW15 | SW16 | SW17 | SW18 | | SW18 | SW17 | SW16 | SW15 | SW14 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
// | SW19 | SW20 | SW21 | | SW21 | SW20 | SW19 |
|
||||
map = <
|
||||
RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10)
|
||||
RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10)
|
||||
|
|
@ -45,6 +56,19 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
|
|||
>;
|
||||
};
|
||||
|
||||
/*
|
||||
kscan0: kscan {
|
||||
compatible = "zmk,kscan-gpio-direct";
|
||||
|
||||
input-gpios
|
||||
= <&xiao_d 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&xiao_d 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
};
|
||||
*/
|
||||
|
||||
mock_kscan: kscan_0 {
|
||||
compatible = "zmk,kscan-mock";
|
||||
// wakeup-source;
|
||||
|
|
@ -154,23 +178,28 @@ RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10
|
|||
};
|
||||
};
|
||||
|
||||
// TODO: niceview
|
||||
// ################# niceview working fine START #################
|
||||
// doc: https://wiki.seeedstudio.com/XIAO-SAMD21-Zephyr-RTOS/
|
||||
// @bravekarma nice Discord server
|
||||
// The &gpioX Y and NRF_PSEL(..., X, Y) uses the PX.Y notation (underlying nRF
|
||||
// pin numbers), &xiao_d x uses the unified pinout Dx
|
||||
|
||||
&pinctrl {
|
||||
spi0_default: spi0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(SPIM_SCK, 0, 5)>,
|
||||
<NRF_PSEL(SPIM_MOSI, 0, 4)>,
|
||||
<NRF_PSEL(SPIM_MISO, 0, 8)>;
|
||||
};
|
||||
};
|
||||
spi0_sleep: spi0_sleep {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(SPIM_SCK, 0, 5)>, // D5
|
||||
<NRF_PSEL(SPIM_MOSI, 0, 4)>, // D4
|
||||
<NRF_PSEL(SPIM_MISO, 0, 8)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
spi0_default: spi0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(SPIM_SCK, 1, 13)>,
|
||||
<NRF_PSEL(SPIM_MOSI, 1, 15)>,
|
||||
<NRF_PSEL(SPIM_MISO, 1, 14)>;
|
||||
};
|
||||
};
|
||||
spi0_sleep: spi0_sleep {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(SPIM_SCK, 1, 13)>,
|
||||
<NRF_PSEL(SPIM_MOSI, 1, 15)>,
|
||||
<NRF_PSEL(SPIM_MISO, 1, 14)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nice_view_spi: &spi0 {
|
||||
|
|
@ -178,7 +207,12 @@ nice_view_spi: &spi0 {
|
|||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-1 = <&spi0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
cs-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; // D6
|
||||
cs-gpios = <&xiao_d 6 GPIO_ACTIVE_HIGH>; // Pin D6 as CS
|
||||
};
|
||||
|
||||
&xiao_i2c {
|
||||
status = "disabled";
|
||||
};
|
||||
// ################# niceview working fine END #################
|
||||
*/
|
||||
// vim: filetype=dts fdm=marker:
|
||||
|
|
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
### OLED Display
|
||||
# CONFIG_ZMK_DISPLAY=y
|
||||
# esto creo que ya no es necesario
|
||||
# CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
|
||||
# CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
|
||||
# Enable and adjust nice!view
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
# CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
CONFIG_ZMK_WIDGET_LAYER_STATUS=y
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
|
||||
|
||||
# Disable in-built nice!view widget
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
# Enable custom nice!view widget
|
||||
CONFIG_ZMK_LV_FONT_DEFAULT_SMALL_MONTSERRAT_26=y
|
||||
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_26=y
|
||||
|
||||
# Increase the bluetooth transmission power
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
|
||||
### POWER OPTIONS
|
||||
# CONFIG_ZMK_EXT_POWER=y
|
||||
# CONFIG_ZMK_SLEEP=n
|
||||
# 1800000 milisegundos = 30 minutos * 60 segundos * 1000
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
# Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
|
||||
### MOUSE
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### Improves compatibility with iPad
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=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
|
||||
|
|
@ -16,3 +16,5 @@
|
|||
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
|
||||
;
|
||||
};
|
||||
|
||||
// vim: filetype=dts fdm=marker:
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
# Increase the bluetooth transmission power
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
|
||||
### MOUSE
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### POWER OPTIONS
|
||||
# CONFIG_ZMK_EXT_POWER=y
|
||||
# CONFIG_ZMK_SLEEP=n
|
||||
# 1800000 milisegundos = 30 minutos * 60 segundos * 1000
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
# Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
|
||||
# Enable and adjust nice!view
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
# Disable other widgets, because don't work with pheripherals
|
||||
CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
CONFIG_ZMK_WIDGET_LAYER_STATUS=n
|
||||
CONFIG_ZMK_WIDGET_OUTPUT_STATUS=n
|
||||
|
||||
# Disable in-built nice!view widget
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
# Enable custom nice!view widget
|
||||
CONFIG_ZMK_LV_FONT_DEFAULT_SMALL_MONTSERRAT_26=y
|
||||
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_26=y
|
||||
|
||||
### Improves compatibility with iPad
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=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
|
||||
|
|
@ -16,3 +16,5 @@
|
|||
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
|
||||
;
|
||||
};
|
||||
|
||||
// vim: filetype=dts fdm=marker:
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
# Increase the bluetooth transmission power
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
|
||||
|
||||
### MOUSE
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
|
||||
### POWER OPTIONS
|
||||
# CONFIG_ZMK_EXT_POWER=y
|
||||
# CONFIG_ZMK_SLEEP=n
|
||||
# 1800000 milisegundos = 30 minutos * 60 segundos * 1000
|
||||
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
# Número de milisegundos de inactividad antes de entrar en estado inactivo
|
||||
# CONFIG_ZMK_IDLE_TIMEOUT=60000
|
||||
|
||||
# Enable and adjust nice!view
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE=y
|
||||
CONFIG_ZMK_WIDGET_BATTERY_STATUS=y
|
||||
# Disable other widgets, because don't work with pheripherals
|
||||
CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
CONFIG_ZMK_WIDGET_LAYER_STATUS=n
|
||||
CONFIG_ZMK_WIDGET_OUTPUT_STATUS=n
|
||||
|
||||
# Disable in-built nice!view widget
|
||||
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
|
||||
# Enable custom nice!view widget
|
||||
CONFIG_ZMK_LV_FONT_DEFAULT_SMALL_MONTSERRAT_26=y
|
||||
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_26=y
|
||||
|
||||
### Improves compatibility with iPad
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=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
|
||||
|
|
@ -24,3 +24,5 @@
|
|||
, <&pro_micro 21 GPIO_ACTIVE_HIGH>
|
||||
;
|
||||
};
|
||||
|
||||
// vim: filetype=dts fdm=marker:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue