forked from vial-kb/vial-qmk
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab0771a
commit 691b463
Showing
43 changed files
with
1,977 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2023 Sleepdealer (@Sleepdealr) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
/* | ||
* Feature disable options | ||
* These options are also useful to firmware size reduction. | ||
*/ | ||
|
||
/* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"manufacturer": "Keebwerk", | ||
"keyboard_name": "Nano", | ||
"maintainer": "Sleepdealr", | ||
"bootloader": "atmel-dfu", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true, | ||
"encoder": true, | ||
"lto": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["D6", "D5", "D4"], | ||
"rows": ["D3", "D7"] | ||
}, | ||
"processor": "atmega32u2", | ||
"url": "", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x0002", | ||
"vid": "0x03A8" | ||
}, | ||
"encoder": { | ||
"rotary": [ | ||
{ "pin_a": "B5", "pin_b": "B6" }, | ||
{ "pin_a": "B3", "pin_b": "B4" } | ||
] | ||
}, | ||
"layouts": { | ||
"LAYOUT_ortho_2x3": { | ||
"layout": [ | ||
{"matrix": [0, 0], "x": 0, "y": 0}, | ||
{"matrix": [0, 1], "x": 1, "y": 0}, | ||
{"matrix": [0, 2], "x": 2, "y": 0}, | ||
{"matrix": [1, 0], "x": 0, "y": 1}, | ||
{"matrix": [1, 1], "x": 1, "y": 1}, | ||
{"matrix": [1, 2], "x": 2, "y": 1} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright 2023 QMK | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
|
||
#if defined(ENCODER_MAP_ENABLE) | ||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
[0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[1] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[2] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[3] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) } | ||
}; | ||
#endif | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[1] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[2] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[3] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {0xAC, 0x35, 0x8A, 0x98, 0xEC, 0xED, 0x71, 0x77} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2023 QMK | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
#if defined(ENCODER_MAP_ENABLE) | ||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
[0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[1] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[2] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
[3] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, | ||
}; | ||
#endif | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[1] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[2] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
[3] = LAYOUT_ortho_2x3( | ||
KC_A, KC_B, KC_C, | ||
KC_D, KC_E, KC_F | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VIA_ENABLE = yes | ||
VIAL_ENABLE = yes | ||
VIAL_INSECURE = yes | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "Nano", | ||
"vendorId": "0x03A8", | ||
"productId": "0x0002", | ||
"lighting": "none", | ||
"matrix": { | ||
"rows": 2, | ||
"cols": 3 | ||
}, | ||
"layouts": { | ||
"keymap": [ | ||
[ | ||
"0,0\n\n\n\n\n\n\n\n\ne", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"1,0\n\n\n\n\n\n\n\n\ne", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"0,0", | ||
"0,1", | ||
"0,2" | ||
], | ||
[ | ||
"0,1\n\n\n\n\n\n\n\n\ne", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"1,1\n\n\n\n\n\n\n\n\ne", | ||
{ | ||
"x": 0.25 | ||
}, | ||
"1,0", | ||
"1,1", | ||
"1,2" | ||
] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# keebwerk/nano | ||
|
||
![keebwerk/nano](imgur.com image replace me!) | ||
|
||
*A short description of the keyboard/project* | ||
|
||
* Keyboard Maintainer: [Sleepdealer](https://github.com/Sleepdealr) | ||
* 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 keebwerk/nano:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make keebwerk/nano: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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file intentionally left blank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
VIA_ENABLE = yes | ||
VIAL_ENABLE = yes | ||
VIAL_INSECURE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ | |
{ | ||
"w": 2.25 | ||
}, | ||
"2,12", | ||
"2,13", | ||
"2,14", | ||
"2,15", | ||
"2,16" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2023 Sleepdealer (@Sleepdealr) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
/* | ||
* Feature disable options | ||
* These options are also useful to firmware size reduction. | ||
*/ | ||
|
||
/* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
{ | ||
"manufacturer": "Sleepdealer", | ||
"keyboard_name": "January", | ||
"maintainer": "Sleepdealr", | ||
"bootloader": "atmel-dfu", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true, | ||
"rgblight": true, | ||
"lto": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["F7", "B2", "D5", "D3", "D2", "D1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], | ||
"rows": ["F0", "B3", "F6", "F4", "F1"] | ||
}, | ||
"processor": "atmega32u4", | ||
"url": "", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x000E", | ||
"vid": "0x4A96" | ||
}, | ||
"rgblight": { | ||
"led_count": 8, | ||
"sleep": true, | ||
"animations": { | ||
"alternating": true, | ||
"breathing": true, | ||
"christmas": true, | ||
"knight": true, | ||
"rainbow_mood": true, | ||
"rainbow_swirl": true, | ||
"rgb_test": true, | ||
"snake": true, | ||
"static_gradient": true, | ||
"twinkle": true | ||
} | ||
}, | ||
"ws2812" : { | ||
"pin": "E6" | ||
}, | ||
"indicators": { | ||
"scroll_lock": "F5" | ||
}, | ||
"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": [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": [0, 10], "x": 10, "y": 0 }, | ||
{ "matrix": [0, 11], "x": 11, "y": 0 }, | ||
{ "matrix": [0, 12], "x": 12, "y": 0 }, | ||
{ "matrix": [0, 13], "x": 13, "y": 0 }, | ||
{ "matrix": [2, 13], "x": 14, "y": 0 }, | ||
{ "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1 }, | ||
{ "matrix": [1, 1], "x": 1.5, "y": 1 }, | ||
{ "matrix": [1, 2], "x": 2.5, "y": 1 }, | ||
{ "matrix": [1, 3], "x": 3.5, "y": 1 }, | ||
{ "matrix": [1, 4], "x": 4.5, "y": 1 }, | ||
{ "matrix": [1, 5], "x": 5.5, "y": 1 }, | ||
{ "matrix": [1, 6], "x": 6.5, "y": 1 }, | ||
{ "matrix": [1, 7], "x": 7.5, "y": 1 }, | ||
{ "matrix": [1, 8], "x": 8.5, "y": 1 }, | ||
{ "matrix": [1, 9], "x": 9.5, "y": 1 }, | ||
{ "matrix": [1, 10], "x": 10.5, "y": 1 }, | ||
{ "matrix": [1, 11], "x": 11.5, "y": 1 }, | ||
{ "matrix": [1, 12], "x": 12.5, "y": 1 }, | ||
{ "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1 }, | ||
{ "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2 }, | ||
{ "matrix": [2, 1], "x": 1.75, "y": 2 }, | ||
{ "matrix": [2, 2], "x": 2.75, "y": 2 }, | ||
{ "matrix": [2, 3], "x": 3.75, "y": 2 }, | ||
{ "matrix": [2, 4], "x": 4.75, "y": 2 }, | ||
{ "matrix": [2, 5], "x": 5.75, "y": 2 }, | ||
{ "matrix": [2, 6], "x": 6.75, "y": 2 }, | ||
{ "matrix": [2, 7], "x": 7.75, "y": 2 }, | ||
{ "matrix": [2, 8], "x": 8.75, "y": 2 }, | ||
{ "matrix": [2, 9], "x": 9.75, "y": 2 }, | ||
{ "matrix": [2, 10], "x": 10.75, "y": 2 }, | ||
{ "matrix": [2, 11], "x": 11.75, "y": 2 }, | ||
{ "matrix": [2, 12], "w": 2.25, "x": 12.75, "y": 2 }, | ||
{ "matrix": [3, 0], "w": 1.25, "x": 0, "y": 3 }, | ||
{ "matrix": [3, 1], "x": 1.25, "y": 3 }, | ||
{ "matrix": [3, 2], "x": 2.25, "y": 3 }, | ||
{ "matrix": [3, 3], "x": 3.25, "y": 3 }, | ||
{ "matrix": [3, 4], "x": 4.25, "y": 3 }, | ||
{ "matrix": [3, 5], "x": 5.25, "y": 3 }, | ||
{ "matrix": [3, 6], "x": 6.25, "y": 3 }, | ||
{ "matrix": [3, 7], "x": 7.25, "y": 3 }, | ||
{ "matrix": [3, 8], "x": 8.25, "y": 3 }, | ||
{ "matrix": [3, 9], "x": 9.25, "y": 3 }, | ||
{ "matrix": [3, 10], "x": 10.25, "y": 3 }, | ||
{ "matrix": [3, 11], "x": 11.25, "y": 3 }, | ||
{ "matrix": [3, 12], "w": 1.75, "x": 12.25, "y": 3 }, | ||
{ "matrix": [3, 13], "x": 14, "y": 3 }, | ||
{ "matrix": [4, 0], "w": 1.25, "x": 0, "y": 4 }, | ||
{ "matrix": [4, 1], "w": 1.25, "x": 1.25, "y": 4 }, | ||
{ "matrix": [4, 2], "w": 1.25, "x": 2.5, "y": 4 }, | ||
{ "matrix": [4, 6], "w": 6.25, "x": 3.75, "y": 4 }, | ||
{ "matrix": [4, 10], "w": 1.25, "x": 10, "y": 4 }, | ||
{ "matrix": [4, 11], "w": 1.25, "x": 11.25, "y": 4 }, | ||
{ "matrix": [4, 12], "w": 1.25, "x": 12.5, "y": 4 }, | ||
{ "matrix": [4, 13], "w": 1.25, "x": 13.75, "y": 4 } | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.