diff options
author | GG <72414103+spbgzh@users.noreply.github.com> | 2022-01-11 03:49:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 16:49:19 -0800 |
commit | 19fe7dcaaa3d1494333feff6e19d4655efc693eb (patch) | |
tree | e6a3545c336f1d711a4fb704eb99f98f7ca1164c /keyboards/wuque/mammoth20x/config.h | |
parent | 0fc1ae9e9c6184a690858064a618cd413ac779ce (diff) |
[Keyboard] Fixed bugs Wuque Mammoth Keyboard Series (#15700)
Diffstat (limited to 'keyboards/wuque/mammoth20x/config.h')
-rw-r--r-- | keyboards/wuque/mammoth20x/config.h | 6 |
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 } } |