mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
Compare commits
10 Commits
e9b46048be
...
cd53ae436c
Author | SHA1 | Date | |
---|---|---|---|
|
cd53ae436c | ||
|
a69069cc9d | ||
|
05b8aba6e5 | ||
|
23c690e603 | ||
|
897d7fe418 | ||
|
cd1eddf15c | ||
|
9e8184db08 | ||
|
a721e255c7 | ||
|
4ef8b8ab10 | ||
|
0c21d576d0 |
48
keyboards/memoria/keyboard.json
Normal file
48
keyboards/memoria/keyboard.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"manufacturer": "lfischer79",
|
||||
"keyboard_name": "memoria",
|
||||
"maintainer": "lfischer79",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C2", "C2", "C2", "C2"],
|
||||
"rows": ["D1", "D1", "D1", "D1"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"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": [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": [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": [3, 0], "x": 0, "y": 3},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
13
keyboards/memoria/keymaps/default/config.h
Normal file
13
keyboards/memoria/keymaps/default/config.h
Normal file
@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x5B, 0x05, 0x1C, 0x81, 0x84, 0x3F, 0xFF, 0x4F}
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||
|
||||
#define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 12)
|
||||
|
||||
#define RGB_MODE_PLAIN
|
||||
|
||||
#define RGB_MODE_RAINBOW
|
||||
|
||||
#define RGB_MODE_SWIRL
|
52
keyboards/memoria/keymaps/default/keymap.c
Normal file
52
keyboards/memoria/keymaps/default/keymap.c
Normal file
@ -0,0 +1,52 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6,
|
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
)
|
||||
};
|
||||
|
||||
/* aRGB Configuration */
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ 2, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ 1, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ 0, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{ 0, 16 }, { 0, 8 }, { 0, 5 }
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
8, 8, 8
|
||||
} };
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
// Encoder 1
|
||||
};
|
||||
#endif
|
||||
|
||||
void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||
if (layer_state_is (1)) {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(2, 60, 15, 15);
|
||||
} else {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(2, 0, 0, 0);
|
||||
}
|
||||
if (layer_state_is (2)) {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(1, 15, 60, 15);
|
||||
} else {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(1, 0, 0, 0);
|
||||
}
|
||||
if (layer_state_is (3)) {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(0, 15, 15, 60);
|
||||
} else {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(0, 0, 0, 0);
|
||||
}
|
||||
}
|
5
keyboards/memoria/keymaps/default/rules.mk
Normal file
5
keyboards/memoria/keymaps/default/rules.mk
Normal file
@ -0,0 +1,5 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIAL_INSECURE = yes
|
||||
VIALRGB_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
124
keyboards/memoria/keymaps/default/vial.json
Normal file
124
keyboards/memoria/keymaps/default/vial.json
Normal file
@ -0,0 +1,124 @@
|
||||
{
|
||||
"vial": {
|
||||
"midi": "advanced"
|
||||
},
|
||||
"lighting": "vial_rgb",
|
||||
"matrix": {
|
||||
"rows": 5,
|
||||
"cols": 12
|
||||
},
|
||||
"layouts": {
|
||||
"labels":[
|
||||
[
|
||||
"Bottom Row",
|
||||
"Jetvan (6.25u)",
|
||||
"Minisub (2.75u-2.25u-1.25u)"
|
||||
]
|
||||
],
|
||||
"keymap":[
|
||||
[
|
||||
{ "x": 6.75 },
|
||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
||||
"0,1\n\n\n\n\n\n\n\n\ne"],
|
||||
[
|
||||
{
|
||||
"y": -0.75, "x": 0.5
|
||||
},
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6"
|
||||
],
|
||||
[
|
||||
"1,0",
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9",
|
||||
"1,10",
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"1,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"2,0",
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"2,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"3,0",
|
||||
"3,1",
|
||||
"3,2",
|
||||
"3,3",
|
||||
"3,4",
|
||||
"3,5",
|
||||
"3,6",
|
||||
"3,7",
|
||||
"3,8",
|
||||
"3,9",
|
||||
"3,10",
|
||||
"3,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"4,0",
|
||||
"4,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"4,2",
|
||||
{
|
||||
"w": 6.25
|
||||
},
|
||||
"4,5\n\n\n0,0",
|
||||
"4,9",
|
||||
"4,10",
|
||||
"4,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"x": 3.5,
|
||||
"w": 2.75
|
||||
},
|
||||
"4,4\n\n\n0,1",
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"4,5\n\n\n0,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"4,8\n\n\n0,1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
7
keyboards/memoria/raw-kle.txt
Normal file
7
keyboards/memoria/raw-kle.txt
Normal file
@ -0,0 +1,7 @@
|
||||
[{x:6.75},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne"],
|
||||
[{y:-0.75,x:0.5},"0,1","0,2","0,3","0,4","0,5","0,6"],
|
||||
["1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10",{w:1.75},"1,11"],
|
||||
[{w:1.25},"2,0","2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10",{w:1.5},"2,11"],
|
||||
[{w:1.75},"3,0","3,1","3,2","3,3","3,4","3,5","3,6","3,7","3,8","3,9","3,10","3,11"],
|
||||
[{w:1.25},"4,0","4,1",{w:1.25},"4,2",{w:6.25},"4,5\n\n\n0,0","4,9","4,10","4,11"],
|
||||
[{y:0.25,x:3.5,w:2.75},"4,4\n\n\n0,1",{w:2.25},"4,5\n\n\n0,1",{w:1.25},"4,8\n\n\n0,1"]
|
27
keyboards/memoria/readme.md
Normal file
27
keyboards/memoria/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# memoria
|
||||
|
||||
![memoria](imgur.com image replace me!)
|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [lfischer79](https://github.com/lfischer79)
|
||||
* 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 memoria:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make memoria: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
|
4
keyboards/memoria/rules.mk
Normal file
4
keyboards/memoria/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
RGB_MATRIX_DRIVER = ws2812
|
||||
WS2812_DRIVER = vendor
|
||||
ENCODER_ENABLE = yes
|
Loading…
Reference in New Issue
Block a user