554b73643dc1bf8cd9b0a0fc6ad137753b2e4ffa
- Author
- Gavin Austin <37852683+vk2fgav@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/keyboards/roseslite/config.h b/keyboards/roseslite/config.h
2new file mode 100644
3index 0000000000000000000000000000000000000000..48e251e96d4a3a26c6b5e2ba822cce51bbe1980c
4--- /dev/null
5+++ b/keyboards/roseslite/config.h
6@@ -0,0 +1,131 @@
7+/*
8+Copyright 2019 Fate
9+
10+This program is free software: you can redistribute it and/or modify
11+it under the terms of the GNU General Public License as published by
12+the Free Software Foundation, either version 2 of the License, or
13+(at your option) any later version.
14+
15+This program is distributed in the hope that it will be useful,
16+but WITHOUT ANY WARRANTY; without even the implied warranty of
17+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+GNU General Public License for more details.
19+
20+You should have received a copy of the GNU General Public License
21+along with this program. If not, see <http://www.gnu.org/licenses/>.
22+*/
23+
24+#pragma once
25+
26+#include "config_common.h"
27+
28+/* USB Device descriptor parameter */
29+#define VENDOR_ID 0xDE17
30+#define PRODUCT_ID 0x0000
31+#define DEVICE_VER 0x0001
32+#define MANUFACTURER DeltaDesigns
33+#define PRODUCT roseslite
34+
35+/* key matrix size */
36+#define MATRIX_ROWS 5
37+#define MATRIX_COLS 15
38+
39+/*
40+ * Keyboard Matrix Assignments
41+ *
42+ * Change this to how you wired your keyboard
43+ * COLS: AVR pins used for columns, left to right
44+ * ROWS: AVR pins used for rows, top to bottom
45+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
46+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
47+ *
48+*/
49+#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
50+#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B0, B7, B5, B4, D7, D6, B3 }
51+#define UNUSED_PINS
52+
53+/* COL2ROW, ROW2COL*/
54+#define DIODE_DIRECTION COL2ROW
55+
56+// #define BACKLIGHT_PIN B7
57+// #define BACKLIGHT_BREATHING
58+// #define BACKLIGHT_LEVELS 3
59+
60+// #define RGB_DI_PIN E2
61+// #ifdef RGB_DI_PIN
62+// #define RGBLED_NUM 16
63+// #define RGBLIGHT_HUE_STEP 8
64+// #define RGBLIGHT_SAT_STEP 8
65+// #define RGBLIGHT_VAL_STEP 8
66+// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
67+// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
68+// /*== all animations enable ==*/
69+// #define RGBLIGHT_ANIMATIONS
70+// /*== or choose animations ==*/
71+// #define RGBLIGHT_EFFECT_BREATHING
72+// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
73+// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
74+// #define RGBLIGHT_EFFECT_SNAKE
75+// #define RGBLIGHT_EFFECT_KNIGHT
76+// #define RGBLIGHT_EFFECT_CHRISTMAS
77+// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
78+// #define RGBLIGHT_EFFECT_RGB_TEST
79+// #define RGBLIGHT_EFFECT_ALTERNATING
80+// #endif
81+
82+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
83+#define DEBOUNCE 5
84+
85+/* define if matrix has ghost (lacks anti-ghosting diodes) */
86+//#define MATRIX_HAS_GHOST
87+
88+/* number of backlight levels */
89+
90+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
91+#define LOCKING_SUPPORT_ENABLE
92+/* Locking resynchronize hack */
93+#define LOCKING_RESYNC_ENABLE
94+
95+/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
96+ * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
97+ */
98+// #define GRAVE_ESC_CTRL_OVERRIDE
99+
100+/*
101+ * Force NKRO
102+ *
103+ * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
104+ * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
105+ * makefile for this to work.)
106diff --git a/keyboards/roseslite/info.json b/keyboards/roseslite/info.json
107new file mode 100644
108index 0000000000000000000000000000000000000000..88a7ac25f387f915012351b0f67f7798aa199541
109--- /dev/null
110+++ b/keyboards/roseslite/info.json
111@@ -0,0 +1,100 @@
112+{
113+ "keyboard_name": "roses lite",
114+ "url": "delta-design.xyz",
115+ "maintainer": "Reason6/Vk2fgav",
116+ "width": 18,
117+ "height": 5,
118+ "layouts": {
119+ "LAYOUT": {
120+ "layout": [
121+ {"x": 0, "y": 0},
122+
123+ {"x": 1.5, "y": 0},
124+ {"x": 2.5, "y": 0},
125+ {"x": 3.5, "y": 0},
126+ {"x": 4.5, "y": 0},
127+ {"x": 5.5, "y": 0},
128+ {"x": 6.5, "y": 0},
129+ {"x": 7.5, "y": 0},
130+
131+ {"x": 10, "y": 0},
132+ {"x": 11, "y": 0},
133+ {"x": 12, "y": 0},
134+ {"x": 13, "y": 0},
135+ {"x": 14, "y": 0},
136+ {"x": 15, "y": 0},
137+ {"x": 16, "y": 0},
138+ {"x": 17, "y": 0},
139+
140+ {"x": 18.5, "y": 0},
141+
142+ {"x": 0, "y": 1},
143+
144+ {"x": 1.5, "y": 1, "w": 1.5},
145+ {"x": 3, "y": 1},
146+ {"x": 4, "y": 1},
147+ {"x": 5, "y": 1},
148+ {"x": 6, "y": 1},
149+ {"x": 7, "y": 1},
150+
151+ {"x": 9.5, "y": 1},
152+ {"x": 10.5, "y": 1},
153+ {"x": 11.5, "y": 1},
154+ {"x": 12.5, "y": 1},
155+ {"x": 13.5, "y": 1},
156+ {"x": 14.5, "y": 1},
157+ {"x": 15.5, "y": 1},
158+ {"x": 16.5, "y": 1, "w": 1.5},
159+
160+ {"x": 18.5, "y": 1},
161+
162+ {"x": 0, "y": 2},
163+
164+ {"x": 1.5, "y": 2, "w": 1.75},
165+ {"x": 3.25, "y": 2},
166+ {"x": 4.25, "y": 2},
167+ {"x": 5.25, "y": 2},
168+ {"x": 6.25, "y": 2},
169+ {"x": 7.25, "y": 2},
170+
171+ {"x": 9.75, "y": 2},
172+ {"x": 10.75, "y": 2},
173+ {"x": 11.75, "y": 2},
174+ {"x": 12.75, "y": 2},
175+ {"x": 13.75, "y": 2},
176+ {"x": 14.75, "y": 2},
177+ {"x": 15.75, "y": 2, "w": 2.25},
178+
179+ {"x": 18.5, "y": 2},
180+
181+ {"x": 1.5, "y": 3, "w": 2},
182+ {"x": 3.5, "y": 3},
183+ {"x": 4.5, "y": 3},
184+ {"x": 5.5, "y": 3},
185+ {"x": 6.5, "y": 3},
186+ {"x": 7.5, "y": 3},
187+
188+ {"x": 10.25, "y": 3},
189+ {"x": 11.25, "y": 3},
190+ {"x": 12.25, "y": 3},
191+ {"x": 13.25, "y": 3},
192+ {"x": 14.25, "y": 3},
193+ {"x": 15.25, "y": 3, "w": 1.75},
194+
195+ {"x": 17.5, "y": 3},
196+
197+ {"x": 1.5, "y": 4, "w": 1.25},
198+ {"x": 3.75, "y": 4, "w": 1.25},
199+ {"x": 5, "y": 4, "w": 2.75},
200+ {"x": 7.75, "y": 4},
201+
202+ {"x": 10.25, "y": 4, "w": 2.75},
203+ {"x": 13, "y": 4, "w": 1.25},
204+
205+ {"x": 16.5, "y": 4},
206+ {"x": 17.5, "y": 4},
207+ {"x": 18.5, "y": 4}
208+ ]
209+ }
210+ }
211diff --git a/keyboards/roseslite/keymaps/default/keymap.c b/keyboards/roseslite/keymaps/default/keymap.c
212new file mode 100644
213index 0000000000000000000000000000000000000000..0c224a7385f86a4076f63beb30f726fba081047b
214--- /dev/null
215+++ b/keyboards/roseslite/keymaps/default/keymap.c
216@@ -0,0 +1,34 @@
217+/* Copyright 2021 vk2fgav
218+ *
219+ * This program is free software: you can redistribute it and/or modify
220+ * it under the terms of the GNU General Public License as published by
221+ * the Free Software Foundation, either version 2 of the License, or
222+ * (at your option) any later version.
223+ *
224+ * This program is distributed in the hope that it will be useful,
225+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
226+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
227+ * GNU General Public License for more details.
228+ *
229+ * You should have received a copy of the GNU General Public License
230+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
231+ */
232+#include QMK_KEYBOARD_H
233+
234+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
235+ [0] = LAYOUT(
236+ KC_GESC, 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_BSLS, KC_GRV, KC_PGUP,
237+ 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_BSPC, KC_PGDN,
238+ 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, MO(1),
239+ 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,
240+ KC_HOME, KC_END, KC_INS, KC_RCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
241+ ),
242+
243+ [1] = LAYOUT(
244+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
245+ _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
246+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
247+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
248+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
249+ )
250+};
251diff --git a/keyboards/roseslite/keymaps/default/readme.md b/keyboards/roseslite/keymaps/default/readme.md
252new file mode 100644
253index 0000000000000000000000000000000000000000..6598b04bdc019ca0b0ee65298bf8437d2c54b297
254--- /dev/null
255+++ b/keyboards/roseslite/keymaps/default/readme.md
256@@ -0,0 +1 @@
257+# The default keymap for roses_lite
258diff --git a/keyboards/roseslite/keymaps/via/keymap.c b/keyboards/roseslite/keymaps/via/keymap.c
259new file mode 100644
260index 0000000000000000000000000000000000000000..a7a513e9b23af4c36227043c074c2cb9a37ced1e
261--- /dev/null
262+++ b/keyboards/roseslite/keymaps/via/keymap.c
263@@ -0,0 +1,49 @@
264+/* Copyright 2021 vk2fgav
265+ *
266+ * This program is free software: you can redistribute it and/or modify
267+ * it under the terms of the GNU General Public License as published by
268+ * the Free Software Foundation, either version 2 of the License, or
269+ * (at your option) any later version.
270+ *
271+ * This program is distributed in the hope that it will be useful,
272+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
273+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
274+ * GNU General Public License for more details.
275+ *
276+ * You should have received a copy of the GNU General Public License
277+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
278+ */
279+#include QMK_KEYBOARD_H
280+
281+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
282+ [0] = LAYOUT(
283+ KC_GESC, 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_BSLS, KC_GRV, KC_PGUP,
284+ 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_BSPC, KC_PGDN,
285+ 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, MO(1),
286+ 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,
287+ KC_HOME, KC_END, KC_INS, KC_RCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
288+ ),
289+
290+ [1] = LAYOUT(
291+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
292+ _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
293+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
294+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
295+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
296+ ),
297+
298+ [2] = LAYOUT(
299+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
300+ _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
301+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
302+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
303+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
304+ ),
305+ [3] = LAYOUT(
306+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
307+ _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
308+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
309+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
310+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
311+ )
312+};
313diff --git a/keyboards/roseslite/keymaps/via/rules.mk b/keyboards/roseslite/keymaps/via/rules.mk
314new file mode 100644
315index 0000000000000000000000000000000000000000..036bd6d1c3ecd0b7371df55b7c408fe3f20836ec
316--- /dev/null
317+++ b/keyboards/roseslite/keymaps/via/rules.mk
318@@ -0,0 +1 @@
319+VIA_ENABLE = yes
320diff --git a/keyboards/roseslite/readme.md b/keyboards/roseslite/readme.md
321new file mode 100644
322index 0000000000000000000000000000000000000000..02eb139678a62a3ed7ab2d7433cb1c26cddf2774
323--- /dev/null
324+++ b/keyboards/roseslite/readme.md
325@@ -0,0 +1,16 @@
326+# Roses Lite
327+
328+
329+* Keyboard Maintainer: [Reason6/Vk2fgav](https://github.com/vk2fgav)
330+* Hardware Supported: Roses Series
331+* Hardware Availability: [Shop](http://delta-design.xyz)
332+
333+Make example for this keyboard (after setting up your build environment):
334+
335+ make roseslite:default
336+
337+Flashing example for this keyboard:
338+
339+ make roseslite:default:flash
340+
341diff --git a/keyboards/roseslite/roseslite.c b/keyboards/roseslite/roseslite.c
342new file mode 100644
343index 0000000000000000000000000000000000000000..fa3a93fed732e5d8c9001b3369bc8ff75babb401
344--- /dev/null
345+++ b/keyboards/roseslite/roseslite.c
346@@ -0,0 +1,16 @@
347+/* Copyright 2019 Fate
348+ *
349+ * This program is free software: you can redistribute it and/or modify
350+ * it under the terms of the GNU General Public License as published by
351+ * the Free Software Foundation, either version 2 of the License, or
352+ * (at your option) any later version.
353+ *
354+ * This program is distributed in the hope that it will be useful,
355+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
356+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
357+ * GNU General Public License for more details.
358+ *
359+ * You should have received a copy of the GNU General Public License
360+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
361+ */
362+#include "roseslite.h"
363diff --git a/keyboards/roseslite/roseslite.h b/keyboards/roseslite/roseslite.h
364new file mode 100644
365index 0000000000000000000000000000000000000000..78340d9aa28e5a236f896633b527c0d69e3b8ed9
366--- /dev/null
367+++ b/keyboards/roseslite/roseslite.h
368@@ -0,0 +1,42 @@
369+/* Copyright 2021 vk2fgav
370+ *
371+ * This program is free software: you can redistribute it and/or modify
372+ * it under the terms of the GNU General Public License as published by
373+ * the Free Software Foundation, either version 2 of the License, or
374+ * (at your option) any later version.
375+ *
376+ * This program is distributed in the hope that it will be useful,
377+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
378+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
379+ * GNU General Public License for more details.
380+ *
381+ * You should have received a copy of the GNU General Public License
382+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
383+ */
384+#pragma once
385+
386+#include "quantum.h"
387+
388+/* This a shortcut to help you visually see your layout.
389+ *
390+ * The first section contains all of the arguments representing the physical
391+ * layout of the board and position of the keys.
392+ *
393+ * The second converts the arguments into a two-dimensional array which
394+ * represents the switch matrix.
395+ */
396+#define XXX KC_NO
397+#define LAYOUT( \
398+ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k1E, \
399+ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k2E, \
400+ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k3E, \
401+ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3D, \
402+ k40, k41, k42, k45, k47, k48, k49, k4A, k4B, k4C, k4D, k4E \
403+) \
404+{ \
405+ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
406+ { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \
407+ { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, XXX, k2E }, \
408+ { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, XXX, k3D, k3E }, \
409+ { k40, k41, k42, XXX, XXX, k45, XXX, k47, k48, k49, k4A, k4B, k4C, k4D, k4E} \
410+}
411diff --git a/keyboards/roseslite/rules.mk b/keyboards/roseslite/rules.mk
412new file mode 100644
413index 0000000000000000000000000000000000000000..32981133b2eb32a12b73c3fc2c78d97c401c24db
414--- /dev/null
415+++ b/keyboards/roseslite/rules.mk
416@@ -0,0 +1,22 @@
417+# MCU name
418+MCU = atmega32u4
419+
420+# Bootloader selection
421+BOOTLOADER = atmel-dfu
422+
423+# Build Options
424+# change yes to no to disable
425+#
426+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
427+MOUSEKEY_ENABLE = yes # Mouse keys
428+EXTRAKEY_ENABLE = yes # Audio control and System control
429+CONSOLE_ENABLE = no # Console for debug
430+COMMAND_ENABLE = no # Commands for debug and configuration
431+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
432+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
433+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
434+NKRO_ENABLE = yes # USB Nkey Rollover
435+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
436+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
437+BLUETOOTH_ENABLE = no # Enable Bluetooth
438+AUDIO_ENABLE = no # Audio output