Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
patcoll committed Mar 20, 2024
1 parent 08ab772 commit c74ed37
Show file tree
Hide file tree
Showing 26 changed files with 1,639 additions and 14 deletions.
22 changes: 16 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,28 @@ haitun2040: | qmk
mkdir -p ${QMK_HOME}/keyboards/haitun2040
rsync -avz firmware/haitun2040/ ${QMK_HOME}/keyboards/haitun2040/

.PHONY: haitun40
haitun40: | qmk
mkdir -p ${QMK_HOME}/keyboards/haitun40
rsync -avz firmware/haitun40/ ${QMK_HOME}/keyboards/haitun40/

.PHONY: infernum
haitun40: | qmk
mkdir -p ${QMK_HOME}/keyboards/infernum
rsync -avz firmware/infernum/ ${QMK_HOME}/keyboards/infernum/

.PHONY: cool536lc
cool536lc: | qmk
mkdir -p ${QMK_HOME}/keyboards/cool536lc
rsync -avz firmware/cool536lc/ ${QMK_HOME}/keyboards/cool536lc/

.PHONY: qezberry
qezberry: | qmk
mkdir -p ${QMK_HOME}/keyboards/qezberry
rsync -avz firmware/qezberry/ ${QMK_HOME}/keyboards/qezberry/

.PHONY: oc3anograph3r
oc3anograph3r: | qmk
mkdir -p ${QMK_HOME}/keyboards/oc3anograph3r
rsync -avz firmware/oc3anograph3r/ ${QMK_HOME}/keyboards/oc3anograph3r/

.PHONY: firmware
firmware: | twoyo-default minisub-default kawaii-default relic-default caravan2 menhir agony piedmont oxymoron ca66r3 curio alphalpha-plus 45_ats_hot plop embrace apricot sst60 orbital m0ii040pcb cutiepie paintbrush_avr bully monorail monorail2 cisne 3999 bully2040 grouper c11 serendipity haitun2040 haitun40 infernum
firmware: | twoyo-default minisub-default kawaii-default relic-default caravan2 menhir agony piedmont oxymoron ca66r3 curio alphalpha-plus 45_ats_hot plop embrace apricot sst60 orbital m0ii040pcb cutiepie paintbrush_avr bully monorail monorail2 cisne 3999 bully2040 grouper c11 serendipity haitun2040 infernum cool536lc qezberry oc3anograph3r
echo firmware

