diff options
Diffstat (limited to 'keyboards/infinity60/config.h')
| -rw-r--r-- | keyboards/infinity60/config.h | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/keyboards/infinity60/config.h b/keyboards/infinity60/config.h index 16272e427..7cc5b3f91 100644 --- a/keyboards/infinity60/config.h +++ b/keyboards/infinity60/config.h | |||
| @@ -15,36 +15,47 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | /* USB Device descriptor parameter */ | 20 | /* USB Device descriptor parameter */ |
| 22 | #define VENDOR_ID 0x1c11 | 21 | #define VENDOR_ID 0x1C11 |
| 23 | #define PRODUCT_ID 0xb04d | 22 | #define PRODUCT_ID 0xB04D |
| 24 | #define DEVICE_VER 0x0001 | 23 | #define DEVICE_VER 0x0001 |
| 25 | #define MANUFACTURER Input Club | 24 | #define MANUFACTURER Input Club |
| 26 | #define PRODUCT Infinity_60%_LED/QMK | 25 | #define PRODUCT Infinity 60% (QMK) |
| 26 | |||
| 27 | /* key matrix size */ | 27 | /* key matrix size */ |
| 28 | #define MATRIX_ROWS 9 | 28 | #define MATRIX_ROWS 7 |
| 29 | #define MATRIX_COLS 7 | 29 | #define MATRIX_COLS 9 |
| 30 | 30 | ||
| 31 | /* define if matrix has ghost */ | 31 | /* |
| 32 | //#define MATRIX_HAS_GHOST | 32 | * Keyboard Matrix Assignments |
| 33 | * | ||
| 34 | * Change this to how you wired your keyboard | ||
| 35 | * COLS: AVR pins used for columns, left to right | ||
| 36 | * ROWS: AVR pins used for rows, top to bottom | ||
| 37 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 38 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 39 | * | ||
| 40 | */ | ||
| 41 | #define MATRIX_ROW_PINS { D1, D2, D3, D4, D5, D6, D7 } | ||
| 42 | #define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5, C6, C7, D0 } | ||
| 43 | #define UNUSED_PINS | ||
| 44 | |||
| 45 | /* COL2ROW, ROW2COL */ | ||
| 46 | #define DIODE_DIRECTION COL2ROW | ||
| 33 | 47 | ||
| 34 | /* Set 0 if debouncing isn't needed */ | 48 | /* Set 0 if debouncing isn't needed */ |
| 35 | #define DEBOUNCE 5 | 49 | #define DEBOUNCE 5 |
| 50 | |||
| 51 | /* define if matrix has ghost */ | ||
| 52 | //#define MATRIX_HAS_GHOST | ||
| 36 | 53 | ||
| 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 38 | //#define LOCKING_SUPPORT_ENABLE | 55 | //#define LOCKING_SUPPORT_ENABLE |
| 39 | /* Locking resynchronize hack */ | 56 | /* Locking resynchronize hack */ |
| 40 | //#define LOCKING_RESYNC_ENABLE | 57 | //#define LOCKING_RESYNC_ENABLE |
| 41 | 58 | ||
| 42 | /* Keymap for Infinity prototype */ | ||
| 43 | //#define INFINITY_PROTOTYPE | ||
| 44 | |||
| 45 | /* Keymap for Infinity 1.1a (first revision with LED support) */ | ||
| 46 | #define INFINITY_LED | ||
| 47 | |||
| 48 | /* | 59 | /* |
| 49 | * Feature disable options | 60 | * Feature disable options |
| 50 | * These options are also useful to firmware size reduction. | 61 | * These options are also useful to firmware size reduction. |
| @@ -62,5 +73,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 62 | //#define NO_ACTION_ONESHOT | 73 | //#define NO_ACTION_ONESHOT |
| 63 | //#define NO_ACTION_MACRO | 74 | //#define NO_ACTION_MACRO |
| 64 | //#define NO_ACTION_FUNCTION | 75 | //#define NO_ACTION_FUNCTION |
| 65 | |||
| 66 | #endif | ||
