diff options
| author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2020-07-27 20:44:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 11:44:05 -0700 |
| commit | 5cbac94d08257a6149c5717d7f25efab7af9c0fa (patch) | |
| tree | 53248fcae9cb29da470a56d67b7c926657289d9a /keyboards/kinesis/kint2pp/config.h | |
| parent | e937fc451379d773184068fd07b9f0a2aaaa6784 (diff) | |
| download | qmk_firmware-5cbac94d08257a6149c5717d7f25efab7af9c0fa.tar.gz qmk_firmware-5cbac94d08257a6149c5717d7f25efab7af9c0fa.zip | |
[Keyboard] add support for the kinT kinesis keyboard controller (kint2pp variant) (#9687)
* branch keyboards/kinesis/kint2pp from keyboards/kinesis/stapelberg
Changes will be made in the next commit
* [Keyboard] update wiring for kinT (kint2pp variant)
* add QMK plumbing
* Apply zvecr’s suggestions from code review
* Update keyboards/kinesis/kint2pp/config.h
* Update keyboards/kinesis/kint2pp/config.h
* remove superfluous config.h include
Diffstat (limited to 'keyboards/kinesis/kint2pp/config.h')
| -rw-r--r-- | keyboards/kinesis/kint2pp/config.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h new file mode 100644 index 000000000..2acaf9be6 --- /dev/null +++ b/keyboards/kinesis/kint2pp/config.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* USB Device descriptor parameter */ | ||
| 4 | #define PRODUCT_ID 0x6060 | ||
| 5 | #define DEVICE_VER 0x0002 | ||
| 6 | |||
| 7 | /* key matrix size */ | ||
| 8 | #define MATRIX_ROWS 15 | ||
| 9 | #define MATRIX_COLS 7 | ||
| 10 | |||
| 11 | /* | ||
| 12 | * Keyboard Matrix Assignments | ||
| 13 | * | ||
| 14 | * Change this to how you wired your keyboard | ||
| 15 | * COLS: AVR pins used for columns, left to right | ||
| 16 | * ROWS: AVR pins used for rows, top to bottom | ||
| 17 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 18 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 19 | * | ||
| 20 | */ | ||
| 21 | #define MATRIX_ROW_PINS { D7, E0, E1, C0, C6, F6, D4, D2, D3, D0, B7, D1, E6, B4, B2 } | ||
| 22 | #define MATRIX_COL_PINS { E7, F0, F7, B1, B3, B0, D5 } | ||
| 23 | |||
| 24 | #define UNUSED_PINS | ||
| 25 | |||
| 26 | /* COL2ROW or ROW2COL */ | ||
| 27 | #define DIODE_DIRECTION COL2ROW | ||
| 28 | |||
| 29 | |||
| 30 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 31 | #define DEBOUNCE 5 | ||
| 32 | |||
| 33 | #define IGNORE_MOD_TAP_INTERRUPT | ||
