1
0
Fork 0

[Keyboard] Palette1202 fix encoder rotate direction (#8489)

* revised hardware availability - URL

* fixed encoder rotate direction (reversed)
This commit is contained in:
Takashi Shibusawa 2020-03-21 15:22:08 +09:00 committed by GitHub
parent d96380e654
commit c6b667623a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 21 deletions

View file

@ -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