Skip to content

Commit

Permalink
update default firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
ctranstrum committed Jan 16, 2025
1 parent 0356d4e commit f832cd1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,24 @@ include:
artifact-name: chuck-unibody
```

Modify your `config/one-up-chuck.conf` file with these changes:
Modify your `config/one-up-chuck.conf` file with these suggested changes:

```conf
# Enable encoder
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
# Enable mouse scrolling on the encoder
CONFIG_ZMK_POINTING=y
CONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y
# Enable ZMK Studio
CONFIG_ZMK_STUDIO=y
```

See the pre-compiled firmware [config file][config] for additional settings.

To customize the keymap for your One Up Chuck board, you can copy the
[default keymap][keymap] from this repo to the `config` directory of
your zmk config repo and edit it from there.
Expand All @@ -88,4 +97,5 @@ Default Keymap:

[keymap]: https://github.com/ctranstrum/chuck/tree/zmk/boards/shields/chuck/one_up_chuck.keymap
[chuck]: https://github.com/ctranstrum/chuck
[config]: config/one-up-chuck.conf
[zmk]: https://zmk.dev/docs/user-setup#github-repo
12 changes: 6 additions & 6 deletions boards/shields/chuck/one_up_chuck.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
combo_backspace {
key-positions = <4 5 6>;
bindings = <&kp BSPC>;
layers = <0>;
layers = <0 1>;
};

combo_return {
key-positions = <14 15 16>;
bindings = <&kp RET>;
layers = <0>;
layers = <0 1>;
};

combo_left_paren {
Expand Down Expand Up @@ -193,9 +193,9 @@
};

scroll_rotation: sensor_rotation_scroll {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&msc SCRL_UP>, <&msc SCRL_DOWN>;
compatible = "zmk,behavior-sensor-rotate-var";
#sensor-binding-cells = <2>;
bindings = <&msc>, <&msc>;
};

sscw: sticky_shift_caps_word {
Expand Down Expand Up @@ -265,7 +265,7 @@
// ┗━━━━━━━┛ ┗━━━━━━━┛
>;

sensor-bindings = <&scroll_rotation>;
sensor-bindings = <&scroll_rotation MOVE_UP MOVE_DOWN>;
};

num {
Expand Down
5 changes: 5 additions & 0 deletions config/one_up_chuck.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ CONFIG_RGBLED_WIDGET_BATTERY_LEVEL_HIGH=33
CONFIG_RGBLED_WIDGET_BATTERY_LEVEL_LOW=15
CONFIG_RGBLED_WIDGET_BATTERY_LEVEL_CRITICAL=10
CONFIG_RGBLED_WIDGET_CONN_BLINK_MS=2000

# RGBled color bits: r=4 g=2 b=1
# white LED for unpaired
CONFIG_RGBLED_WIDGET_CONN_COLOR_ADVERTISING=7
# magenta LED for disconnected
CONFIG_RGBLED_WIDGET_CONN_COLOR_DISCONNECTED=5

# Set defaults for macros
Expand All @@ -24,6 +28,7 @@ CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000

# Mouse
CONFIG_ZMK_POINTING=y
CONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y

# Increase Bluetooth signal
#CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
Expand Down

0 comments on commit f832cd1

Please sign in to comment.