From 3372688dfc28f2f2ce762aa15a3a11120488abaf Mon Sep 17 00:00:00 2001 From: Dimitris Zervas Date: Thu, 25 May 2023 14:13:08 +0300 Subject: [PATCH] Fix launchpad keymap --- config/boards/shields/launchpad/launchpad.overlay | 12 ++++++------ config/launchpad.keymap | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/boards/shields/launchpad/launchpad.overlay b/config/boards/shields/launchpad/launchpad.overlay index f90faed..4c2b51a 100644 --- a/config/boards/shields/launchpad/launchpad.overlay +++ b/config/boards/shields/launchpad/launchpad.overlay @@ -57,14 +57,14 @@ diode-direction = "col2row"; col-gpios - = <&gpio0 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> - , <&gpio0 30 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> - , <&gpio1 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + = <&gpio0 4 GPIO_ACTIVE_HIGH> + , <&gpio0 30 GPIO_ACTIVE_HIGH> + , <&gpio1 14 GPIO_ACTIVE_HIGH> ; row-gpios - = <&gpio0 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> - , <&gpio0 28 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> - , <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + = <&gpio0 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&gpio0 28 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + , <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> ; }; }; diff --git a/config/launchpad.keymap b/config/launchpad.keymap index 4dc6954..1d943a5 100644 --- a/config/launchpad.keymap +++ b/config/launchpad.keymap @@ -13,9 +13,9 @@ default_layer { bindings = < -&kp F16 &kp F17 &kp F18 -&kp F19 &kp F20 &kp F21 -&kp F22 &kp F23 &kp F24 +&kp INT1 &kp INT2 &kp INT3 +&kp INT4 &kp INT5 &kp INT6 +&kp INT7 &kp INT8 &kp INT9 >; }; };