diff options
| author | farmakon <andreabrando@gmail.com> | 2017-12-10 20:44:04 +0100 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-10 14:44:04 -0500 |
| commit | d9983082c2c92bc7d612cb50297d0f61854d3c36 (patch) | |
| tree | 61196fb6529890ce858221fd0ff913576efb8dd4 /keyboards/gh80_3000/config.h | |
| parent | 41d5d3e6558d2b25680a66ba79e12bd9f1577328 (diff) | |
| download | qmk_firmware-d9983082c2c92bc7d612cb50297d0f61854d3c36.tar.gz qmk_firmware-d9983082c2c92bc7d612cb50297d0f61854d3c36.zip | |
adds the gh80_3000 project (#2132)
Diffstat (limited to 'keyboards/gh80_3000/config.h')
| -rw-r--r-- | keyboards/gh80_3000/config.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/gh80_3000/config.h b/keyboards/gh80_3000/config.h new file mode 100644 index 000000000..83d30129a --- /dev/null +++ b/keyboards/gh80_3000/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | #ifndef CONFIG_H | ||
| 2 | #define CONFIG_H | ||
| 3 | |||
| 4 | #include "config_common.h" | ||
| 5 | |||
| 6 | /* USB Device descriptor parameter */ | ||
| 7 | #define VENDOR_ID 0xFEED | ||
| 8 | #define PRODUCT_ID 0x3000 | ||
| 9 | #define DEVICE_VER 0x0001 | ||
| 10 | #define MANUFACTURER farmakon | ||
| 11 | #define PRODUCT GH80-3000 | ||
| 12 | #define DESCRIPTION GH80-3000 Mechanical Keyboard | ||
| 13 | |||
| 14 | /* key matrix size */ | ||
| 15 | #define MATRIX_ROWS 11 | ||
| 16 | #define MATRIX_COLS 11 | ||
| 17 | |||
| 18 | /* key matrix pins */ | ||
| 19 | #define MATRIX_ROW_PINS { F4, F1, F0, F5, F6, F7, D4, D5, D3, D2, D0 } | ||
| 20 | #define MATRIX_COL_PINS { C7, C6, B4, D7, B3, B2, B0, E6, B1, D1, D6 } | ||
| 21 | #define UNUSED_PINS | ||
| 22 | |||
| 23 | /* COL2ROW or ROW2COL */ | ||
| 24 | #define DIODE_DIRECTION COL2ROW | ||
| 25 | |||
| 26 | /* number of backlight levels */ | ||
| 27 | |||
| 28 | #ifdef BACKLIGHT_PIN | ||
| 29 | #define BACKLIGHT_LEVELS 0 | ||
| 30 | #endif | ||
| 31 | |||
| 32 | /* Set 0 if debouncing isn't needed */ | ||
| 33 | #define DEBOUNCING_DELAY 5 | ||
| 34 | |||
| 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 36 | #define LOCKING_SUPPORT_ENABLE | ||
| 37 | |||
| 38 | /* Locking resynchronize hack */ | ||
| 39 | #define LOCKING_RESYNC_ENABLE | ||
| 40 | |||
| 41 | /* key combination for command */ | ||
| 42 | #define IS_COMMAND() ( \ | ||
| 43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
| 44 | ) | ||
| 45 | |||
| 46 | /* prevent stuck modifiers */ | ||
| 47 | #define PREVENT_STUCK_MODIFIERS | ||
| 48 | |||
| 49 | |||
| 50 | #ifdef RGB_DI_PIN | ||
| 51 | #define RGBLIGHT_ANIMATIONS | ||
| 52 | #define RGBLED_NUM 0 | ||
| 53 | #define RGBLIGHT_HUE_STEP 8 | ||
| 54 | #define RGBLIGHT_SAT_STEP 8 | ||
| 55 | #define RGBLIGHT_VAL_STEP 8 | ||
| 56 | #endif | ||
| 57 | |||
| 58 | #endif \ No newline at end of file | ||
