Skip to content

Commit

Permalink
Changed debounce declaration to .conf
Browse files Browse the repository at this point in the history
  • Loading branch information
inkwok committed Apr 11, 2024
1 parent 2e0b48d commit c4b31ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 2 additions & 0 deletions config/corne.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# CONFIG_ZMK_RGB_UNDERGLOW = y
# CONFIG_WS2812_STRIP = y
# CONFIG_ZMK_DISPLAY = y
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS = 1
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS = 5
16 changes: 1 addition & 15 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,10 @@
#define FUNC 3

&sk {
release-after-ms = <2000>;
release-after-ms = <3000>;
/delete-property/ ignore-modifiers;
};

&kscan0 {
debounce-press-ms = <10>;
};

/ {
chosen {
zmk,kscan = &kscan0;
};

kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
};
};

/ {
keymap {
compatible = "zmk,keymap";
Expand Down

0 comments on commit c4b31ce

Please sign in to comment.