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 | |
| parent | ccc8338b0e828f357a8051a729f2ccdbe3129fdb (diff) | |
| download | qmk_firmware-b349fa0a570476ac559a672c3af3331134d587b8.tar.gz qmk_firmware-b349fa0a570476ac559a672c3af3331134d587b8.zip | |
Add encoder to ta-65
| -rw-r--r-- | keyboards/maartenwut/ta65/config.h | 8 | ||||
| -rw-r--r-- | keyboards/maartenwut/ta65/rules.mk | 31 |
2 files changed, 25 insertions, 14 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/>. | |||
| 24 | #define PRODUCT_ID 0x7465 | 24 | #define PRODUCT_ID 0x7465 |
| 25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER Maartenwut | 26 | #define MANUFACTURER Maartenwut |
| 27 | #define PRODUCT TA-65 | 27 | #define PRODUCT ta-65 |
| 28 | #define DESCRIPTION A universal 65% PCB with underglow. | 28 | #define DESCRIPTION A universal 65% PCB with underglow. |
| 29 | 29 | ||
| 30 | /* key matrix size */ | 30 | /* key matrix size */ |
| @@ -37,6 +37,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0} | 37 | #define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0} |
| 38 | #define UNUSED_PINS | 38 | #define UNUSED_PINS |
| 39 | 39 | ||
| 40 | #define ENCODERS_PAD_A { B2 } | ||
| 41 | #define ENCODERS_PAD_B { B1 } | ||
| 42 | |||
| 43 | /* Uncomment if your encoder doesn't react to every turn or skips */ | ||
| 44 | //#define ENCODER_RESOLUTION 2 | ||
| 45 | |||
| 40 | /* COL2ROW or ROW2COL */ | 46 | /* COL2ROW or ROW2COL */ |
| 41 | #define DIODE_DIRECTION COL2ROW | 47 | #define DIODE_DIRECTION COL2ROW |
| 42 | 48 | ||
diff --git a/keyboards/maartenwut/ta65/rules.mk b/keyboards/maartenwut/ta65/rules.mk index db0567bd0..86efb933b 100644 --- a/keyboards/maartenwut/ta65/rules.mk +++ b/keyboards/maartenwut/ta65/rules.mk | |||
| @@ -12,19 +12,24 @@ MCU = atmega32u4 | |||
| 12 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 13 | 13 | ||
| 14 | # Build Options | 14 | # Build Options |
| 15 | # comment out to disable the options. | 15 | # change yes to no to disable |
| 16 | # | 16 | # |
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | 18 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 20 | CONSOLE_ENABLE = no # Console for debug | 20 | CONSOLE_ENABLE = yes # Console for debug |
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | 21 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 22 | NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 23 | RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality | 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 25 | MIDI_ENABLE = no # MIDI controls | 25 | NKRO_ENABLE = no # USB Nkey Rollover |
| 26 | AUDIO_ENABLE = no | 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 27 | UNICODE_ENABLE = no # Unicode | 27 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 28 | MIDI_ENABLE = no # MIDI support |
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 33 | ENCODER_ENABLE = yes | ||
| 29 | 34 | ||
| 30 | LAYOUTS = 65_ansi 65_iso | 35 | LAYOUTS = 65_ansi 65_iso |
