aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Liu <74063834+Timliuzhaolu@users.noreply.github.com>2022-02-21 15:52:39 +0800
committerGitHub <noreply@github.com>2022-02-20 23:52:39 -0800
commitdeb0fe4bccb15cd28832928bab207ef1a16a2054 (patch)
treec5462d645642fde7bbd48199eb296656d47e1984
parent2e31f542dc7f42fa95d16cbe1250da4243b04ac3 (diff)
downloadqmk_firmware-deb0fe4bccb15cd28832928bab207ef1a16a2054.tar.gz
qmk_firmware-deb0fe4bccb15cd28832928bab207ef1a16a2054.zip
[Keyboard] Add glacier in creatkeebs folder (#16079)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/creatkeebs/glacier/config.h70
-rw-r--r--keyboards/creatkeebs/glacier/glacier.c17
-rw-r--r--keyboards/creatkeebs/glacier/glacier.h35
-rw-r--r--keyboards/creatkeebs/glacier/info.json98
-rw-r--r--keyboards/creatkeebs/glacier/keymaps/default/keymap.c31
-rw-r--r--keyboards/creatkeebs/glacier/readme.md27
-rw-r--r--keyboards/creatkeebs/glacier/rules.mk18
7 files changed, 296 insertions, 0 deletions
diff --git a/keyboards/creatkeebs/glacier/config.h b/keyboards/creatkeebs/glacier/config.h
new file mode 100644
index 000000000..0509365a0
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/config.h
@@ -0,0 +1,70 @@
1/* Copyright 2022 Tim (https://github.com/Timliuzhaolu)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0x6060
24#define DEVICE_VER 0x0001
25#define MANUFACTURER creatkeebs
26#define PRODUCT glacier
27
28/* key matrix size */
29#define MATRIX_ROWS 6
30#define MATRIX_COLS 17
31
32/* key matrix pins */
33#define MATRIX_ROW_PINS { F0, F1, F4, E6, F5, D0 }
34#define MATRIX_COL_PINS { D4, D6, D7, B4, B5, F6, B0, B6, C6, C7, B1, B2, B3, B7, D3, D2, D1 }
35#define UNUSED_PINS
36
37/* COL2ROW or ROW2COL */
38#define DIODE_DIRECTION COL2ROW
39
40/* number of backlight levels */
41
42#ifdef BACKLIGHT_PIN
43#define BACKLIGHT_LEVELS 0
44#endif
45
46/* Set 0 if debouncing isn't needed */
47#define DEBOUNCE 5
48
49/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
50#define LOCKING_SUPPORT_ENABLE
51
52/* Locking resynchronize hack */
53#define LOCKING_RESYNC_ENABLE
54
55#ifdef RGB_DI_PIN
56#define RGBLIGHT_EFFECT_BREATHING
57#define RGBLIGHT_EFFECT_RAINBOW_MOOD
58#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
59#define RGBLIGHT_EFFECT_SNAKE
60#define RGBLIGHT_EFFECT_KNIGHT
61#define RGBLIGHT_EFFECT_CHRISTMAS
62#define RGBLIGHT_EFFECT_STATIC_GRADIENT
63#define RGBLIGHT_EFFECT_RGB_TEST
64#define RGBLIGHT_EFFECT_ALTERNATING
65#define RGBLIGHT_EFFECT_TWINKLE
66#define RGBLED_NUM 0
67#define RGBLIGHT_HUE_STEP 8
68#define RGBLIGHT_SAT_STEP 8
69#define RGBLIGHT_VAL_STEP 8
70#endif
diff --git a/keyboards/creatkeebs/glacier/glacier.c b/keyboards/creatkeebs/glacier/glacier.c
new file mode 100644
index 000000000..27ff4d02c
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/glacier.c
@@ -0,0 +1,17 @@
1/* Copyright 2022 Tim (https://github.com/Timliuzhaolu)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "glacier.h"
diff --git a/keyboards/creatkeebs/glacier/glacier.h b/keyboards/creatkeebs/glacier/glacier.h
new file mode 100644
index 000000000..2dcf15fc9
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/glacier.h
@@ -0,0 +1,35 @@
1/* Copyright 2022 Tim (https://github.com/Timliuzhaolu)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, \
23 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, \
24 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K315, \
25 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, \
26 K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K413, K415, \
27 K500, K501, K502, K505, K510, K511, K513, K514, K515, K516 \
28) { \
29 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016 }, \
30 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 K115, K116 }, \
31 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 K215, K216 }, \
32 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, KC_NO KC_NO, KC_NO }, \
33 { K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, KC_NO, K413, KC_NO K415, KC_NO }, \
34 { K500, K501, K502, KC_NO, KC_NO, K505, KC_NO, KC_NO, KC_NO, KC_NO, K510, K511, KC_NO, K513, K514 K515, K516 } \
35}
diff --git a/keyboards/creatkeebs/glacier/info.json b/keyboards/creatkeebs/glacier/info.json
new file mode 100644
index 000000000..a22dabba0
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/info.json
@@ -0,0 +1,98 @@
1{
2 "keyboard_name": "glacier",
3 "url": "",
4 "maintainer": "Tim",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 {"x":0, "y":0},
9 {"x":1.25, "y":0},
10 {"x":2.25, "y":0},
11 {"x":3.25, "y":0},
12 {"x":4.25, "y":0},
13 {"x":5.5, "y":0},
14 {"x":6.5, "y":0},
15 {"x":7.5, "y":0},
16 {"x":8.5, "y":0},
17 {"x":9.75, "y":0},
18 {"x":10.75, "y":0},
19 {"x":11.75, "y":0},
20 {"x":12.75, "y":0},
21 {"x":14, "y":0},
22 {"x":15.25, "y":0},
23 {"x":16.25, "y":0},
24 {"x":17.25, "y":0},
25 {"x":0, "y":1.25},
26 {"x":1, "y":1.25},
27 {"x":2, "y":1.25},
28 {"x":3, "y":1.25},
29 {"x":4, "y":1.25},
30 {"x":5, "y":1.25},
31 {"x":6, "y":1.25},
32 {"x":7, "y":1.25},
33 {"x":8, "y":1.25},
34 {"x":9, "y":1.25},
35 {"x":10, "y":1.25},
36 {"x":11, "y":1.25},
37 {"x":12, "y":1.25},
38 {"x":13, "y":1.25, "w":2},
39 {"x":15.25, "y":1.25},
40 {"x":16.25, "y":1.25},
41 {"x":17.25, "y":1.25},
42 {"x":0, "y":2.25, "w":1.5},
43 {"x":1.5, "y":2.25},
44 {"x":2.5, "y":2.25},
45 {"x":3.5, "y":2.25},
46 {"x":4.5, "y":2.25},
47 {"x":5.5, "y":2.25},
48 {"x":6.5, "y":2.25},
49 {"x":7.5, "y":2.25},
50 {"x":8.5, "y":2.25},
51 {"x":9.5, "y":2.25},
52 {"x":10.5, "y":2.25},
53 {"x":11.5, "y":2.25},
54 {"x":12.5, "y":2.25},
55 {"x":13.5, "y":2.25, "w":1.5},
56 {"x":15.25, "y":2.25},
57 {"x":16.25, "y":2.25},
58 {"x":17.25, "y":2.25},
59 {"x":0, "y":3.25, "w":1.75},
60 {"x":1.75, "y":3.25},
61 {"x":2.75, "y":3.25},
62 {"x":3.75, "y":3.25},
63 {"x":4.75, "y":3.25},
64 {"x":5.75, "y":3.25},
65 {"x":6.75, "y":3.25},
66 {"x":7.75, "y":3.25},
67 {"x":8.75, "y":3.25},
68 {"x":9.75, "y":3.25},
69 {"x":10.75, "y":3.25},
70 {"x":11.75, "y":3.25},
71 {"x":12.75, "y":3.25, "w":2.25},
72 {"x":0, "y":4.25, "w":2.25},
73 {"x":2.25, "y":4.25},
74 {"x":3.25, "y":4.25},
75 {"x":4.25, "y":4.25},
76 {"x":5.25, "y":4.25},
77 {"x":6.25, "y":4.25},
78 {"x":7.25, "y":4.25},
79 {"x":8.25, "y":4.25},
80 {"x":9.25, "y":4.25},
81 {"x":10.25, "y":4.25},
82 {"x":11.25, "y":4.25},
83 {"x":12.25, "y":4.25, "w":2.75},
84 {"x":16.25, "y":4.25},
85 {"x":0, "y":5.25, "w":1.5},
86 {"x":1.5, "y":5.25},
87 {"x":2.5, "y":5.25, "w":1.5},
88 {"x":4, "y":5.25, "w":7},
89 {"x":11, "y":5.25, "w":1.5},
90 {"x":12.5, "y":5.25},
91 {"x":13.5, "y":5.25, "w":1.5},
92 {"x":15.25, "y":5.25},
93 {"x":16.25, "y":5.25},
94 {"x":17.25, "y":5.25}
95 ]
96 }
97 }
98}
diff --git a/keyboards/creatkeebs/glacier/keymaps/default/keymap.c b/keyboards/creatkeebs/glacier/keymaps/default/keymap.c
new file mode 100644
index 000000000..ee381e17c
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/keymaps/default/keymap.c
@@ -0,0 +1,31 @@
1 /* Copyright 2022 Tim
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21
22
23 [0] = LAYOUT(
24 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SLCK, KC_PAUS,
25 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
26 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
27 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
30 )
31};
diff --git a/keyboards/creatkeebs/glacier/readme.md b/keyboards/creatkeebs/glacier/readme.md
new file mode 100644
index 000000000..6901f93b2
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/readme.md
@@ -0,0 +1,27 @@
1# glacier
2A 80% keyboard
3
4![glacier](https://i.imgur.com/BeyreN1.png)
5
6### Features
7* PCB gasket
8* Nickel-cobalt weight
9
10### Additional Information
11* Keyboard Maintainer: [Tim](https://github.com/Timliuzhaolu/qmk_firmware)
12* Hardware Supported: glacier PCB
13* Hardware Availability: [ESCHIT.com](https://eschit.com/products/gb-thera75)
14
15### Entering Bootloader
16
17Enter the bootloader in 2 ways:
18
19* Physical reset button: Press the `RESET` button on the back of the PCB.
20* Keycode in layout: Press the key mapped to `RESET` if it is available.
21
22### Building the Firmware
23Make example for this keyboard (after setting up your build environment):
24
25 make creatkeebs/glacier:default
26
27See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/creatkeebs/glacier/rules.mk b/keyboards/creatkeebs/glacier/rules.mk
new file mode 100644
index 000000000..7c9fb9502
--- /dev/null
+++ b/keyboards/creatkeebs/glacier/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17AUDIO_ENABLE = no # Enable keyboard RGB underglow
18RGBLIGHT_ENABLE = no # Audio output