update flake.lock, add debounce

This commit is contained in:
2025-03-25 21:43:03 +02:00
parent 512f6f4426
commit 885e190208
4 changed files with 13 additions and 8 deletions

View File

@ -66,4 +66,9 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(3,5) RC(3,6
sensors = <&left_encoder &right_encoder>; sensors = <&left_encoder &right_encoder>;
}; };
};
&kscan0 {
debounce-press-ms = <1>;
debounce-release-ms = <2>;
}; };

View File

@ -8,7 +8,7 @@
# RGB Underglow (Uncomment these two lines to add support to your firmware) # RGB Underglow (Uncomment these two lines to add support to your firmware)
# RGB quickly drains battery power # RGB quickly drains battery power
#CONFIG_ZMK_RGB_UNDERGLOW=y #CONFIG_ZMK_RGB_UNDERGLOW=y
CONFIG_WS2812_STRIP=y #CONFIG_WS2812_STRIP=y
CONFIG_ZMK_SLEEP=y CONFIG_ZMK_SLEEP=y
# Boost the Bluetooth signal only if having connection issues # Boost the Bluetooth signal only if having connection issues

12
flake.lock generated
View File

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1739834344, "lastModified": 1742800061,
"narHash": "sha256-PUAcU3YlKNFYrBBHkqshO4wRfMunzhMTEIH1dyhjTtk=", "narHash": "sha256-oDJGK1UMArK52vcW9S5S2apeec4rbfNELgc50LqiPNs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f0295845e58ada369322524631821b01c0db13a7", "rev": "1750f3c1c89488e2ffdd47cab9d05454dddfb734",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -29,11 +29,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739666186, "lastModified": 1742690277,
"narHash": "sha256-Q052i4ojEXzKHDUf95EJvIbC2+VO+dqMwITS2/toZsY=", "narHash": "sha256-aMpj64fdAi6R3Mkp5bcQwIpmDUne9bwY0mOcCilWnsI=",
"owner": "lilyinstarlight", "owner": "lilyinstarlight",
"repo": "zmk-nix", "repo": "zmk-nix",
"rev": "d9c7de21f56c4bc69bd10569148a14306cd0e5d6", "rev": "d77e4d5a3dc92e7d5e6cdff058a47edccf647175",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -29,7 +29,7 @@
"-DCONFIG_ZMK_POINTING=y" "-DCONFIG_ZMK_POINTING=y"
]; ];
zephyrDepsHash = "sha256-VTTvPN35QCspzbOcYowgoe4tnR2bPQldKM2gk/N6yfs="; zephyrDepsHash = "sha256-1nMZWSEmDuUWoYvsUE4eV5fBAD6kNFw0ZHF3jDKwpLg=";
meta = { meta = {
description = "ZMK firmware"; description = "ZMK firmware";