summaryrefslogtreecommitdiff
path: root/keyboards/palette1202/config.h
diff options
context:
space:
mode:
authorTakashi Shibusawa <futurabodoni@gmail.com>2020-03-21 15:22:08 +0900
committerGitHub <noreply@github.com>2020-03-20 23:22:08 -0700
commitc6b667623a49d8dd2f1b74cd0ac0e5531d5d91a8 (patch)
tree4b4bd19e3b8598ef49cb1510f06664d340454136 /keyboards/palette1202/config.h
parentd96380e65496912e0f68e6531565f4b45efd1623 (diff)
[Keyboard] Palette1202 fix encoder rotate direction (#8489)
* revised hardware availability - URL * fixed encoder rotate direction (reversed)
Diffstat (limited to 'keyboards/palette1202/config.h')
-rw-r--r--keyboards/palette1202/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/palette1202/config.h b/keyboards/palette1202/config.h
index 65db763b4d..7731455c61 100644
--- a/keyboards/palette1202/config.h
+++ b/keyboards/palette1202/config.h
@@ -41,6 +41,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Encoders */
#define ENCODERS_PAD_A { F4, F6 }
#define ENCODERS_PAD_B { F5, F7 }
+#define ENCODER_RESOLUTION 2
+// if you want to reverse encoder direction
+// #define ENCODER_DIRECTION_FLIP
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5