Skip to content

Commit

Permalink
Initial HSV40C layout
Browse files Browse the repository at this point in the history
  • Loading branch information
klardotsh committed Jan 1, 2025
1 parent aaf67e8 commit 50130dd
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 3 deletions.
8 changes: 7 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@
#
---
include:
- board: nice_nano_v2
shield: settings_reset

- board: nice_nano_v2
shield: clog_left
- board: nice_nano_v2
shield: clog_right

- board: nice_nano_v2
shield: settings_reset
shield: hillside_view_left
- board: nice_nano_v2
shield: hillside_view_right
62 changes: 62 additions & 0 deletions config/hillside_view-labels.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// Modified from
// https://github.com/wannabecoffeenerd/zmk/blob/5f348932a3dfbfd1890920b9653ad0dde848a1cd/app/boards/shields/hillside_view/hillside_view.dtsi
//
// | LT4 | LT3 | LT2 | LT1 | LT0 | | RT0 | RT1 | RT2 | RT3 | RT4 |
// | LM4 | LM3 | LM2 | LM1 | LM0 | | RM0 | RM1 | RM2 | RM3 | RM4 |
// | LB4 | LB3 | LB2 | LB1 | LB0 | | RB0 | RB1 | RB2 | RB3 | RB4 |
// | LH4 | | RH4 |
// | LH3 | LH2 | LH1 | LH0 | | RH0 | RH1 | RH2 | RH3 |

#define LT0 5 // left-top row
#define LT1 4
#define LT2 3
#define LT3 2
#define LT4 1
// LT5 chopped off in 5x3 configuration

#define RT0 6 // right-top row
#define RT1 7
#define RT2 8
#define RT3 9
#define RT4 10
// RT5 chopped off in 5x3 configuration

#define LM0 17 // left-middle row
#define LM1 16
#define LM2 15
#define LM3 14
#define LM4 13
// LM5 chopped off in 5x3 configuration

#define RM0 18 // right-middle row
#define RM1 19
#define RM2 20
#define RM3 21
#define RM4 22
// RM5 chopped off in 5x3 configuration

#define LB0 29 // left-bottom row
#define LB1 28
#define LB2 27
#define LB3 26
#define LB4 25
// LB5 chopped off in 5x3 configuration

#define RB0 30 // right-bottom row
#define RB1 31
#define RB2 32
#define RB3 33
#define RB4 34
// RB5 chopped off in 5x3 configuration

#define LH0 41 // left thumb keys
#define LH1 40
#define LH2 39
#define LH3 38
#define LH4 36

#define RH0 42 // right thumb keys
#define RH1 43
#define RH2 44
#define RH3 45
#define RH4 37
24 changes: 24 additions & 0 deletions config/hillside_view.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
CONFIG_ZMK_KEYBOARD_NAME="HSV40C"
CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y

CONFIG_ZMK_POINTING=y
# CONFIG_ZMK_MOUSE_TICK_DURATION=10
# CONFIG_ZMK_MOUSE_WORK_QUEUE_DEDICATED=y
# CONFIG_ZMK_MOUSE_DEDICATED_THREAD_PRIORITY=1

# Uncomment the following line to enable the Nice View Display
CONFIG_ZMK_DISPLAY=y

# BLE configs
# CONFIG_BT_CTLR_TX_PWR_PLUS_8=y # set transmission power to max
# CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y

# Enable deep sleep support
CONFIG_ZMK_SLEEP=y
# Milliseconds of inactivity before entering deep sleep
# Set here to 10 minutes
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=600000

# Combo config, automated by build script
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=6
CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8
Loading

0 comments on commit 50130dd

Please sign in to comment.