diff options
author | nibiria <72472777+nibiria@users.noreply.github.com> | 2021-01-17 12:03:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 09:03:53 -0800 |
commit | f0f61741368eaa7c27873cf4592ab36c66788022 (patch) | |
tree | 53eb897285ecf4f93ee3bada6d5be1a9e2d23aea /keyboards/nibiria/stream15/config.h | |
parent | d9785ec31339d7f80279fd3d1005f76689ed2f6a (diff) | |
download | qmk_firmware-f0f61741368eaa7c27873cf4592ab36c66788022.tar.gz qmk_firmware-f0f61741368eaa7c27873cf4592ab36c66788022.zip |
[Keyboard] add Stream15 keyboard (#11515)
* add keyboard Stream15
* committted changes as suggested by drashna
* committed further changes as suggested
* Update info.json
removed excessive comma
* Update keyboards/nibiria/stream15/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/nibiria/stream15/keymaps/via/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/nibiria/stream15/readme.md
Co-authored-by: Ryan <fauxpark@gmail.com>
* resolved 2 more issues
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/nibiria/stream15/config.h')
-rw-r--r-- | keyboards/nibiria/stream15/config.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/nibiria/stream15/config.h b/keyboards/nibiria/stream15/config.h new file mode 100644 index 000000000..a36ee9146 --- /dev/null +++ b/keyboards/nibiria/stream15/config.h | |||
@@ -0,0 +1,64 @@ | |||
1 | /* | ||
2 | Copyright 2021 Matt Clendaniel | ||
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 | #pragma once | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0x4E49 | ||
22 | #define PRODUCT_ID 0x0002 | ||
23 | #define DEVICE_VER 0x0001 | ||
24 | #define MANUFACTURER Nibiria | ||
25 | #define PRODUCT Stream15 | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 3 | ||
29 | #define MATRIX_COLS 5 | ||
30 | |||
31 | #define MATRIX_COL_PINS { A1, A2, B11, B12, B13 } | ||
32 | #define MATRIX_ROW_PINS { B10, B9, B8 } | ||
33 | #define DIODE_DIRECTION COL2ROW | ||
34 | |||
35 | |||
36 | |||
37 | /* define if matrix has ghost */ | ||
38 | //#define MATRIX_HAS_GHOST | ||
39 | |||
40 | /* Set 0 if debouncing isn't needed */ | ||
41 | #define DEBOUNCE 5 | ||
42 | |||
43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
44 | #define LOCKING_SUPPORT_ENABLE | ||
45 | /* Locking resynchronize hack */ | ||
46 | #define LOCKING_RESYNC_ENABLE | ||
47 | |||
48 | /* | ||
49 | * Feature disable options | ||
50 | * These options are also useful to firmware size reduction. | ||
51 | */ | ||
52 | |||
53 | /* disable debug print */ | ||
54 | //#define NO_DEBUG | ||
55 | |||
56 | /* disable print */ | ||
57 | //#define NO_PRINT | ||
58 | |||
59 | /* disable action features */ | ||
60 | //#define NO_ACTION_LAYER | ||
61 | //#define NO_ACTION_TAPPING | ||
62 | //#define NO_ACTION_ONESHOT | ||
63 | //#define NO_ACTION_MACRO | ||
64 | //#define NO_ACTION_FUNCTION | ||