summaryrefslogtreecommitdiffstats
path: root/keyboards/wuque/mammoth20x/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/mammoth20x/config.h
parent0fc1ae9e9c6184a690858064a618cd413ac779ce (diff)
[Keyboard] Fixed bugs Wuque Mammoth Keyboard Series (#15700)
Diffstat (limited to 'keyboards/wuque/mammoth20x/config.h')
-rw-r--r--keyboards/wuque/mammoth20x/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/wuque/mammoth20x/config.h b/keyboards/wuque/mammoth20x/config.h
index a29ab2cb21..8fcfc03195 100644
--- a/keyboards/wuque/mammoth20x/config.h
+++ b/keyboards/wuque/mammoth20x/config.h
@@ -49,6 +49,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_B { D2 }
#define ENCODERS 1
+
+#ifdef ENCODER_RESOLUTION
+ #undef ENCODER_RESOLUTION
+#endif
+#define ENCODER_RESOLUTION 2
+
// Note: array is { col, row )
#define ENCODERS_CW_KEY { { 3, 2 } }
#define ENCODERS_CCW_KEY { { 3, 4 } }