Skip to content

Commit

Permalink
glove80
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Jan 16, 2024
1 parent 616ffd2 commit 9f9fc06
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ include:
- board: planck_rev6
- board: corneish_zen_v2_left
- board: corneish_zen_v2_right
- board: glove80_lh
- board: glove80_rh
15 changes: 15 additions & 0 deletions config/glove80.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set sleep timeout to 30min (30*60*1000ms)
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000

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

# Bluetooth tweaks
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_BT_MAX_CONN=3
CONFIG_BT_MAX_PAIRED=3

27 changes: 27 additions & 0 deletions config/glove80.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* source keypos definitions */
#include "../zmk-nodefree-config/keypos_def/keypos_glv80.h"

/* map the Glove's extra keys */
#define X_LT \
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 \
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS \
&kp TAB
#define X_RT &kp BACKSLASH

#define X_LM &kp ESC
#define X_RM &none

#define X_LB &none
#define X_MB &none &none &none &none &none &none
#define X_RB &none

#define X_LH &none &none &none &kp LEFT &kp RIGHT
#define X_MH &none &none
#define X_RH &kp UP &kp DOWN &none &none &none

/* activate bluetooth */
#define CONFIG_WIRELESS 1

/* source the main keymap */
#include "base.keymap"

2 changes: 1 addition & 1 deletion zmk-nodefree-config

0 comments on commit 9f9fc06

Please sign in to comment.