diff options
author | Maarten Dekkers <maartenn2001@gmail.com> | 2020-04-23 20:57:49 +0200 |
---|---|---|
committer | Maarten Dekkers <maartenn2001@gmail.com> | 2020-04-23 20:57:49 +0200 |
commit | b349fa0a570476ac559a672c3af3331134d587b8 (patch) | |
tree | 578d7c7482fe8af7841fbaa38f8c1f1ed2e06b9f /keyboards/maartenwut/ta65/config.h | |
parent | ccc8338b0e828f357a8051a729f2ccdbe3129fdb (diff) | |
download | firmware-b349fa0a570476ac559a672c3af3331134d587b8.tar.gz firmware-b349fa0a570476ac559a672c3af3331134d587b8.tar.bz2 firmware-b349fa0a570476ac559a672c3af3331134d587b8.zip |
Add encoder to ta-65
Diffstat (limited to 'keyboards/maartenwut/ta65/config.h')
-rw-r--r-- | keyboards/maartenwut/ta65/config.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/maartenwut/ta65/config.h b/keyboards/maartenwut/ta65/config.h index d54a6273d..729f21a2e 100644 --- a/keyboards/maartenwut/ta65/config.h +++ b/keyboards/maartenwut/ta65/config.h @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define PRODUCT_ID 0x7465 #define DEVICE_VER 0x0001 #define MANUFACTURER Maartenwut -#define PRODUCT TA-65 +#define PRODUCT ta-65 #define DESCRIPTION A universal 65% PCB with underglow. /* key matrix size */ @@ -37,6 +37,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0} #define UNUSED_PINS +#define ENCODERS_PAD_A { B2 } +#define ENCODERS_PAD_B { B1 } + +/* Uncomment if your encoder doesn't react to every turn or skips */ +//#define ENCODER_RESOLUTION 2 + /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW |