Skip to content

Commit

Permalink
fix board
Browse files Browse the repository at this point in the history
  • Loading branch information
onnenon committed Nov 12, 2024
1 parent c65214d commit de62d19
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
34 changes: 20 additions & 14 deletions boards/shields/hotdog_pad/hotdog_pad.keymap
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
/*
* Copyright (c) 2024 Stephen Onnen
*
* SPDX-License-Identifier: MIT
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>

/ {
keymap0:
combos {
compatible = "zmk,combos";

combo_enable_studio {
timeout-ms = <100>;
key-positions = <0 1 2 3 4>;
bindings = <&studio_unlock>;
};
};

keymap {
compatible = "zmk,keymap";

base {
bindings = < &kp N9 & kp N8 & kp N7 & kp N6 & kp N5 > ;
sensor - bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
bindings = <
&kp N9
&kp N8
&kp N7
&kp N6
&kp N5
>;

extra1 { status = "reserved"; };

extra2 { status = "reserved"; };
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
};
};
};
2 changes: 1 addition & 1 deletion boards/shields/hotdog_pad/hotdog_pad.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
input-gpios
= <&xiao_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&xiao_d 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&xiao_d 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&xiao_d 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&xiao_d 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&xiao_d 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
Expand Down

0 comments on commit de62d19

Please sign in to comment.