aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ramonimbao/squishyfrl
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ramonimbao/squishyfrl')
-rw-r--r--keyboards/ramonimbao/squishyfrl/chconf.h24
-rw-r--r--keyboards/ramonimbao/squishyfrl/config.h157
-rw-r--r--keyboards/ramonimbao/squishyfrl/halconf.h23
-rw-r--r--keyboards/ramonimbao/squishyfrl/info.json254
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/default/keymap.c33
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/default/readme.md3
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/iso/keymap.c33
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/via/config.h20
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/via/keymap.c33
-rw-r--r--keyboards/ramonimbao/squishyfrl/keymaps/via/rules.mk1
-rw-r--r--keyboards/ramonimbao/squishyfrl/mcuconf.h24
-rw-r--r--keyboards/ramonimbao/squishyfrl/readme.md18
-rw-r--r--keyboards/ramonimbao/squishyfrl/rules.mk25
-rw-r--r--keyboards/ramonimbao/squishyfrl/squishyfrl.c17
-rw-r--r--keyboards/ramonimbao/squishyfrl/squishyfrl.h91
15 files changed, 756 insertions, 0 deletions
diff --git a/keyboards/ramonimbao/squishyfrl/chconf.h b/keyboards/ramonimbao/squishyfrl/chconf.h
new file mode 100644
index 000000000..ce018f56a
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/chconf.h
@@ -0,0 +1,24 @@
1/* Copyright 2020 QMK
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
18#pragma once
19
20#define CH_CFG_ST_TIMEDELTA 0
21
22#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
23
24#include_next <chconf.h>
diff --git a/keyboards/ramonimbao/squishyfrl/config.h b/keyboards/ramonimbao/squishyfrl/config.h
new file mode 100644
index 000000000..0c1d417b8
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/config.h
@@ -0,0 +1,157 @@
1/*
2Copyright 2021 Ramon Imbao
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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 0xB16B
24#define PRODUCT_ID 0x4BE5
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Ramon Imbao
27#define PRODUCT SquishyFRL
28
29/* key matrix size */
30#define MATRIX_ROWS 9
31#define MATRIX_COLS 21
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#define MATRIX_ROW_PINS { B9, B8, A0, A1, A9, A8, B11, A6, A5}
44#define MATRIX_COL_PINS { A7, C4, C5, B0, B1, B2, B10, B12, B13, B14, B15, C6, C9, C7, C8, A10, A4, C14, A3, A2, C3 }
45
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL */
49#define DIODE_DIRECTION COL2ROW
50
51/*
52 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
53 */
54#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
55
56//#define LED_NUM_LOCK_PIN B0
57//#define LED_CAPS_LOCK_PIN B1
58//#define LED_SCROLL_LOCK_PIN B2
59//#define LED_COMPOSE_PIN B3
60//#define LED_KANA_PIN B4
61
62//#define BACKLIGHT_PIN B7
63//#define BACKLIGHT_LEVELS 3
64//#define BACKLIGHT_BREATHING
65
66#define RGB_DI_PIN C15
67#ifdef RGB_DI_PIN
68# define RGBLED_NUM 16
69//# define RGBLIGHT_HUE_STEP 8
70//# define RGBLIGHT_SAT_STEP 8
71//# define RGBLIGHT_VAL_STEP 8
72//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
73//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
74/*== all animations enable ==*/
75# define RGBLIGHT_ANIMATIONS
76/*== or choose animations ==*/
77//# define RGBLIGHT_EFFECT_BREATHING
78//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
79//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
80//# define RGBLIGHT_EFFECT_SNAKE
81//# define RGBLIGHT_EFFECT_KNIGHT
82//# define RGBLIGHT_EFFECT_CHRISTMAS
83//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
84//# define RGBLIGHT_EFFECT_RGB_TEST
85//# define RGBLIGHT_EFFECT_ALTERNATING
86/*== customize breathing effect ==*/
87/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
88//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
89/*==== use exp() and sin() ====*/
90//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
91//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
92#endif
93
94/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
95#define DEBOUNCE 5
96
97/* define if matrix has ghost (lacks anti-ghosting diodes) */
98//#define MATRIX_HAS_GHOST
99
100/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
101#define LOCKING_SUPPORT_ENABLE
102/* Locking resynchronize hack */
103#define LOCKING_RESYNC_ENABLE
104
105/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
106 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
107 */
108//#define GRAVE_ESC_CTRL_OVERRIDE
109
110/*
111 * Force NKRO
112 *
113 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
114 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
115 * makefile for this to work.)
116 *
117 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
118 * until the next keyboard reset.
119 *
120 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
121 * fully operational during normal computer usage.
122 *
123 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
124 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
125 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
126 * power-up.
127 *
128 */
129//#define FORCE_NKRO
130
131/*
132 * Feature disable options
133 * These options are also useful to firmware size reduction.
134 */
135
136/* disable debug print */
137//#define NO_DEBUG
138
139/* disable print */
140//#define NO_PRINT
141
142/* disable action features */
143//#define NO_ACTION_LAYER
144//#define NO_ACTION_TAPPING
145//#define NO_ACTION_ONESHOT
146
147/* disable these deprecated features by default */
148#define NO_ACTION_MACRO
149#define NO_ACTION_FUNCTION
150
151/* Bootmagic Lite key configuration */
152//#define BOOTMAGIC_LITE_ROW 0
153//#define BOOTMAGIC_LITE_COLUMN 0
154
155/* QoL improvements */
156#define PERMISSIVE_HOLD
157#define IGNORE_MOD_TAP_INTERRUPT
diff --git a/keyboards/ramonimbao/squishyfrl/halconf.h b/keyboards/ramonimbao/squishyfrl/halconf.h
new file mode 100644
index 000000000..344e66379
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/halconf.h
@@ -0,0 +1,23 @@
1/* Copyright 2020 QMK
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#define HAL_USE_PWM TRUE
20
21#include_next <halconf.h>
22
23
diff --git a/keyboards/ramonimbao/squishyfrl/info.json b/keyboards/ramonimbao/squishyfrl/info.json
new file mode 100644
index 000000000..585bce495
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/info.json
@@ -0,0 +1,254 @@
1{
2 "keyboard_name": "SquishyTKL",
3 "url": "",
4 "maintainer": "Ramon Imbao",
5 "width": 18.25,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_ansi": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16 {"x":6, "y":0},
17 {"x":7, "y":0},
18 {"x":8, "y":0},
19 {"x":9, "y":0},
20 {"x":10, "y":0},
21 {"x":11, "y":0},
22 {"x":12, "y":0},
23 {"x":13, "y":0, "w":2},
24 {"x":15.25, "y":0},
25 {"x":16.25, "y":0},
26 {"x":17.25, "y":0},
27
28 {"x":0, "y":1, "w":1.5},
29 {"x":1.5, "y":1},
30 {"x":2.5, "y":1},
31 {"x":3.5, "y":1},
32 {"x":4.5, "y":1},
33 {"x":5.5, "y":1},
34 {"x":6.5, "y":1},
35 {"x":7.5, "y":1},
36 {"x":8.5, "y":1},
37 {"x":9.5, "y":1},
38 {"x":10.5, "y":1},
39 {"x":11.5, "y":1},
40 {"x":12.5, "y":1},
41 {"x":13.5, "y":1, "w":1.5},
42 {"x":15.25, "y":1},
43 {"x":16.25, "y":1},
44 {"x":17.25, "y":1},
45
46 {"x":0, "y":2, "w":1.75},
47 {"x":1.75, "y":2},
48 {"x":2.75, "y":2},
49 {"x":3.75, "y":2},
50 {"x":4.75, "y":2},
51 {"x":5.75, "y":2},
52 {"x":6.75, "y":2},
53 {"x":7.75, "y":2},
54 {"x":8.75, "y":2},
55 {"x":9.75, "y":2},
56 {"x":10.75, "y":2},
57 {"x":11.75, "y":2},
58 {"x":12.75, "y":2, "w":2.25},
59
60 {"x":0, "y":3, "w":2.25},
61 {"x":2.25, "y":3},
62 {"x":3.25, "y":3},
63 {"x":4.25, "y":3},
64 {"x":5.25, "y":3},
65 {"x":6.25, "y":3},
66 {"x":7.25, "y":3},
67 {"x":8.25, "y":3},
68 {"x":9.25, "y":3},
69 {"x":10.25, "y":3},
70 {"x":11.25, "y":3},
71 {"x":12.25, "y":3, "w":1.75},
72 {"x":14, "y":3}
73 {"x":16.25, "y":3},
74
75 {"x":0, "y":4, "w":1.25},
76 {"x":1.25, "y":4, "w":1.25},
77 {"x":2.5, "y":4, "w":1.25},
78 {"x":3.75, "y":4, "w":6.25},
79 {"x":10, "y":4, "w":1.25},
80 {"x":11.25, "y":4, "w":1.25},
81 {"x":12.5, "y":4, "w":1.25},
82 {"x":13.75, "y":4, "w":1.25},
83 {"x":15.25, "y":4},
84 {"x":16.25, "y":4},
85 {"x":17.25, "y":4}
86 ]
87 },
88 "LAYOUT_iso": {
89 "layout": [
90 {"x":0, "y":0},
91 {"x":1, "y":0},
92 {"x":2, "y":0},
93 {"x":3, "y":0},
94 {"x":4, "y":0},
95 {"x":5, "y":0},
96 {"x":6, "y":0},
97 {"x":7, "y":0},
98 {"x":8, "y":0},
99 {"x":9, "y":0},
100 {"x":10, "y":0},
101 {"x":11, "y":0},
102 {"x":12, "y":0},
103 {"x":13, "y":0, "w":2},
104 {"x":15.25, "y":0},
105 {"x":16.25, "y":0},
106 {"x":17.25, "y":0},
107
108 {"x":0, "y":1, "w":1.5},
109 {"x":1.5, "y":1},
110 {"x":2.5, "y":1},
111 {"x":3.5, "y":1},
112 {"x":4.5, "y":1},
113 {"x":5.5, "y":1},
114 {"x":6.5, "y":1},
115 {"x":7.5, "y":1},
116 {"x":8.5, "y":1},
117 {"x":9.5, "y":1},
118 {"x":10.5, "y":1},
119 {"x":11.5, "y":1},
120 {"x":12.5, "y":1},
121 {"x":15.25, "y":1},
122 {"x":16.25, "y":1},
123 {"x":17.25, "y":1},
124
125 {"x":0, "y":2, "w":1.75},
126 {"x":1.75, "y":2},
127 {"x":2.75, "y":2},
128 {"x":3.75, "y":2},
129 {"x":4.75, "y":2},
130 {"x":5.75, "y":2},
131 {"x":6.75, "y":2},
132 {"x":7.75, "y":2},
133 {"x":8.75, "y":2},
134 {"x":9.75, "y":2},
135 {"x":10.75, "y":2},
136 {"x":11.75, "y":2},
137 {"x":12.75, "y":2},
138 {"x":13.75, "y":1, "w":1.25, "h":2},
139
140 {"x":0, "y":3, "w":1.25},
141 {"x":1.25, "y":3},
142 {"x":2.25, "y":3},
143 {"x":3.25, "y":3},
144 {"x":4.25, "y":3},
145 {"x":5.25, "y":3},
146 {"x":6.25, "y":3},
147 {"x":7.25, "y":3},
148 {"x":8.25, "y":3},
149 {"x":9.25, "y":3},
150 {"x":10.25, "y":3},
151 {"x":11.25, "y":3},
152 {"x":12.25, "y":3, "w":1.75},
153 {"x":14, "y":3},
154 {"x":16.25, "y":3},
155
156 {"x":0, "y":4, "w":1.25},
157 {"x":1.25, "y":4, "w":1.25},
158 {"x":2.5, "y":4, "w":1.25},
159 {"x":3.75, "y":4, "w":6.25},
160 {"x":10, "y":4, "w":1.25},
161 {"x":11.25, "y":4, "w":1.25},
162 {"x":12.5, "y":4, "w":1.25},
163 {"x":13.75, "y":4, "w":1.25},
164 {"x":15.25, "y":4},
165 {"x":16.25, "y":4},
166 {"x":17.25, "y":4}
167 ]
168 },
169 "LAYOUT_all": {
170 "layout": [
171 {"x":0, "y":0},
172 {"x":1, "y":0},
173 {"x":2, "y":0},
174 {"x":3, "y":0},
175 {"x":4, "y":0},
176 {"x":5, "y":0},
177 {"x":6, "y":0},
178 {"x":7, "y":0},
179 {"x":8, "y":0},
180 {"x":9, "y":0},
181 {"x":10, "y":0},
182 {"x":11, "y":0},
183 {"x":12, "y":0},
184 {"x":13, "y":0},
185 {"x":14, "y":0},
186 {"x":15.25, "y":0},
187 {"x":16.25, "y":0},
188 {"x":17.25, "y":0},
189
190 {"x":0, "y":1, "w":1.5},
191 {"x":1.5, "y":1},
192 {"x":2.5, "y":1},
193 {"x":3.5, "y":1},
194 {"x":4.5, "y":1},
195 {"x":5.5, "y":1},
196 {"x":6.5, "y":1},
197 {"x":7.5, "y":1},
198 {"x":8.5, "y":1},
199 {"x":9.5, "y":1},
200 {"x":10.5, "y":1},
201 {"x":11.5, "y":1},
202 {"x":12.5, "y":1},
203 {"x":13.5, "y":1, "w":1.5},
204 {"x":15.25, "y":1},
205 {"x":16.25, "y":1},
206 {"x":17.25, "y":1},
207
208 {"x":0, "y":2, "w":1.75},
209 {"x":1.75, "y":2},
210 {"x":2.75, "y":2},
211 {"x":3.75, "y":2},
212 {"x":4.75, "y":2},
213 {"x":5.75, "y":2},
214 {"x":6.75, "y":2},
215 {"x":7.75, "y":2},
216 {"x":8.75, "y":2},
217 {"x":9.75, "y":2},
218 {"x":10.75, "y":2},
219 {"x":11.75, "y":2},
220 {"x":12.75, "y":2, "w":2.25},
221
222 {"x":0, "y":3, "w":1.25},
223 {"x":1.25, "y":3},
224 {"x":2.25, "y":3},
225 {"x":3.25, "y":3},
226 {"x":4.25, "y":3},
227 {"x":5.25, "y":3},
228 {"x":6.25, "y":3},
229 {"x":7.25, "y":3},
230 {"x":8.25, "y":3},
231 {"x":9.25, "y":3},
232 {"x":10.25, "y":3},
233 {"x":11.25, "y":3},
234 {"x":12.25, "y":3, "w":1.75},
235 {"x":14, "y":3},
236 {"x":16.25, "y":3},
237
238 {"x":0, "y":4, "w":1.25},
239 {"x":1.25, "y":4, "w":1.25},
240 {"x":2.5, "y":4, "w":1.25},
241 {"x":3.75, "y":4, "w":3},
242 {"x":6.75, "y":4},
243 {"x":7.75, "y":4, "w":2.25},
244 {"x":10, "y":4, "w":1.25},
245 {"x":11.25, "y":4, "w":1.25},
246 {"x":12.5, "y":4, "w":1.25},
247 {"x":13.75, "y":4, "w":1.25},
248 {"x":15.25, "y":4},
249 {"x":16.25, "y":4},
250 {"x":17.25, "y":4}
251 ]
252 }
253 }
254}
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/default/keymap.c b/keyboards/ramonimbao/squishyfrl/keymaps/default/keymap.c
new file mode 100644
index 000000000..c29df874c
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/default/keymap.c
@@ -0,0 +1,33 @@
1/* Copyright 2021 Ramon Imbao
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_ansi(
20 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_INS, KC_HOME, KC_PGUP,
21 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,
22 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,
23 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP,
24 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
25 ),
26 [1] = LAYOUT_ansi(
27 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
32 )
33};
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/default/readme.md b/keyboards/ramonimbao/squishyfrl/keymaps/default/readme.md
new file mode 100644
index 000000000..b20cf7436
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# The default keymap for SquishyTKL
2
3ANSI, 6.25u bottom row
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/iso/keymap.c b/keyboards/ramonimbao/squishyfrl/keymaps/iso/keymap.c
new file mode 100644
index 000000000..e6dc1c974
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/iso/keymap.c
@@ -0,0 +1,33 @@
1/* Copyright 2021 Ramon Imbao
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_iso(
20 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_INS, KC_HOME, KC_PGUP,
21 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_DEL, KC_END, KC_PGDN,
22 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_NUHS, KC_ENT,
23 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP,
24 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
25 ),
26 [1] = LAYOUT_iso(
27 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
32 )
33};
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/via/config.h b/keyboards/ramonimbao/squishyfrl/keymaps/via/config.h
new file mode 100644
index 000000000..c7cec8a9d
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/via/config.h
@@ -0,0 +1,20 @@
1/*
2Copyright 2021 Ramon Imbao
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#define DYNAMIC_KEYMAP_LAYER_COUNT 2
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/via/keymap.c b/keyboards/ramonimbao/squishyfrl/keymaps/via/keymap.c
new file mode 100644
index 000000000..e1158c2a2
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/via/keymap.c
@@ -0,0 +1,33 @@
1/* Copyright 2021 Ramon Imbao
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_all(
20 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_BSPC, KC_INS, KC_HOME, KC_PGUP,
21 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,
22 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,
23 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP,
24 KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_SPC, KC_NO, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
25 ),
26 [1] = LAYOUT_all(
27 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
32 ),
33};
diff --git a/keyboards/ramonimbao/squishyfrl/keymaps/via/rules.mk b/keyboards/ramonimbao/squishyfrl/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/ramonimbao/squishyfrl/mcuconf.h b/keyboards/ramonimbao/squishyfrl/mcuconf.h
new file mode 100644
index 000000000..b14bd32f8
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/mcuconf.h
@@ -0,0 +1,24 @@
1/* Copyright 2020 QMK
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_next <mcuconf.h>
18
19#undef STM32_PWM_USE_TIM2
20#define STM32_PWM_USE_TIM2 TRUE
21
22#undef STM32_SPI_USE_SPI2
23#define STM32_SPI_USE_SPI2 FALSE
24
diff --git a/keyboards/ramonimbao/squishyfrl/readme.md b/keyboards/ramonimbao/squishyfrl/readme.md
new file mode 100644
index 000000000..e1039d560
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/readme.md
@@ -0,0 +1,18 @@
1# SquishyFRL
2
3![SquishyFRL](https://i.imgur.com/UT7Pik3l.jpg)
4
5A stacked acrylic o-ring gasket mounted F-row-less TKL keyboard with a twist!
6
7* Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao)
8* Hardware Supported: STM32F103RB
9
10Make example for this keyboard (after setting up your build environment):
11
12 make ramonimbao/squishyfrl:via
13
14Flashing example for this keyboard:
15
16 dfu-util -d 1eaf:0003 -a 2 -D path/to/ramonimbao_squishyfrl_via.bin
17
18See 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/ramonimbao/squishyfrl/rules.mk b/keyboards/ramonimbao/squishyfrl/rules.mk
new file mode 100644
index 000000000..955c819c7
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = STM32F103
3
4# Bootloader selection
5BOOTLOADER = stm32duino
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23
24# Enter lower-power sleep mode when on the ChibiOS idle thread
25OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/ramonimbao/squishyfrl/squishyfrl.c b/keyboards/ramonimbao/squishyfrl/squishyfrl.c
new file mode 100644
index 000000000..db2a2ae93
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/squishyfrl.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Ramon Imbao
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 "squishyfrl.h"
diff --git a/keyboards/ramonimbao/squishyfrl/squishyfrl.h b/keyboards/ramonimbao/squishyfrl/squishyfrl.h
new file mode 100644
index 000000000..e98139da1
--- /dev/null
+++ b/keyboards/ramonimbao/squishyfrl/squishyfrl.h
@@ -0,0 +1,91 @@
1/* Copyright 2021 Ramon Imbao
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
30#define ___ KC_NO
31
32#define LAYOUT_ansi( \
33 k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, k4k, k4l, k4m, \
34 k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, k9j, k5k, k5l, k5m, \
35 ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, kai, \
36 kb5, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, kbi, kbj, k6l, \
37 kc5, kc6, kc7, kcd, kcf, kcg, kch, kci, k7k, k7l, k7m \
38) { \
39 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 */ \
40 /* 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k */ \
41 /* 0 | 0 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k4k, k4l, k4m, ___, ___, ___ }, \
42 /* 1 | 1 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k5k, k5l, k5m, ___, ___, ___ }, \
43 /* 2 | 2 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k6l, ___ }, \
44 /* 3 | 3 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k7k, k7l, k7m }, \
45 /* 4 | 4 */ { k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, ___, ___, ___, ___, ___, ___, ___ }, \
46 /* 5 | 5 */ { k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, ___, k9j, ___, ___, ___, ___, ___, ___ }, \
47 /* 6 | 6 */ { ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, ___, kai, ___, ___, ___, ___, ___, ___, ___ }, \
48 /* 7 | 7 */ { kb5, ___, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, ___, kbi, kbj, ___, ___, ___, ___, ___, ___ }, \
49 /* 8 | 8 */ { kc5, kc6, kc7, ___, ___, ___, ___, ___, kcd, ___, kcf, kcg, ___, kch, kci, ___, ___, ___, ___, ___, ___ }, \
50}
51
52#define LAYOUT_iso( \
53 k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, k4k, k4l, k4m, \
54 k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, k5k, k5l, k5m, \
55 ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, kai, k9j, \
56 kb5, kb6, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, kbi, kbj, k6l, \
57 kc5, kc6, kc7, kcd, kcf, kcg, kch, kci, k7k, k7l, k7m \
58) { \
59 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 */ \
60 /* 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k */ \
61 /* 0 | 0 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k4k, k4l, k4m, ___, ___, ___ }, \
62 /* 1 | 1 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k5k, k5l, k5m, ___, ___, ___ }, \
63 /* 2 | 2 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k6l, ___ }, \
64 /* 3 | 3 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k7k, k7l, k7m }, \
65 /* 4 | 4 */ { k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, ___, ___, ___, ___, ___, ___, ___ }, \
66 /* 5 | 5 */ { k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, ___, k9j, ___, ___, ___, ___, ___, ___ }, \
67 /* 6 | 6 */ { ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, ___, kai, ___, ___, ___, ___, ___, ___, ___ }, \
68 /* 7 | 7 */ { kb5, kb6, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, ___, kbi, kbj, ___, ___, ___, ___, ___, ___ }, \
69 /* 8 | 8 */ { kc5, kc6, kc7, ___, ___, ___, ___, ___, kcd, ___, kcf, kcg, ___, kch, kci, ___, ___, ___, ___, ___, ___ }, \
70}
71
72
73#define LAYOUT_all( \
74 k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, k8j, k4k, k4l, k4m, \
75 k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, k9j, k5k, k5l, k5m, \
76 ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, kai, \
77 kb5, kb6, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, kbi, kbj, k6l, \
78 kc5, kc6, kc7, kc8, kcd, kce, kcf, kcg, kch, kci, k7k, k7l, k7m \
79) { \
80 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 */ \
81 /* 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k */ \
82 /* 0 | 0 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k4k, k4l, k4m, ___, ___, ___ }, \
83 /* 1 | 1 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k5k, k5l, k5m, ___, ___, ___ }, \
84 /* 2 | 2 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k6l, ___ }, \
85 /* 3 | 3 */ { ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, k7k, k7l, k7m }, \
86 /* 4 | 4 */ { k85, k86, k87, k88, k89, k8a, k8b, k8c, k8d, k8e, k8f, k8g, k8h, k8i, k8j, ___, ___, ___, ___, ___, ___ }, \
87 /* 5 | 5 */ { k95, k96, k97, k98, k99, k9a, k9b, k9c, k9d, k9e, k9f, k9g, k9h, ___, k9j, ___, ___, ___, ___, ___, ___ }, \
88 /* 6 | 6 */ { ka5, ka6, ka7, ka8, ka9, kaa, kab, kac, kad, kae, kaf, kag, ___, kai, ___, ___, ___, ___, ___, ___, ___ }, \
89 /* 7 | 7 */ { kb5, kb6, kb7, kb8, kb9, kba, kbb, kbc, kbd, kbe, kbf, kbg, ___, kbi, kbj, ___, ___, ___, ___, ___, ___ }, \
90 /* 8 | 8 */ { kc5, kc6, kc7, kc8, ___, ___, ___, ___, kcd, kce, kcf, kcg, ___, kch, kci, ___, ___, ___, ___, ___, ___ }, \
91}