1
0
Fork 0

[Keyboard] Create RGBKB Folder (#5858)

* Move Sol, Zen, & Zygomorph keyboards to RGBKB folder

* Updated default keymaps

* Fixing more areas due too folder moves

* Fixing Zen layer numbers

* Fixing zygomorph layer comments

* Fixing Colmak comments

* Fixing Sol Colmak readme

* Macro alignment

* Zen rev2 configuration json

* Fixing sol ifdef

* Fixing Sol info.json
This commit is contained in:
XScorpion2 2019-05-14 13:58:56 -05:00 committed by Drashna Jaelre
parent e8b27a965d
commit 4cdb86c730
83 changed files with 477 additions and 227 deletions

View file

@ -1,5 +1,5 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
#include "bootloader.h"
#ifdef PROTOCOL_LUFA #ifdef PROTOCOL_LUFA
#include "lufa.h" #include "lufa.h"
#include "split_util.h" #include "split_util.h"
@ -41,80 +41,55 @@ enum macro_keycodes {
#define FN_ESC LT(_FN, KC_ESC) #define FN_ESC LT(_FN, KC_ESC)
#define FN_CAPS LT(_FN, KC_CAPS) #define FN_CAPS LT(_FN, KC_CAPS)
// Define your non-alpha grouping in this define's LAYOUT, and all your BASE_LAYERS will share the same mod/macro columns const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base Layout /* Qwerty
* ,------------------------------------------------. ,------------------------------------------------. * ,------------------------------------------------. ,------------------------------------------------.
* | GESC | | | | | | - | | = | | | | | | BkSp | * | GESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | Tab | | | | | | [ | | ] | | | | | | \ | * | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \ |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* |FN(CAPS)| | | | | | ( | | ) | | | | | | ' | * |FN(CAPS)| A | S | D | F | G | ( | | ) | H | J | K | L | ; | ' |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* |Shift | | | | | | { | | } | | | | | |Shift | * |Shift | Z | X | C | V | B | { | | } | N | M | , | . | / |Shift |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right | * | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------' * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
* | Space| DEL | | Enter| Space| * | Space| DEL | | Enter| Space|
* `-------------' `-------------' * `-------------' `-------------'
*/ */
#define BASE_LAYOUT( \ [_QWERTY] = LAYOUT( \
_00, _01, _02, _03, _04, _05, _06, _07, _08, _09, \
_10, _11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, _29 \
) \
LAYOUT( \
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_TAB, _00, _01, _02, _03, _04, KC_LBRC, KC_RBRC, _05, _06, _07, _08, _09, KC_BSLS, \ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \
FN_CAPS, _10, _11, _12, _13, _14, KC_LPRN, KC_RPRN, _15, _16, _17, _18, _19, KC_QUOT, \ FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LPRN, KC_RPRN, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \
KC_LSFT, _20, _21, _22, _23, _24, KC_LCBR, KC_RCBR, _25, _26, _27, _28, _29, KC_ENT, \ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LCBR, KC_RCBR, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_DEL, KC_ENT, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT, \ KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_DEL, KC_ENT, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT, \
KC_SPC, KC_DEL, KC_ENT, KC_SPC \ KC_SPC, KC_DEL, KC_ENT, KC_SPC \
)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
* ,------------------------------------------------. ,------------------------------------------------.
* | | | | | | | | | | | | | | | |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | Q | W | E | R | T | | | | Y | U | I | O | P | |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | A | S | D | F | G | | | | H | J | K | L | ; | |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | Z | X | C | V | B | | | | N | M | , | . | / | |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | | | | | | | | | | | | | | |
* `------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
* | | | | | |
* `-------------' `--------=----'
*/
[_QWERTY] = BASE_LAYOUT( \
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_SCLN, \
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH \
), ),
/* Colemak /* Colemak
* ,------------------------------------------------. ,------------------------------------------------. * ,------------------------------------------------. ,------------------------------------------------.
* | | | | | | | | | | | | | | | | * | GESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | Q | W | F | P | G | | | | J | L | U | Y | ; | | * | Tab | Q | W | F | P | B | [ | | ] | J | L | U | Y | ; | \ |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | A | R | S | T | D | | | | H | N | E | I | O | | * |FN(CAPS)| A | R | S | T | G | ( | | ) | K | N | E | I | O | ' |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | Z | X | C | V | B | | | | K | M | , | . | / | | * |Shift | Z | X | C | D | V | { | | } | M | H | , | . | / |Shift |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | | | | | | | | | | | | | | | * | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right |
* `------+------+------+------+------+------+------| |------+------+------+------+------+------+------' * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
* | | | | | | * | Space| DEL | | Enter| Space|
* `-------------' `--------=----' * `-------------' `-------------'
*/ */
[_COLEMAK] = BASE_LAYOUT( \ [_COLEMAK] = LAYOUT( \
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, \ KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_LBRC, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, \
KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH \ FN_CAPS, KC_A, KC_R, KC_S, KC_T, KC_G, KC_LPRN, KC_RPRN, KC_K, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_LCBR, KC_RCBR, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_DEL, KC_ENT, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT, \
KC_SPC, KC_DEL, KC_ENT, KC_SPC \
), ),
/* FN /* FN
* ,------------------------------------------------. ,------------------------------------------------. * ,------------------------------------------------. ,------------------------------------------------.
* | F1 | F2 | F3 | F4 | F5 | F6 | | | | F7 | F8 | F9 | F10 | F11 | F12 | * | F1 | F2 | F3 | F4 | F5 | F6 | | | | F7 | F8 | F9 | F10 | F11 | F12 |

View file

@ -1,16 +1,16 @@
# The Default Sol Layout # The Default Sol Layout
## Layout ## Layout
### Base modifier layout ### Qwerty layout
``` ```
* ,------------------------------------------------. ,------------------------------------------------. * ,------------------------------------------------. ,------------------------------------------------.
* | GESC | | | | | | - | | = | | | | | | BkSp | * | GESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | Tab | | | | | | [ | | ] | | | | | | \ | * | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \ |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* |FN(CAPS)| | | | | | ( | | ) | | | | | | ' | * |FN(CAPS)| A | S | D | F | G | ( | | ) | H | J | K | L | ; | ' |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* |Shift | | | | | | { | | } | | | | | |Shift | * |Shift | Z | X | C | V | B | { | | } | N | M | , | . | / |Shift |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right | * | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------' * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
@ -18,37 +18,20 @@
* `-------------' `-------------' * `-------------' `-------------'
``` ```
### Qwerty alphas ### Colemak layout
``` ```
* ,------------------------------------------------. ,------------------------------------------------. * ,------------------------------------------------. ,------------------------------------------------.
* | | | | | | | | | | | | | | | | * | GESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | Q | W | E | R | T | | | | Y | U | I | O | P | | * | Tab | Q | W | F | P | B | [ | | ] | J | L | U | Y | ; | \ |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------| * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | A | S | D | F | G | | | | H | J | K | L | ; | | * |FN(CAPS)| A | R | S | T | G | ( | | ) | K | N | E | I | O | ' |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | Z | X | C | V | B | | | | N | M | , | . | / | | * |Shift | Z | X | C | D | V | { | | } | M | H | , | . | / |Shift |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | | | | | | | | | | | | | | | * | Ctrl | Win | Alt | RGB | ADJ | Space| DEL | | Enter| Space| FN | Left | Down | Up |Right |
* `------+------+------+------+------+------+------| |------+------+------+------+------+------+------' * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
* | | | | | | * | Space| DEL | | Enter| Space|
* `-------------' `-------------'
```
### Colemak alphas
```
* ,------------------------------------------------. ,------------------------------------------------.
* | | | | | | | | | | | | | | | |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | Q | W | F | P | B | | | | J | L | U | Y | ; | |
* |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
* | | A | R | S | T | G | | | | K | N | E | I | O | |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | Z | X | C | D | V | | | | M | H | , | . | / | |
* |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
* | | | | | | | | | | | | | | | |
* `------+------+------+------+------+------+------| |------+------+------+------+------+------+------'
* | | | | | |
* `-------------' `-------------' * `-------------' `-------------'
``` ```
@ -101,16 +84,15 @@ CONSOLE_ENABLE = yes # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix
LED_ANIMATIONS = yes # LED animations RGBLIGHT_ANIMATIONS = yes # LED animations
LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) LED_MIRRORED = yes # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight (+8500) RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight (+8500)
RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. Can be very laggy (+1500) RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. Can be very laggy (+1500)
RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
SWAP_HANDS_ENABLE = no # Enable one-hand typing SWAP_HANDS_ENABLE = no # Enable one-hand typing
ENCODER_ENABLE_CUSTOM = yes # Enable rotary encoder (+90)
OLED_ENABLE = no # OLED_ENABLE (+5000) OLED_DRIVER_ENABLE = no # Enable the OLED Driver (+5000)
IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
@ -124,10 +106,10 @@ $ cd qmk_firmware
build build
``` ```
$ make sol:default $ make rgbkb/sol:default
``` ```
After the initial flash with AVRdudess, you should be able to flash using this: After the initial flash with AVRdudess, you should be able to flash using this:
``` ```
$ make sol:default:dfu $ make rgbkb/sol:default:dfu
``` ```

View file

@ -10,6 +10,6 @@ Hardware Availability: [RGBKB](https://www.rgbkb.net)
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make sol:default make rgbkb/sol:default
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). 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).

View file

@ -77,14 +77,10 @@
{"label":"R43", "x":13.5, "y":4}, {"label":"R43", "x":13.5, "y":4},
{"label":"R44", "x":14.5, "y":4}, {"label":"R44", "x":14.5, "y":4},
{"label":"R45", "x":15.5, "y":4, "w":1.5}, {"label":"R45", "x":15.5, "y":4, "w":1.5},
{"label":"Left Encoder, Counter-Clockwise", "x":2.5, "y":5.5},
{"label":"Left Encoder, Clockwise", "x":3.5, "y":5.5},
{"label":"L55", "x":6, "y":5.5}, {"label":"L55", "x":6, "y":5.5},
{"label":"L56", "x":7, "y":5.5}, {"label":"L56", "x":7, "y":5.5},
{"label":"R56", "x":9, "y":5.5}, {"label":"R56", "x":9, "y":5.5},
{"label":"R50", "x":10, "y":5.5}, {"label":"R50", "x":10, "y":5.5}
{"label":"Right Encoder, Counter-Clockwise", "x":12.5, "y":5.5},
{"label":"Right Encoder, Clockwise", "x":13.5, "y":5.5}
] ]
} }
} }

View file

@ -63,4 +63,4 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
DEFAULT_FOLDER = sol/rev1 DEFAULT_FOLDER = rgbkb/sol/rev1

View file

@ -1,10 +1,8 @@
#pragma once #pragma once
#include "quantum.h" #include "quantum.h"
#ifdef KEYBOARD_sol_rev1 #ifdef KEYBOARD_rgbkb_sol_rev1
#include "rev1.h" #include "rev1.h"
#elif KEYBOARD_sol_rev2
#include "rev2.h"
#endif #endif

View file

@ -16,11 +16,11 @@ A build guide and more info for this keyboard can be found here: [Zen Build Guid
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make zen/rev2:default make rgbkb/zen/rev2:default
To build for a Proton-C: To build for a Proton-C:
make zen/rev2:default CTPC=yes make rgbkb/zen/rev2:default CTPC=yes
**Note:** The Proton-C does not have split keyboard, or encoder support. Also OLED driver support is untested. Will update as status changes. **Note:** The Proton-C does not have split keyboard, or encoder support. Also OLED driver support is untested. Will update as status changes.

View file

@ -6,8 +6,10 @@ extern keymap_config_t keymap_config;
// The underscores don't mean anything - you can have a layer called STUFF or any other name. // The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them // Layer names don't all need to be of the same length, obviously, and you can also skip them
// entirely and just use numbers. // entirely and just use numbers.
#define _QWERTY 0 enum layer_number {
#define _NAV 2 _QWERTY = 0,
_NAV
};
enum custom_keycodes { enum custom_keycodes {

View file

@ -0,0 +1,345 @@
{
"keyboard_name": "Zen",
"url": "",
"maintainer": "qmk",
"width": 17,
"height": 6.5,
"layouts": {
"LAYOUT": {
"layout": [
{
"label": "k00",
"x": 0.5,
"y": 0
},
{
"label": "k01",
"x": 1.5,
"y": 0
},
{
"label": "k02",
"x": 2.5,
"y": 0
},
{
"label": "k03",
"x": 3.5,
"y": 0
},
{
"label": "k04",
"x": 4.5,
"y": 0
},
{
"label": "k05",
"x": 5.5,
"y": 0
},
{
"label": "k55",
"x": 10.5,
"y": 0
},
{
"label": "k54",
"x": 11.5,
"y": 0
},
{
"label": "k53",
"x": 12.5,
"y": 0
},
{
"label": "k52",
"x": 13.5,
"y": 0
},
{
"label": "k51",
"x": 14.5,
"y": 0
},
{
"label": "k50",
"x": 15.5,
"y": 0
},
{
"label": "k10",
"x": 0,
"y": 1,
"w": 1.5
},
{
"label": "k11",
"x": 1.5,
"y": 1
},
{
"label": "k12",
"x": 2.5,
"y": 1
},
{
"label": "k13",
"x": 3.5,
"y": 1
},
{
"label": "k14",
"x": 4.5,
"y": 1
},
{
"label": "k15",
"x": 5.5,
"y": 1
},
{
"label": "k65",
"x": 10.5,
"y": 1
},
{
"label": "k64",
"x": 11.5,
"y": 1
},
{
"label": "k63",
"x": 12.5,
"y": 1
},
{
"label": "k62",
"x": 13.5,
"y": 1
},
{
"label": "k61",
"x": 14.5,
"y": 1
},
{
"label": "k60",
"x": 15.5,
"y": 1,
"w": 1.5
},
{
"label": "k20",
"x": 0,
"y": 2,
"w": 1.5
},
{
"label": "k21",
"x": 1.5,
"y": 2
},
{
"label": "k22",
"x": 2.5,
"y": 2
},
{
"label": "k23",
"x": 3.5,
"y": 2
},
{
"label": "k24",
"x": 4.5,
"y": 2
},
{
"label": "k25",
"x": 5.5,
"y": 2
},
{
"label": "k75",
"x": 10.5,
"y": 2
},
{
"label": "k74",
"x": 11.5,
"y": 2
},
{
"label": "k73",
"x": 12.5,
"y": 2
},
{
"label": "k72",
"x": 13.5,
"y": 2
},
{
"label": "k71",
"x": 14.5,
"y": 2
},
{
"label": "k70",
"x": 15.5,
"y": 2,
"w": 1.5
},
{
"label": "k30",
"x": 0,
"y": 3,
"w": 1.5
},
{
"label": "k31",
"x": 1.5,
"y": 3
},
{
"label": "k32",
"x": 2.5,
"y": 3
},
{
"label": "k33",
"x": 3.5,
"y": 3
},
{
"label": "k34",
"x": 4.5,
"y": 3
},
{
"label": "k35",
"x": 5.5,
"y": 3
},
{
"label": "k16",
"x": 6.5,
"y": 3
},
{
"label": "k66",
"x": 9.5,
"y": 3
},
{
"label": "k85",
"x": 10.5,
"y": 3
},
{
"label": "k84",
"x": 11.5,
"y": 3
},
{
"label": "k83",
"x": 12.5,
"y": 3
},
{
"label": "k82",
"x": 13.5,
"y": 3
},
{
"label": "k81",
"x": 14.5,
"y": 3
},
{
"label": "k80",
"x": 15.5,
"y": 3,
"w": 1.5
},
{
"label": "k40",
"x": 0,
"y": 4,
"w": 1.5
},
{
"label": "k41",
"x": 1.5,
"y": 4
},
{
"label": "k42",
"x": 2.5,
"y": 4
},
{
"label": "k43",
"x": 3.5,
"y": 4
},
{
"label": "k44",
"x": 4.5,
"y": 4
},
{
"label": "k36",
"x": 6,
"y": 4.5,
"h": 2
},
{
"label": "k26",
"x": 7,
"y": 4.5,
"h": 2
},
{
"label": "k76",
"x": 9,
"y": 4.5,
"h": 2
},
{
"label": "k86",
"x": 10,
"y": 4.5,
"h": 2
},
{
"label": "k94",
"x": 11.5,
"y": 4
},
{
"label": "k93",
"x": 12.5,
"y": 4
},
{
"label": "k92",
"x": 13.5,
"y": 4
},
{
"label": "k91",
"x": 14.5,
"y": 4
},
{
"label": "k90",
"x": 15.5,
"y": 4,
"w": 1.5
}
]
}
}
}

View file

@ -6,14 +6,14 @@ extern keymap_config_t keymap_config;
// The underscores don't mean anything - you can have a layer called STUFF or any other name. // The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them // Layer names don't all need to be of the same length, obviously, and you can also skip them
// entirely and just use numbers. // entirely and just use numbers.
#define _QWERTY 0 enum layer_number {
#define _NAV 2 _QWERTY = 0,
_NAV
};
enum custom_keycodes { enum custom_keycodes {
QWERTY = SAFE_RANGE, QWERTY = SAFE_RANGE,
NAV, NAV
}; };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

View file

@ -39,4 +39,4 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
DEFAULT_FOLDER = zen/rev2 DEFAULT_FOLDER = rgbkb/zen/rev2

View file

@ -1,8 +1,8 @@
#pragma once #pragma once
#if KEYBOARD_zen_rev1 #if KEYBOARD_rgbkb_zen_rev1
#include "rev1.h" #include "rev1.h"
#elif KEYBOARD_zen_rev2 #elif KEYBOARD_rgbkb_zen_rev2
#include "rev2.h" #include "rev2.h"
#endif #endif
#include "quantum.h" #include "quantum.h"

View file

@ -26,71 +26,47 @@ enum custom_keycodes {
#define FN_CAPS LT(_FN, KC_CAPS) #define FN_CAPS LT(_FN, KC_CAPS)
// Define your non-alpha grouping in this define's LAYOUT, and all your BASE_LAYERS will share the same mod/macro columns const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* / Base Layout \ /* / QWERTY \
* /-----------------------------------------\ /-----------------------------------------\ * /-----------------------------------------\ /-----------------------------------------\
* | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp | * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Tab | | | | | | | | | | | | \ | * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* |FNCAPS| | | | | | | | | | | | ' | * |FNCAPS| A | S | D | F | G | | H | J | K | L | ; | ' |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* |Shift | | | | | | | | | | | |Shift | * |Shift | Z | X | C | V | B | | N | M | , | . | / |Enter |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right | * | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/ * \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/ */
#define BASE_LAYOUT( \ [_QWERTY] = LAYOUT_ortho_5x12( \
_00, _01, _02, _03, _04, _05, _06, _07, _08, _09, \
_10, _11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, _29 \
) \
LAYOUT_ortho_5x12( \
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_TAB, _00, _01, _02, _03, _04, _05, _06, _07, _08, _09, KC_BSLS, \ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \
FN_CAPS, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, KC_QUOT, \ FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \
KC_LSFT, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, KC_ENT, \ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \ KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \
)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* / QWERTY \
* /-----------------------------------------\ /-----------------------------------------\
* | | | | | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Q | W | E | R | T | | Y | U | O | P | \ | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | A | S | D | F | G | | H | J | K | L | ; | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Z | X | C | V | B | | N | M | , | . | / | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/
[_QWERTY] = BASE_LAYOUT( \
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_SCLN, \
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH \
), ),
/* / Colemak \ /* / Colemak \
* /-----------------------------------------\ /-----------------------------------------\ * /-----------------------------------------\ /-----------------------------------------\
* | | | | | | | | | | | | | | * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Q | W | F | P | G | | J | L | U | Y | ; | | * | Tab | Q | W | F | P | B | | J | L | U | Y | ; | \ |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | A | R | S | T | D | | H | N | E | I | O | | * |FNCAPS| A | R | S | T | G | | K | N | E | I | O | ' |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Z | X | C | V | B | | K | M | , | . | / | | * |Shift | Z | X | C | D | V | | M | H | , | . | / |Enter |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | | * | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/ * \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/ */
[_COLEMAK] = BASE_LAYOUT( \ [_COLEMAK] = LAYOUT_ortho_5x12( \
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, \ KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, \
KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH \ FN_CAPS, KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \
), ),
/* / FN \ /* / FN \

View file

@ -112,10 +112,10 @@ $ cd qmk_firmware
build build
``` ```
$ make zygomorph:default $ make rgbkb/zygomorph:default
``` ```
After the initial flash with AVRdudess, you should be able to flash using this: After the initial flash with AVRdudess, you should be able to flash using this:
``` ```
$ make zygomorph:default:dfu $ make rgbkb/zygomorph:default:dfu
``` ```

View file

@ -26,71 +26,47 @@ enum custom_keycodes {
#define FN_CAPS LT(_FN, KC_CAPS) #define FN_CAPS LT(_FN, KC_CAPS)
// Define your non-alpha grouping in this define's LAYOUT, and all your BASE_LAYERS will share the same mod/macro columns const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* / Base Layout \ /* / QWERTY \
* /-----------------------------------------\ /-----------------------------------------\ * /-----------------------------------------\ /-----------------------------------------\
* | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp | * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Tab | | | | | | | | | | | | \ | * | Tab | Q | W | E | R | T | | Y | U | O | P | \ | \ |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* |FNCAPS| | | | | | | | | | | | ' | * |FNCAPS| A | S | D | F | G | | H | J | K | L | ; | ' |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* |Shift | | | | | | | | | | | |Shift | * |Shift | Z | X | C | V | B | | N | M | , | . | / |Shift |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right | * | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/ * \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/ */
#define BASE_LAYOUT( \ [_QWERTY] = LAYOUT_ortho_5x12( \
_00, _01, _02, _03, _04, _05, _06, _07, _08, _09, \
_10, _11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, _29 \
) \
LAYOUT_ortho_5x12( \
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_TAB, _00, _01, _02, _03, _04, _05, _06, _07, _08, _09, KC_BSLS, \ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \
FN_CAPS, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, KC_QUOT, \ FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \
KC_LSFT, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, KC_ENT, \ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \ KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \
)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* / QWERTY \
* /-----------------------------------------\ /-----------------------------------------\
* | | | | | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Q | W | E | R | T | | Y | U | O | P | \ | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | A | S | D | F | G | | H | J | K | L | ; | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Z | X | C | V | B | | N | M | , | . | / | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/
[_QWERTY] = BASE_LAYOUT( \
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_SCLN, \
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH \
), ),
/* / Colemak \ /* / Colemak \
* /-----------------------------------------\ /-----------------------------------------\ * /-----------------------------------------\ /-----------------------------------------\
* | | | | | | | | | | | | | | * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Q | W | F | P | G | | J | L | U | Y | ; | | * | Tab | Q | W | F | P | B | | J | L | U | Y | ; | \ |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | A | R | S | T | D | | H | N | E | I | O | | * |FNCAPS| A | R | S | T | G | | K | N | E | I | O | ' |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | Z | X | C | V | B | | K | M | , | . | / | | * |Shift | Z | X | C | D | V | | M | H | , | . | / |Enter |
* |------+------+------+------+------+------| |------+------+------+------+------+------| * |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | | | | | | | | | | | | * | Ctrl | Win | Alt | RGB | ADJ | Space| | Space| FN | Left | Down | Up |Right |
* \------+------+------+------+------+------/ \------+------+------+------+------+------/ * \------+------+------+------+------+------/ \------+------+------+------+------+------/
*/ */
[_COLEMAK] = BASE_LAYOUT( \ [_COLEMAK] = LAYOUT_ortho_5x12( \
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, \ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, \ KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, \
KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH \ FN_CAPS, KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, ADJ, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT \
), ),
/* / FN \ /* / FN \

View file

@ -123,10 +123,10 @@ $ cd qmk_firmware
build build
``` ```
$ make sol:default $ make rgbkb/sol:default
``` ```
After the initial flash with AVRdudess, you should be able to flash using this: After the initial flash with AVRdudess, you should be able to flash using this:
``` ```
$ make sol:default:dfu $ make rgbkb/sol:default:dfu
``` ```

View file

@ -10,6 +10,6 @@ Hardware Availability: [RGBKB](https://www.rgbkb.net)
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make zygomorph:default make rgbkb/zygomorph:default
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). 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).

View file

@ -66,4 +66,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
LAYOUTS = ortho_4x12 ortho_5x12 LAYOUTS = ortho_4x12 ortho_5x12
DEFAULT_FOLDER = zygomorph/rev1 DEFAULT_FOLDER = rgbkb/zygomorph/rev1