diff --git a/README.md b/README.md index fd45f45..e1aa8dd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Unzip the firmware to find four firmware files: - chuck-unibody: for using the keyboard without a dongle - chuck-peripheral: for using the keyboad with a dongle -- chuck-dongle: to install the firmware onto the Prospector ZMK dongle +- chuck-dongle: to install the firmware onto the [Prospector ZMK dongle][prospector] - xiao-reset: used to clear all bluetooth connections and other saved settings Plug the One Up Chuck keyboard into your computer's USB port, @@ -118,14 +118,15 @@ CONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y # Enable ZMK Studio CONFIG_ZMK_STUDIO=y - ``` -See the pre-compiled firmware [config file][config] for additional settings. +See the pre-compiled firmware [config file][config] +for additional settings you may want to consider. -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. +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. Default Keymap: @@ -135,5 +136,6 @@ Default Keymap: [chuck]: https://github.com/ctranstrum/chuck [config]: config/one-up-chuck.conf [keymap]: https://github.com/ctranstrum/chuck/tree/zmk/boards/shields/chuck/one_up_chuck.keymap +[prospector]: https://github.com/carrefinho/prospector [studio]: https://zmk.studio [zmk]: https://zmk.dev/docs/user-setup#github-repo diff --git a/boards/shields/chuck/chuck.dtsi b/boards/shields/chuck/chuck.dtsi index d18af9a..e0698c3 100644 --- a/boards/shields/chuck/chuck.dtsi +++ b/boards/shields/chuck/chuck.dtsi @@ -1,4 +1,5 @@ #include +#include #include "chuck-layouts.dtsi" / { @@ -35,6 +36,23 @@ sensors = <&encoder>; triggers-per-rotation = <24>; }; + + input_processors { + zip_scroll_scalar: zip_scroll_scalar { + compatible = "zmk,input-processor-scalar"; + #input-processor-cells = <2>; + type = ; + codes = ; + track-remainders; + }; + }; +}; + +&msc_input_listener { + turbo { + layers = <0>; + input-processors = <&zip_scroll_scalar 3 1>; + }; }; // vim: expandtab softtabstop=4 shiftwidth=4