.PHONY: keymaps
Expand Down
21 changes: 21 additions & 0 deletions firmware/cool536lc/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2023 m.ki (@telzo2000)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
#define DYNAMIC_KEYMAP_LAYER_COUNT 12

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
69 changes: 69 additions & 0 deletions firmware/cool536lc/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"manufacturer": "m.ki",
"keyboard_name": "cool536lc",
"maintainer": "telzo2000",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"via": true
},
"matrix_pins": {
"cols": ["GP4", "GP5", "GP6", "GP7","GP8","GP15","GP26","GP27","GP28","GP29"],
"rows": ["GP13", "GP12", "GP11", "GP10"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x1536",
"vid": "0x4D43"
},
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
{ "matrix": [0, 2], "x": 2, "y": 0 },
{ "matrix": [0, 3], "x": 3, "y": 0 },
{ "matrix": [0, 4], "x": 4, "y": 0 },
{ "matrix": [0, 5], "x": 5, "y": 0 },
{ "matrix": [0, 6], "x": 6, "y": 0 },
{ "matrix": [0, 7], "x": 7, "y": 0 },
{ "matrix": [0, 8], "x": 8, "y": 0 },
{ "matrix": [0, 9], "x": 9, "y": 0 },
{ "matrix": [1, 0], "x": 0, "y": 1 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 2, "y": 1 },
{ "matrix": [1, 3], "x": 3, "y": 1 },
{ "matrix": [1, 4], "x": 4, "y": 1 },
{ "matrix": [1, 5], "x": 5, "y": 1 },
{ "matrix": [1, 6], "x": 6, "y": 1 },
{ "matrix": [1, 7], "x": 7, "y": 1 },
{ "matrix": [1, 8], "x": 8, "y": 1 },
{ "matrix": [1, 9], "x": 9, "y": 1 },
{ "matrix": [2, 0], "x": 0, "y": 2 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2 },
{ "matrix": [2, 3], "x": 3, "y": 2 },
{ "matrix": [2, 4], "x": 4, "y": 2 },
{ "matrix": [2, 5], "x": 5, "y": 2 },
{ "matrix": [2, 6], "x": 6, "y": 2 },
{ "matrix": [2, 7], "x": 7, "y": 2 },
{ "matrix": [2, 8], "x": 8, "y": 2 },
{ "matrix": [2, 9], "x": 9, "y": 2 },
{ "matrix": [3, 2], "x": 2, "y": 3 },
{ "matrix": [3, 3], "x": 3, "y": 3 },
{ "matrix": [3, 4], "x": 4, "y": 3 },
{ "matrix": [3, 5], "x": 5, "y": 3 },
{ "matrix": [3, 6], "x": 6, "y": 3 },
{ "matrix": [3, 7], "x": 7, "y": 3 }
]
}
}
}
29 changes: 29 additions & 0 deletions firmware/cool536lc/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_ortho_4x4(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
),
[1] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
LSFT(KC_1),LSFT(KC_2),LSFT(KC_3),LSFT(KC_4),LSFT(KC_5),LSFT(KC_6),LSFT(KC_7),LSFT(KC_8),LSFT(KC_9),LSFT(KC_0),
KC_PPLS, KC_PMNS, KC_PAST, KC_PSLS, KC_PEQL, LSFT(KC_GRV), KC_M, KC_LBRC,KC_RBRC,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),KC_MINUS,KC_LALT,LSFT(KC_SLSH)
),
[2] = LAYOUT_ortho_4x4(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_A, KC_S, KC_SCLN, LSFT(KC_SCLN), KC_G, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, LSFT(KC_LBRC),LSFT(KC_RBRC),KC_LSFT,
KC_LCTL, KC_RGUI, LSFT(KC_MINUS),LT(2,KC_SPACE),KC_LALT,KC_BSLS
),
[3] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
)
};
29 changes: 29 additions & 0 deletions firmware/cool536lc/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_ortho_4x4(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
),
[1] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
LSFT(KC_1),LSFT(KC_2),LSFT(KC_3),LSFT(KC_4),LSFT(KC_5),LSFT(KC_6),LSFT(KC_7),LSFT(KC_8),LSFT(KC_9),LSFT(KC_0),
KC_PPLS, KC_PMNS, KC_PAST, KC_PSLS, KC_PEQL, LSFT(KC_GRV), KC_M, KC_LBRC,KC_RBRC,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),KC_MINUS,KC_LALT,LSFT(KC_SLSH)
),
[2] = LAYOUT_ortho_4x4(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_A, KC_S, KC_SCLN, LSFT(KC_SCLN), KC_G, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, LSFT(KC_LBRC),LSFT(KC_RBRC),KC_LSFT,
KC_LCTL, KC_RGUI, LSFT(KC_MINUS),LT(2,KC_SPACE),KC_LALT,KC_BSLS
),
[3] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
)
};
1 change: 1 addition & 0 deletions firmware/cool536lc/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
7 changes: 7 additions & 0 deletions firmware/cool536lc/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0xF4, 0x9B, 0xA6, 0xE3, 0x58, 0x82, 0x3E, 0x8C}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
29 changes: 29 additions & 0 deletions firmware/cool536lc/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_ortho_4x4(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
),
[1] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
LSFT(KC_1),LSFT(KC_2),LSFT(KC_3),LSFT(KC_4),LSFT(KC_5),LSFT(KC_6),LSFT(KC_7),LSFT(KC_8),LSFT(KC_9),LSFT(KC_0),
KC_PPLS, KC_PMNS, KC_PAST, KC_PSLS, KC_PEQL, LSFT(KC_GRV), KC_M, KC_LBRC,KC_RBRC,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),KC_MINUS,KC_LALT,LSFT(KC_SLSH)
),
[2] = LAYOUT_ortho_4x4(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_A, KC_S, KC_SCLN, LSFT(KC_SCLN), KC_G, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, LSFT(KC_LBRC),LSFT(KC_RBRC),KC_LSFT,
KC_LCTL, KC_RGUI, LSFT(KC_MINUS),LT(2,KC_SPACE),KC_LALT,KC_BSLS
),
[3] = LAYOUT_ortho_4x4(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA,KC_DOT,KC_LSFT,
KC_LCTL, KC_RGUI, LT(1,KC_SPACE),LT(2,KC_SPACE),KC_LALT,KC_BSPC
)
};
5 changes: 5 additions & 0 deletions firmware/cool536lc/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes



