diff options
-rw-r--r-- | keyboards/iriskeyboards/config.h | 154 | ||||
-rw-r--r-- | keyboards/iriskeyboards/info.json | 17 | ||||
-rw-r--r-- | keyboards/iriskeyboards/iriskeyboards.c | 17 | ||||
-rw-r--r-- | keyboards/iriskeyboards/iriskeyboards.h | 45 | ||||
-rw-r--r-- | keyboards/iriskeyboards/keymaps/default/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/iriskeyboards/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/iriskeyboards/keymaps/via/keymap.c | 65 | ||||
-rw-r--r-- | keyboards/iriskeyboards/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/iriskeyboards/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/iriskeyboards/readme.md | 21 | ||||
-rw-r--r-- | keyboards/iriskeyboards/rules.mk | 22 |
11 files changed, 393 insertions, 0 deletions
diff --git a/keyboards/iriskeyboards/config.h b/keyboards/iriskeyboards/config.h new file mode 100644 index 000000000..77aedd69f --- /dev/null +++ b/keyboards/iriskeyboards/config.h | |||
@@ -0,0 +1,154 @@ | |||
1 | /* | ||
2 | Copyright 2021 SonOfAres | ||
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 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x494B // IK (IrisKeyboards) | ||
24 | #define PRODUCT_ID 0x3031 // 01 (PCB no.01) | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER SonOfAres | ||
27 | #define PRODUCT IrisRev0 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 14 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | |||
44 | // 0 1 2 3 4 5 6 7 8 9 A B C D | ||
45 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | ||
46 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, D4, D6, D7, B4, B5, B6, C6, C7, F7 } | ||
47 | #define UNUSED_PINS | ||
48 | |||
49 | /* COL2ROW, ROW2COL */ | ||
50 | #define DIODE_DIRECTION COL2ROW | ||
51 | |||
52 | /* | ||
53 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
54 | */ | ||
55 | #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
56 | |||
57 | //#define LED_NUM_LOCK_PIN B0 | ||
58 | //#define LED_CAPS_LOCK_PIN B1 | ||
59 | //#define LED_SCROLL_LOCK_PIN B2 | ||
60 | //#define LED_COMPOSE_PIN B3 | ||
61 | //#define LED_KANA_PIN B4 | ||
62 | |||
63 | //#define BACKLIGHT_PIN B7 | ||
64 | //#define BACKLIGHT_LEVELS 3 | ||
65 | //#define BACKLIGHT_BREATHING | ||
66 | |||
67 | //#define RGB_DI_PIN E2 | ||
68 | //#ifdef RGB_DI_PIN | ||
69 | //# define RGBLED_NUM 16 | ||
70 | //# define RGBLIGHT_HUE_STEP 8 | ||
71 | //# define RGBLIGHT_SAT_STEP 8 | ||
72 | //# define RGBLIGHT_VAL_STEP 8 | ||
73 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
74 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
75 | /*== all animations enable ==*/ | ||
76 | //# define RGBLIGHT_ANIMATIONS | ||
77 | /*== or choose animations ==*/ | ||
78 | //# define RGBLIGHT_EFFECT_BREATHING | ||
79 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
80 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
81 | //# define RGBLIGHT_EFFECT_SNAKE | ||
82 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
83 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
84 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
85 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
86 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
87 | /*== customize breathing effect ==*/ | ||
88 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
89 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
90 | /*==== use exp() and sin() ====*/ | ||
91 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
92 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
93 | //#endif | ||
94 | |||
95 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
96 | #define DEBOUNCE 5 | ||
97 | |||
98 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
99 | //#define MATRIX_HAS_GHOST | ||
100 | |||
101 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
102 | #define LOCKING_SUPPORT_ENABLE | ||
103 | /* Locking resynchronize hack */ | ||
104 | #define LOCKING_RESYNC_ENABLE | ||
105 | |||
106 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
107 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
108 | */ | ||
109 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
110 | |||
111 | /* | ||
112 | * Force NKRO | ||
113 | * | ||
114 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
115 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
116 | * makefile for this to work.) | ||
117 | * | ||
118 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
119 | * until the next keyboard reset. | ||
120 | * | ||
121 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
122 | * fully operational during normal computer usage. | ||
123 | * | ||
124 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
125 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
126 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
127 | * power-up. | ||
128 | * | ||
129 | */ | ||
130 | //#define FORCE_NKRO | ||
131 | |||
132 | /* | ||
133 | * Feature disable options | ||
134 | * These options are also useful to firmware size reduction. | ||
135 | */ | ||
136 | |||
137 | /* disable debug print */ | ||
138 | //#define NO_DEBUG | ||
139 | |||
140 | /* disable print */ | ||
141 | //#define NO_PRINT | ||
142 | |||
143 | /* disable action features */ | ||
144 | //#define NO_ACTION_LAYER | ||
145 | //#define NO_ACTION_TAPPING | ||
146 | //#define NO_ACTION_ONESHOT | ||
147 | |||
148 | /* disable these deprecated features by default */ | ||
149 | #define NO_ACTION_MACRO | ||
150 | #define NO_ACTION_FUNCTION | ||
151 | |||
152 | /* Bootmagic Lite key configuration */ | ||
153 | //#define BOOTMAGIC_LITE_ROW 0 | ||
154 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/iriskeyboards/info.json b/keyboards/iriskeyboards/info.json new file mode 100644 index 000000000..2d64cb071 --- /dev/null +++ b/keyboards/iriskeyboards/info.json | |||
@@ -0,0 +1,17 @@ | |||
1 | { | ||
2 | "keyboard_name": "iriskeyboards", | ||
3 | "url": "", | ||
4 | "maintainer": "SonOfAres", | ||
5 | "width": 14, | ||
6 | "height": 5, | ||
7 | "layouts": { | ||
8 | "LAYOUT_all": { | ||
9 | "layout": [ | ||
10 | {"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"~", "x":13, "y":0}, {"label":"Del", "x":14, "y":0}, | ||
11 | {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
12 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
13 | {"label":"Shift", "x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"Fn", "x":14, "y":3}, | ||
14 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}] | ||
15 | } | ||
16 | } | ||
17 | } | ||
diff --git a/keyboards/iriskeyboards/iriskeyboards.c b/keyboards/iriskeyboards/iriskeyboards.c new file mode 100644 index 000000000..bee448866 --- /dev/null +++ b/keyboards/iriskeyboards/iriskeyboards.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 SonOfAres | ||
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 "iriskeyboards.h" | ||
diff --git a/keyboards/iriskeyboards/iriskeyboards.h b/keyboards/iriskeyboards/iriskeyboards.h new file mode 100644 index 000000000..6aea39edc --- /dev/null +++ b/keyboards/iriskeyboards/iriskeyboards.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* Copyright 2021 SonOfAres | ||
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 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define ___ KC_NO | ||
30 | |||
31 | #define LAYOUT_all( \ | ||
32 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k2d, \ | ||
33 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
34 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
35 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
36 | k40, k41, k42, k46, k4a, k4b, k4c, k4d \ | ||
37 | ) \ | ||
38 | { \ | ||
39 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
40 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
41 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d }, \ | ||
42 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d }, \ | ||
43 | { k40, k41, k42, ___, ___, ___, k46, ___, ___, ___, k4a, k4b, k4c, k4d } \ | ||
44 | } | ||
45 | |||
diff --git a/keyboards/iriskeyboards/keymaps/default/keymap.c b/keyboards/iriskeyboards/keymaps/default/keymap.c new file mode 100644 index 000000000..918fb6f18 --- /dev/null +++ b/keyboards/iriskeyboards/keymaps/default/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2021 SonOfAres | ||
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 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* | ||
20 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┬───┐ | ||
21 | * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bspc│del│ | ||
22 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──┴───┤ | ||
23 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │ | ||
24 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┤ | ||
25 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ | ||
26 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬────┤ | ||
27 | * │LSft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSft │ fn │ | ||
28 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴────┤ | ||
29 | * │Ctrl│GUI │Alt │ │ Alt│ GUI│Menu│Ctrl │ | ||
30 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴─────┘ | ||
31 | */ | ||
32 | |||
33 | [0] = LAYOUT_all( | ||
34 | KC_ESC, 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_DELETE, | ||
35 | 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, | ||
36 | 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, | ||
37 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
39 | ), | ||
40 | |||
41 | [1] = LAYOUT_all( | ||
42 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ), | ||
48 | }; | ||
diff --git a/keyboards/iriskeyboards/keymaps/default/readme.md b/keyboards/iriskeyboards/keymaps/default/readme.md new file mode 100644 index 000000000..fe7026dbe --- /dev/null +++ b/keyboards/iriskeyboards/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for iriskeyboards | |||
diff --git a/keyboards/iriskeyboards/keymaps/via/keymap.c b/keyboards/iriskeyboards/keymaps/via/keymap.c new file mode 100644 index 000000000..c23af9a9b --- /dev/null +++ b/keyboards/iriskeyboards/keymaps/via/keymap.c | |||
@@ -0,0 +1,65 @@ | |||
1 | /* Copyright 2021 SonOfAres | ||
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 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* | ||
20 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┬───┐ | ||
21 | * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bspc│del│ | ||
22 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──┴───┤ | ||
23 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │ | ||
24 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┤ | ||
25 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ | ||
26 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬────┤ | ||
27 | * │LSft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSft │ fn │ | ||
28 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴────┤ | ||
29 | * │Ctrl│GUI │Alt │ │ Alt│ GUI│Menu│Ctrl │ | ||
30 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴─────┘ | ||
31 | */ | ||
32 | |||
33 | [0] = LAYOUT_all( | ||
34 | KC_ESC, 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_DELETE, | ||
35 | 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, | ||
36 | 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, | ||
37 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
39 | ), | ||
40 | |||
41 | [1] = LAYOUT_all( | ||
42 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ), | ||
48 | |||
49 | [2] = LAYOUT_all( | ||
50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
55 | ), | ||
56 | |||
57 | [3] = LAYOUT_all( | ||
58 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
61 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
63 | ), | ||
64 | |||
65 | }; \ No newline at end of file | ||
diff --git a/keyboards/iriskeyboards/keymaps/via/readme.md b/keyboards/iriskeyboards/keymaps/via/readme.md new file mode 100644 index 000000000..fe7026dbe --- /dev/null +++ b/keyboards/iriskeyboards/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for iriskeyboards | |||
diff --git a/keyboards/iriskeyboards/keymaps/via/rules.mk b/keyboards/iriskeyboards/keymaps/via/rules.mk new file mode 100644 index 000000000..43061db1d --- /dev/null +++ b/keyboards/iriskeyboards/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/iriskeyboards/readme.md b/keyboards/iriskeyboards/readme.md new file mode 100644 index 000000000..615978f25 --- /dev/null +++ b/keyboards/iriskeyboards/readme.md | |||
@@ -0,0 +1,21 @@ | |||
1 | # iriskeyboards | ||
2 | |||
3 |  | ||
4 | |||
5 | Iris Rev0 is an experimental keyboard with a unique gasket-style mounting option which offers a different kind of feel, as typical PORON and rubber gaskets are much harder. | ||
6 | |||
7 | A few different layouts are supported such as 7u bottom row, ISO support, split backspace and right-shift. | ||
8 | |||
9 | * Keyboard Maintainer: [SonOfAres](https://github.com/SonOfAres) | ||
10 | * Hardware Supported: All Iris Rev0.XX PCBs | ||
11 | * Hardware Availability: [iriskeyboards.com](https://www.iriskeyboards.com/en) Currently unavailable - still in testing | ||
12 | |||
13 | Make example for this keyboard (after setting up your build environment): | ||
14 | |||
15 | make iriskeyboards:default | ||
16 | |||
17 | Flashing example for this keyboard: | ||
18 | |||
19 | make iriskeyboards:default:flash | ||
20 | |||
21 | See 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/iriskeyboards/rules.mk b/keyboards/iriskeyboards/rules.mk new file mode 100644 index 000000000..5c0d8f307 --- /dev/null +++ b/keyboards/iriskeyboards/rules.mk | |||
@@ -0,0 +1,22 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
22 | AUDIO_ENABLE = no # Audio output | ||