Skip to content

Commit

Permalink
keymap test gpio 49
Browse files Browse the repository at this point in the history
  • Loading branch information
willelind committed Sep 19, 2024
1 parent 735c153 commit 0de11f4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions boards/shields/keyboy/keyboy.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@
#include "elpekenin/behaviors.dtsi"
#include <locale/keys_sv.h>

&gpio_595 {
compatible = "zmk,gpio-595";
status = "okay";
gpio-controller;
spi-max-frequency = <5000000>;
reg = <1 0 1>; // This matches your shifter1 configuration
#gpio-cells = <2>;
ngpios = <24>;
};

#define GPIO_595_SET_LOW(name, gpio_pin) \
&gpio_595 { \
&shifter1 { \
pinctrl-0 = <&pinctrl_##name>; \
pinctrl-names = "default"; \
gpio-pin = <gpio_pin>; \
Expand Down

0 comments on commit 0de11f4

Please sign in to comment.