Skip to content

Commit

Permalink
trknew
Browse files Browse the repository at this point in the history
  • Loading branch information
kizanbg committed Apr 25, 2024
1 parent 08cbaf9 commit c010636
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 10 deletions.
38 changes: 33 additions & 5 deletions config/boards/shields/trk/trk.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,42 @@ CONFIG_BT_AUTO_PHY_UPDATE=n
# RGB config
CONFIG_ZMK_RGB_UNDERGLOW=y
CONFIG_WS2812_STRIP=y
CONFIG_ZMK_RGB_UNDERGLOW_ON_START=y
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y

# 0 Solid color
# 1 Breathe
# 2 Spectrum
# 3 Swirl
# 4 Status
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=4

# Underglow toggling also controls external power
#CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n

# Status LEDs
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_BATTERY_N=5
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_LAYER_N=13
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_N=15
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_BATTERY_COLOR_MIN=0
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_BATTERY_COLOR_MAX=160
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_COLOR=320

# Turn off RGB underglow when keyboard goes into idle state
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y

# SLEEP config
CONFIG_ZMK_IDLE_TIMEOUT=30000
# Enable deep sleep support
#CONFIG_ZMK_SLEEP=y
#CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=300000
#CONFIG_ZMK_IDLE_TIMEOUT=30000
#CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 # 15 minutes.

# Increase the transmit power to the max avoid connectivity Issues
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

# Uncomment the following line to enable the Corne OLED Display
CONFIG_ZMK_DISPLAY=y
CONFIG_ZMK_WIDGET_OUTPUT_STATUS=y
CONFIG_ZMK_WIDGET_LAYER_STATUS=y
CONFIG_ZMK_WIDGET_WPM_STATUS=y
CONFIG_ZMK_WIDGET_BATTERY_STATUS=y

# Uncomment these two line to add support for encoders to your firmware
CONFIG_EC11=y
Expand Down
8 changes: 3 additions & 5 deletions config/west.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: okke-formsma
url-base: https://github.com/okke-formsma
url-base: https://github.com/Xoffio/
projects:
- name: zmk
remote: okke-formsma
revision: macros
remote: zmkfirmware
revision: xo-status-fx
import: app/west.yml
self:
path: config

0 comments on commit c010636

Please sign in to comment.