42 changes: 42 additions & 0 deletions firmware/cool536lc/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "cool536lc",
"vendorId": "0x4D43",
"productId": "0x1536",
"lighting": "qmk_rgblight",
"matrix": { "rows": 4, "cols": 10 },
"layouts": {
"keymap": [
[{"r":8,"x":3},"0,2"],
[{"y":-0.75,"x":4},"0,3","0,4"],
[{"y":-0.75,"x":2},"0,1"],
[{"y":-0.75,"x":1},"0,0"],
[{"y":-0.75,"x":3},"1,2"],
[{"y":-0.75,"x":4},"1,3","1,4"],
[{"y":-0.75,"x":2},"1,1"],
[{"y":-0.75,"x":1},"1,0"],
[{"y":-0.75,"x":3},"2,2"],
[{"y":-0.75,"x":4},"2,3","2,4"],
[{"y":-0.75,"x":2},"2,1"],
[{"y":-0.75,"x":1},"2,0"],
[{"y":-0.5,"x":3.5},"3,2"],
[{"r":23,"y":-2.35,"x":5.45},"3,3"],
[{"r":38,"y":-2.75,"x":7},"3,4"],
[{"r":-38,"y":6.75,"x":1.95},"3,5"],
[{"r":-23,"y":-2.05,"x":5.15},"3,6"],
[{"r":-8,"y":-6.1,"x":8.5},"0,7"],
[{"y":-0.75,"x":6.5},"0,5","0,6"],
[{"y":-0.75,"x":9.5},"0,8"],
[{"y":-0.75,"x":10.5},"0,9"],
[{"y":-0.75,"x":8.5},"1,7"],
[{"y":-0.75,"x":6.5},"1,5","1,6"],
[{"y":-0.75,"x":9.5},"1,8"],
[{"y":-0.75,"x":10.5},"1,9"],
[{"y":-0.75,"x":8.5},"2,7"],
[{"y":-0.75,"x":6.5},"2,5","2,6"],
[{"y":-0.75,"x":9.5},"2,8"],
[{"y":-0.75,"x":10.5},"2,9"],
[{"y":-0.5,"x":8},"3,7"]

]
}
}
27 changes: 27 additions & 0 deletions firmware/cool536lc/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# cool536lc

![cool536lc](imgur.com image replace me!)

*A short description of the keyboard/project*

* Keyboard Maintainer: [m.ki](https://github.com/telzo2000)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*

Make example for this keyboard (after setting up your build environment):

make cool536lc:default

Flashing example for this keyboard:

make cool536lc:default:flash

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).

## Bootloader

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
1 change: 1 addition & 0 deletions firmware/cool536lc/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
23 changes: 23 additions & 0 deletions firmware/qezberry/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
Copyright 2021 kb-elmo<[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define COMBO_ONLY_FROM_LAYER 0

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U // Timeout window in ms in which the double tap can occur.
Loading

0 comments on commit c74ed37

Please sign in to comment.