diff options
| author | ishtob <ishtob@gmail.com> | 2017-07-11 13:53:50 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-11 13:53:50 -0400 |
| commit | cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3 (patch) | |
| tree | 1995e0fdfc41de938723752478eb6d45c2f7b2c3 /keyboards/hadron/config.h | |
| parent | 886af3250722f0aac2a8d37771ef8fe6b937f4cb (diff) | |
| download | qmk_firmware-cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3.tar.gz qmk_firmware-cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3.zip | |
Adds Hadron Keyboard (#1492)
* adding hadron keymaps
* fix embedded comment
* fixed TWI driver path
* Delete glcdfont.c
* Delete ssd1306.c
* Delete ssd1306.h
* Update readme.md
Diffstat (limited to 'keyboards/hadron/config.h')
| -rw-r--r-- | keyboards/hadron/config.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/hadron/config.h b/keyboards/hadron/config.h new file mode 100644 index 000000000..0c19d6c79 --- /dev/null +++ b/keyboards/hadron/config.h | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 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 | |||
| 18 | #ifndef CONFIG_H | ||
| 19 | #define CONFIG_H | ||
| 20 | |||
| 21 | #include "config_common.h" | ||
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0xFEED | ||
| 25 | #define PRODUCT_ID 0x6060 | ||
| 26 | #define MANUFACTURER ishtob | ||
| 27 | #define PRODUCT Hadron Keyboard | ||
| 28 | #define DESCRIPTION A cherry ML ortholinear keyboard | ||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | //#define AUDIO_VOICES | ||
| 34 | |||
| 35 | //#define BACKLIGHT_PIN B7 | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | /* define if matrix has ghost */ | ||
| 41 | //#define MATRIX_HAS_GHOST | ||
| 42 | |||
| 43 | /* number of backlight levels */ | ||
| 44 | //#define BACKLIGHT_LEVELS 3 | ||
| 45 | |||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCING_DELAY 5 | ||
| 48 | |||
| 49 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 50 | #define LOCKING_SUPPORT_ENABLE | ||
| 51 | /* Locking resynchronize hack */ | ||
| 52 | #define LOCKING_RESYNC_ENABLE | ||
| 53 | |||
| 54 | /* key combination for command */ | ||
| 55 | #define IS_COMMAND() ( \ | ||
| 56 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
| 57 | ) | ||
| 58 | |||
| 59 | /* | ||
| 60 | * Feature disable options | ||
| 61 | * These options are also useful to firmware size reduction. | ||
| 62 | */ | ||
| 63 | |||
| 64 | /* disable debug print */ | ||
| 65 | //#define NO_DEBUG | ||
| 66 | |||
| 67 | /* disable print */ | ||
| 68 | //#define NO_PRINT | ||
| 69 | |||
| 70 | /* disable action features */ | ||
| 71 | //#define NO_ACTION_LAYER | ||
| 72 | //#define NO_ACTION_TAPPING | ||
| 73 | //#define NO_ACTION_ONESHOT | ||
| 74 | //#define NO_ACTION_MACRO | ||
| 75 | //#define NO_ACTION_FUNCTION | ||
| 76 | #ifdef SUBPROJECT_ver0 | ||
| 77 | #include "ver0/config.h" | ||
| 78 | #endif | ||
| 79 | #ifdef SUBPROJECT_ver2 | ||
| 80 | #include "ver2/config.h" | ||
| 81 | #endif | ||
| 82 | |||
| 83 | #endif | ||
