diff options
Diffstat (limited to 'keyboards/mode/eighty/config.h')
| -rw-r--r-- | keyboards/mode/eighty/config.h | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/keyboards/mode/eighty/config.h b/keyboards/mode/eighty/config.h new file mode 100644 index 000000000..99b29de58 --- /dev/null +++ b/keyboards/mode/eighty/config.h | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Alvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | 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/>. | ||
| 16 | */ | ||
| 17 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x00DE | ||
| 21 | #define PRODUCT_ID 0x0080 | ||
| 22 | #define MANUFACTURER Mode | ||
| 23 | #define PRODUCT Eighty | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | #define MATRIX_ROWS 6 | ||
| 27 | #define MATRIX_COLS 16 | ||
| 28 | |||
| 29 | /* | ||
| 30 | * Keyboard Matrix Assignments | ||
| 31 | * | ||
| 32 | * Change this to how you wired your keyboard | ||
| 33 | * COLS: AVR pins used for columns, left to right | ||
| 34 | * ROWS: AVR pins used for rows, top to bottom | ||
| 35 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 36 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 37 | * | ||
| 38 | */ | ||
| 39 | |||
| 40 | #define MATRIX_ROW_PINS { A10, A15, B3, B9, A3, A4 } | ||
| 41 | #define MATRIX_COL_PINS { B8, B7, B6, B5, B4, A2, A1, A0, F1, F0, C15, C14, C13, A7, A6, A5 } | ||
| 42 | #define UNUSED_PINS | ||
| 43 | |||
| 44 | /* COL2ROW, ROW2COL*/ | ||
| 45 | #define DIODE_DIRECTION COL2ROW | ||
| 46 | |||
| 47 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 48 | #define DEBOUNCE 5 | ||
| 49 | |||
| 50 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 51 | //#define MATRIX_HAS_GHOST | ||
| 52 | |||
| 53 | /* number of backlight levels */ | ||
| 54 | |||
| 55 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 56 | #define LOCKING_SUPPORT_ENABLE | ||
| 57 | /* Locking resynchronize hack */ | ||
| 58 | #define LOCKING_RESYNC_ENABLE | ||
| 59 | |||
| 60 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 61 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 62 | */ | ||
| 63 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 64 | |||
| 65 | /* | ||
| 66 | * Force NKRO | ||
| 67 | * | ||
| 68 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 69 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 70 | * makefile for this to work.) | ||
| 71 | * | ||
| 72 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 73 | * until the next keyboard reset. | ||
| 74 | * | ||
| 75 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 76 | * fully operational during normal computer usage. | ||
| 77 | * | ||
| 78 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 79 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 80 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 81 | * power-up. | ||
| 82 | * | ||
| 83 | */ | ||
| 84 | //#define FORCE_NKRO | ||
| 85 | |||
| 86 | /* | ||
| 87 | * Feature disable options | ||
| 88 | * These options are also useful to firmware size reduction. | ||
| 89 | */ | ||
| 90 | |||
| 91 | /* disable debug print */ | ||
| 92 | //#define NO_DEBUG | ||
| 93 | |||
| 94 | /* disable print */ | ||
| 95 | //#define NO_PRINT | ||
| 96 | |||
| 97 | /* disable action features */ | ||
| 98 | //#define NO_ACTION_LAYER | ||
| 99 | //#define NO_ACTION_TAPPING | ||
| 100 | //#define NO_ACTION_ONESHOT | ||
| 101 | //#define NO_ACTION_MACRO | ||
| 102 | //#define NO_ACTION_FUNCTION | ||
