From 67a6dfe9ed52830d151dd9ab521acbd23fee4746 Mon Sep 17 00:00:00 2001 From: Blake Drayson Date: Sat, 31 Aug 2024 16:00:32 +0100 Subject: [PATCH] Fixed encoder direction flip, with pin change and moved encoder map enable to keymap level. --- keyboards/draytronics/daisy_v2/keyboard.json | 2 +- keyboards/draytronics/daisy_v2/keymaps/default/rules.mk | 1 + keyboards/draytronics/daisy_v2/rules.mk | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 keyboards/draytronics/daisy_v2/keymaps/default/rules.mk diff --git a/keyboards/draytronics/daisy_v2/keyboard.json b/keyboards/draytronics/daisy_v2/keyboard.json index 0801de47015..7b3bf8bc8bb 100644 --- a/keyboards/draytronics/daisy_v2/keyboard.json +++ b/keyboards/draytronics/daisy_v2/keyboard.json @@ -7,7 +7,7 @@ "encoder": { "enabled": true, "rotary": [ - {"pin_a": "A15", "pin_b": "A14"} + {"pin_a": "A14", "pin_b": "A15"} ] }, "features": { diff --git a/keyboards/draytronics/daisy_v2/keymaps/default/rules.mk b/keyboards/draytronics/daisy_v2/keymaps/default/rules.mk new file mode 100644 index 00000000000..ee325681483 --- /dev/null +++ b/keyboards/draytronics/daisy_v2/keymaps/default/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/draytronics/daisy_v2/rules.mk b/keyboards/draytronics/daisy_v2/rules.mk index f2ba6e18ca1..dbfa81b6ce0 100644 --- a/keyboards/draytronics/daisy_v2/rules.mk +++ b/keyboards/draytronics/daisy_v2/rules.mk @@ -1,2 +1 @@ -ENCODER_MAP_ENABLE = yes SRC += oled.c