diff options
Diffstat (limited to 'keyboards/dumbpad/config.h')
| -rw-r--r-- | keyboards/dumbpad/config.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/keyboards/dumbpad/config.h b/keyboards/dumbpad/config.h index 5a1a1c92b..7322d1bbb 100644 --- a/keyboards/dumbpad/config.h +++ b/keyboards/dumbpad/config.h | |||
| @@ -21,14 +21,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | /* USB Device descriptor parameter */ | 21 | /* USB Device descriptor parameter */ |
| 22 | #define VENDOR_ID 0xFEED | 22 | #define VENDOR_ID 0xFEED |
| 23 | #define PRODUCT_ID 0x0913 | 23 | #define PRODUCT_ID 0x0913 |
| 24 | #define DEVICE_VER 0x0007 | ||
| 24 | #define MANUFACTURER imchipwood | 25 | #define MANUFACTURER imchipwood |
| 25 | #define PRODUCT dumbpad | 26 | #define PRODUCT dumbpad |
| 26 | 27 | ||
| 27 | /* Column/Row IO definitions */ | 28 | /* Column/Row IO definitions */ |
| 29 | #define MATRIX_ROWS 4 | ||
| 30 | #define MATRIX_COLS 5 | ||
| 31 | #define MATRIX_ROW_PINS { F4, F5, F6, F7 } | ||
| 32 | #define MATRIX_COL_PINS { C6, D7, E6, B4, B5 } | ||
| 33 | #define UNUSED_PINS | ||
| 34 | |||
| 35 | /* COL2ROW, ROW2COL*/ | ||
| 28 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 29 | 37 | ||
| 30 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 38 | /* Single rotary encoder */ |
| 31 | #define DEBOUNCE 5 | 39 | #define ENCODERS_PAD_A { B2, D0 } |
| 40 | #define ENCODERS_PAD_B { D4, D1 } | ||
| 41 | #define ENCODER_RESOLUTIONS { 4, 4 } | ||
| 42 | |||
| 43 | /* Onboard LEDs */ | ||
| 44 | #define LED_00 B3 | ||
| 45 | #define LED_01 B1 | ||
| 32 | 46 | ||
| 33 | /* Reduce tapdance required taps from 5 to 2 */ | 47 | /* Bootmagic - hold down rotary encoder pushbutton while plugging in to enter bootloader */ |
| 34 | #define TAPPING_TOGGLE 2 | 48 | #define BOOTMAGIC_LITE_ROW 3 |
| 49 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
