diff options
author | Lukas Alexandre <the.lukelex@gmail.com> | 2019-12-12 20:45:56 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-12-12 11:45:56 -0800 |
commit | df78593b1ba800223c049f3f61df6ad4bf4abe7c (patch) | |
tree | d3fda1a12d9df27826e58de0898b1c9523d4af86 /keyboards/gami_studio/lex60/config.h | |
parent | 45e71aedf030d80e62c491c4a906fdf88ccaec0c (diff) | |
download | qmk_firmware-df78593b1ba800223c049f3f61df6ad4bf4abe7c.tar.gz |
[Keyboard] Added Lex60 keyboard (#7600)
Diffstat (limited to 'keyboards/gami_studio/lex60/config.h')
-rw-r--r-- | keyboards/gami_studio/lex60/config.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/keyboards/gami_studio/lex60/config.h b/keyboards/gami_studio/lex60/config.h new file mode 100644 index 000000000..8a038ccce --- /dev/null +++ b/keyboards/gami_studio/lex60/config.h @@ -0,0 +1,53 @@ +/* +Copyright 2019 Maarten Dekkers <maartenwut@gmail.com> + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x7353 +#define PRODUCT_ID 0x0160 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Maartenwut +#define PRODUCT Lex60 +#define DESCRIPTION A 60% PCB + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 15 + +// ROWS: Top to bottom, COLS: Left to right + +#define MATRIX_ROW_PINS {D5,D4,B0,D2,D3} +#define MATRIX_COL_PINS {B7,F7,C7,E6,C6,F0,B6,F1,B5,F4,B4,F5,D7,F6,D6} + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + +#define QMK_ESC_OUTPUT B7 // usually COL +#define QMK_ESC_INPUT D5 // usually ROW + +#define RGB_DI_PIN D1 +#define RGBLED_NUM 12 +#define RGBLIGHT_ANIMATIONS |