diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2015-10-30 00:48:17 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-30 00:48:17 -0400 |
| commit | eb2795b4d649f062430c859012bc6bd8faa847ff (patch) | |
| tree | 2ee3a8fc53542aa16f1632904d8be3f052895cd4 /keyboard/atomic/config.h | |
| parent | 3ac4f1519fbc90d2357c92cfd00557bdfc024e54 (diff) | |
| download | qmk_firmware-eb2795b4d649f062430c859012bc6bd8faa847ff.tar.gz qmk_firmware-eb2795b4d649f062430c859012bc6bd8faa847ff.zip | |
atomic up-to-date
Diffstat (limited to 'keyboard/atomic/config.h')
| -rw-r--r-- | keyboard/atomic/config.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/keyboard/atomic/config.h b/keyboard/atomic/config.h index fd286bb99..149aed471 100644 --- a/keyboard/atomic/config.h +++ b/keyboard/atomic/config.h | |||
| @@ -18,25 +18,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #ifndef CONFIG_H | 18 | #ifndef CONFIG_H |
| 19 | #define CONFIG_H | 19 | #define CONFIG_H |
| 20 | 20 | ||
| 21 | #include "config_common.h" | ||
| 21 | 22 | ||
| 22 | /* USB Device descriptor parameter */ | 23 | /* USB Device descriptor parameter */ |
| 23 | #define VENDOR_ID 0xFEED | 24 | #define VENDOR_ID 0xFEED |
| 24 | #define PRODUCT_ID 0x6060 | 25 | #define PRODUCT_ID 0x6060 |
| 25 | #define DEVICE_VER 0x0001 | 26 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER Ortholinear Keyboards | 27 | #define MANUFACTURER Ortholinear Keyboards |
| 27 | #define PRODUCT Atomic | 28 | #define PRODUCT The Atomic Keyboard |
| 28 | #define DESCRIPTION A compact ortholinear keyboard | 29 | #define DESCRIPTION A compact ortholinear keyboard |
| 29 | 30 | ||
| 30 | /* key matrix size */ | 31 | /* key matrix size */ |
| 31 | #define MATRIX_ROWS 5 | 32 | #define MATRIX_ROWS 5 |
| 32 | #define MATRIX_COLS 15 | 33 | #define MATRIX_COLS 15 |
| 33 | 34 | ||
| 35 | // Planck PCB default pin-out | ||
| 36 | // Change this to how you wired your keyboard | ||
| 37 | // COLS: Left to right, ROWS: Top to bottom | ||
| 38 | #define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } | ||
| 39 | #define ROWS (int []){ D0, D5, B5, B6, C6 } | ||
| 40 | |||
| 41 | /* COL2ROW or ROW2COL */ | ||
| 42 | #define DIODE_DIRECTION COL2ROW | ||
| 43 | |||
| 34 | /* define if matrix has ghost */ | 44 | /* define if matrix has ghost */ |
| 35 | //#define MATRIX_HAS_GHOST | 45 | //#define MATRIX_HAS_GHOST |
| 36 | 46 | ||
| 37 | /* number of backlight levels */ | 47 | /* number of backlight levels */ |
| 38 | /* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */ | 48 | /* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */ |
| 39 | #define BACKLIGHT_LEVELS 15 | 49 | #define BACKLIGHT_LEVELS 3 |
| 40 | 50 | ||
| 41 | /* Set 0 if debouncing isn't needed */ | 51 | /* Set 0 if debouncing isn't needed */ |
| 42 | #define DEBOUNCE 5 | 52 | #define DEBOUNCE 5 |
