summaryrefslogtreecommitdiff
path: root/keyboards/wuque/mammoth75x/config.h
diff options
context:
space:
mode:
authorGG <72414103+spbgzh@users.noreply.github.com>2022-01-11 03:49:19 +0300
committerGitHub <noreply@github.com>2022-01-10 16:49:19 -0800
commit19fe7dcaaa3d1494333feff6e19d4655efc693eb (patch)
treee6a3545c336f1d711a4fb704eb99f98f7ca1164c /keyboards/wuque/mammoth75x/config.h
parent0fc1ae9e9c6184a690858064a618cd413ac779ce (diff)
[Keyboard] Fixed bugs Wuque Mammoth Keyboard Series (#15700)
Diffstat (limited to 'keyboards/wuque/mammoth75x/config.h')
-rw-r--r--keyboards/wuque/mammoth75x/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/wuque/mammoth75x/config.h b/keyboards/wuque/mammoth75x/config.h
index 019a70f50d..88ef0e5477 100644
--- a/keyboards/wuque/mammoth75x/config.h
+++ b/keyboards/wuque/mammoth75x/config.h
@@ -49,9 +49,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_B { B1 }
#define ENCODERS 1
+
+#ifdef ENCODER_RESOLUTION
+ #undef ENCODER_RESOLUTION
+#endif
+#define ENCODER_RESOLUTION 2
+
// Note: array is { col, row )
-#define ENCODERS_CW_KEY { { 5, 5 } }
-#define ENCODERS_CCW_KEY { { 3, 5 } }
+#define ENCODERS_CW_KEY { { 3, 5 } }
+#define ENCODERS_CCW_KEY { { 5, 5 } }
#define LED_CAPS_LOCK_PIN B6
#define LED_PIN_ON_STATE 0