New keyboard addition- Larva mk.2 (#58)
* Larva mk2 initial readme * Update readme.md * Update readme.md * larva mk.1 EOL, mk.2 json update * Update readme.md * katerpillar development reversed to local for now * added lines at the end
This commit is contained in:
parent
29ffe545e2
commit
8ad9105d80
1
keyboards/grezeh/larva/larva1/readme.md
Normal file
1
keyboards/grezeh/larva/larva1/readme.md
Normal file
@ -0,0 +1 @@
|
||||
Larva mk.1 is basically deprecated. Evolved into mk.2
|
158
keyboards/grezeh/larva/larva2/config.h
Normal file
158
keyboards/grezeh/larva/larva2/config.h
Normal file
@ -0,0 +1,158 @@
|
||||
/*
|
||||
Copyright 2021 grezeh
|
||||
|
||||
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
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x0444
|
||||
#define PRODUCT_ID 0x0002
|
||||
#define DEVICE_VER 0x0002
|
||||
#define MANUFACTURER grezeh
|
||||
#define PRODUCT larva mk.2
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 4
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { D1, D2, D3, D0 }
|
||||
#define MATRIX_COL_PINS { B6, C6, C7, F7, F6, F5, F4, F1, F0, E6, D5, B0 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
|
||||
*/
|
||||
//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
|
||||
|
||||
#define LED_NUM_LOCK_PIN D7
|
||||
#define LED_CAPS_LOCK_PIN B4
|
||||
#define LED_SCROLL_LOCK_PIN D4
|
||||
//#define LED_COMPOSE_PIN B3
|
||||
#define LED_KANA_PIN D6
|
||||
|
||||
//#define BACKLIGHT_PIN B7
|
||||
//#define BACKLIGHT_LEVELS 3
|
||||
//#define BACKLIGHT_BREATHING
|
||||
#undef RGBLED_NUM
|
||||
//#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
//#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGB_DI_PIN B5
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
|
||||
#define RGBLIGHT_DEFAULT_HUE 222
|
||||
#define RGBLIGHT_DEFAULT_SAT UINT8_MAX
|
||||
#define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
/*== all animations enable ==*/
|
||||
//# define RGBLIGHT_ANIMATIONS
|
||||
/*== or choose animations ==*/
|
||||
//#define RGBLIGHT_EFFECT_BREATHING
|
||||
//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
//# define RGBLIGHT_EFFECT_SNAKE
|
||||
//#define RGBLIGHT_EFFECT_KNIGHT
|
||||
//# define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
//#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
//# define RGBLIGHT_EFFECT_RGB_TEST
|
||||
//# define RGBLIGHT_EFFECT_ALTERNATING
|
||||
/*== customize breathing effect ==*/
|
||||
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
|
||||
//#define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
|
||||
/*==== use exp() and sin() ====*/
|
||||
//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
|
||||
//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
|
||||
//#endif
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 6
|
||||
|
||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
||||
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
|
||||
*/
|
||||
//#define GRAVE_ESC_CTRL_OVERRIDE
|
||||
|
||||
/*
|
||||
* Force NKRO
|
||||
*
|
||||
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||
* makefile for this to work.)
|
||||
*
|
||||
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||
* until the next keyboard reset.
|
||||
*
|
||||
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||
* fully operational during normal computer usage.
|
||||
*
|
||||
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||
* power-up.
|
||||
*
|
||||
*/
|
||||
//#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* disable these deprecated features by default */
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
/* Bootmagic Lite key configuration */
|
||||
//#define BOOTMAGIC_LITE_ROW 0
|
||||
//#define BOOTMAGIC_LITE_COLUMN 0
|
64
keyboards/grezeh/larva/larva2/info.json
Normal file
64
keyboards/grezeh/larva/larva2/info.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"keyboard_name": "larva mk.2",
|
||||
"url": "https://imgur.com/a/SVSGSyZ https://github.com/grezeh/vial-qmk/tree/vial/keyboards/grezeh/larva/larva2 ",
|
||||
"maintainer": "grezeh",
|
||||
"width": 12,
|
||||
"height": 4,
|
||||
"layouts": {
|
||||
"mnemonik": {
|
||||
"layout": [
|
||||
{"y":0, "x":0, "label":"Esc", "w":1.5},
|
||||
{"y":0, "x":1.5, "label":"C"},
|
||||
{"y":0, "x":2.5, "label":"T"},
|
||||
{"y":0, "x":3.5, "label":"O"},
|
||||
{"y":0, "x":4.5, "label":"H"},
|
||||
{"y":0, "x":5.5, "label":"PrintS"},
|
||||
{"y":0, "x":6.5, "label":"K"},
|
||||
{"y":0, "x":7.5, "label":"W"},
|
||||
{"y":0, "x":8.5, "label":"U"},
|
||||
{"y":0, "x":9.5, "label":"R"},
|
||||
|
||||
{"y":0, "x":10.75, "label":"Enter", "w":1.25, "h":2},
|
||||
|
||||
{"y":1, "x":0, "label":"Bkspc", "w":1.25},
|
||||
{"y":1, "x":1.25, "label":"S"},
|
||||
{"y":1, "x":2.25, "label":"A"},
|
||||
{"y":1, "x":3.25, "label":"E"},
|
||||
{"y":1, "x":4.25, "label":"I"},
|
||||
{"y":1, "x":5.25, "label":"Del", "w":1.5},
|
||||
{"y":1, "x":6.75, "label":"P"},
|
||||
{"y":1, "x":7.75, "label":"L"},
|
||||
{"y":1, "x":8.75, "label":"J"},
|
||||
{"y":1, "x":9.75, "label":"F"},
|
||||
|
||||
{"y":2, "x":0, "label":"PgUp"},
|
||||
{"y":2, "x":1, "label":"["},
|
||||
{"y":2, "x":2, "label":","},
|
||||
{"y":2, "x":3, "label":"X"},
|
||||
{"y":2, "x":4, "label":"N"},
|
||||
{"y":2, "x":5, "label":"-"},
|
||||
{"y":2, "x":6, "label":"="},
|
||||
{"y":2, "x":7, "label":"M"},
|
||||
{"y":2, "x":8, "label":"Q"},
|
||||
{"y":2, "x":9, "label":"."},
|
||||
{"y":2, "x":10, "label":"]"},
|
||||
{"y":2, "x":11, "label":"PgDn"},
|
||||
|
||||
{"y":3, "x":1.25, "label":"Home", "w":1.25},
|
||||
{"y":3, "x":2.25, "label":"Ctrl", "w":1.25},
|
||||
{"y":3, "x":3.5, "label":"Space", "w":1.25},
|
||||
{"y":3, "x":4.75, "label":"Shift", "w":1.25},
|
||||
{"y":3, "x":6, "label":"Morf", "w":1.25},
|
||||
{"y":3, "x":7.25, "label":"Fx", "w":1.25},
|
||||
{"y":3, "x":8.5, "label":"Alt", "w":1.25},
|
||||
{"y":3, "x":9.75, "label":"End"},
|
||||
|
||||
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
46
keyboards/grezeh/larva/larva2/keymaps/default/keymap.c
Normal file
46
keyboards/grezeh/larva/larva2/keymaps/default/keymap.c
Normal file
@ -0,0 +1,46 @@
|
||||
/* Copyright 2021 grezeh
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Layer shorthand
|
||||
enum layer_names {
|
||||
base,
|
||||
morf,
|
||||
fx,
|
||||
};
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[base] = LAYOUT(
|
||||
KC_ESC, KC_C, KC_T, KC_O, KC_H, KC_PSCR, KC_K, KC_W, KC_U, KC_R,
|
||||
KC_BSPC, KC_S, KC_A, KC_E, KC_I, KC_DEL, KC_P, KC_L, KC_J, KC_F, KC_ENT,
|
||||
KC_PGUP, KC_LBRC, KC_COMM, KC_X, KC_N, KC_MINS, KC_EQL, KC_M, KC_Q, KC_DOT, KC_RBRC, KC_PGDN,
|
||||
KC_HOME, KC_LCTL, KC_SPC, KC_LSFT, MO(1), MO(2), KC_LALT, KC_END),
|
||||
|
||||
[morf] = LAYOUT(
|
||||
KC_TAB, KC_SCLN, KC_D, KC_PMNS, KC_PPLS, KC_NLCK, KC_G, KC_SLSH, KC_GRV, KC_QUOT,
|
||||
KC_TRNS, KC_Z, KC_PEQL, KC_PSLS, KC_PAST, KC_CAPS, KC_B, KC_BSLS, KC_Y, KC_V, KC_TRNS,
|
||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[fx] = LAYOUT(
|
||||
KC_P0, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9,
|
||||
KC_MUTE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, KC_PDOT, KC_AT, KC_HASH, KC_TILD, KC_TRNS,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
|
||||
|
||||
};
|
48
keyboards/grezeh/larva/larva2/keymaps/default/readme.md
Normal file
48
keyboards/grezeh/larva/larva2/keymaps/default/readme.md
Normal file
@ -0,0 +1,48 @@
|
||||
# The default keymap for larva2
|
||||
|
||||
```
|
||||
default (simplified) keymap without companion windows keymap file:
|
||||
|
||||
base layer (base)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│Esc | C | T | O | H |prS| K | W | U | R | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│bksp│ S | A | D | F | del | P | L | J | F | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│pU │ [ | , | X | N | - | = | M | Q | . │ ] │pD │
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mne │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
alter-alfa layer (morf)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│tab | C | T | O | H |num| K | / | ` | ' | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│bksp│ Z |p- |p/ |p* |caps | B | \ | Y | V | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│pU │ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 │ 0 │pD │
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mod │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
numbers layer (fx)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│ p0 |p1 |p2 |p3 |p4 |p5 |p6 |p7 |p8 |p9 | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│mute│lft|dwn|up |rgt|caps |p. | @ | # | ~ | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│f1 │f2 [f3 |f4 |f5 |f6 |f7 |f8 |f9 |f10|f11│f12│
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mod │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
The companion map file extends it to true potential/purpose:
|
||||
adds cyrillic mnemonically placed alphas and some additional punctuation.
|
||||
These maps are meant to work together.
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
44
keyboards/grezeh/larva/larva2/keymaps/via/keymap.c
Normal file
44
keyboards/grezeh/larva/larva2/keymaps/via/keymap.c
Normal file
@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_C, KC_T, KC_O, KC_H, KC_PSCR, KC_K, KC_W, KC_U, KC_R,
|
||||
KC_BSPC, KC_S, KC_A, KC_E, KC_I, KC_DEL, KC_P, KC_L, KC_J, KC_F, KC_ENT,
|
||||
KC_PGUP, KC_LBRC, KC_COMM, KC_X, KC_N, KC_MINS, KC_EQL, KC_M, KC_Q, KC_DOT, KC_RBRC, KC_PGDN,
|
||||
KC_HOME, KC_LCTL, KC_SPC, KC_LSFT, MO(1), MO(2), KC_LALT, KC_END),
|
||||
|
||||
[1] = LAYOUT(
|
||||
KC_TAB, KC_SCLN, KC_D, KC_PMNS, KC_PPLS, KC_NLCK, KC_G, KC_SLSH, KC_GRV, KC_QUOT,
|
||||
KC_TRNS, KC_Z, KC_PEQL, KC_PSLS, KC_PAST, KC_CAPS, KC_B, KC_BSLS, KC_Y, KC_V, KC_TRNS,
|
||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[2] = LAYOUT(
|
||||
KC_P0, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9,
|
||||
KC_MUTE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, KC_PDOT, KC_AT, KC_HASH, KC_TILD, KC_TRNS,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[3] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______)
|
||||
|
||||
};
|
3
keyboards/grezeh/larva/larva2/keymaps/via/rules.mk
Normal file
3
keyboards/grezeh/larva/larva2/keymaps/via/rules.mk
Normal file
@ -0,0 +1,3 @@
|
||||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = no
|
102
keyboards/grezeh/larva/larva2/keymaps/via/via.json
Normal file
102
keyboards/grezeh/larva/larva2/keymaps/via/via.json
Normal file
@ -0,0 +1,102 @@
|
||||
{
|
||||
"name": "larva mk.2",
|
||||
"vendorId": "0x0444",
|
||||
"productId": "0x0002",
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 12
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"f": 5,
|
||||
"w": 1.5
|
||||
},
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6",
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 1.25,
|
||||
"h": 2,
|
||||
"w2": 1.5,
|
||||
"h2": 1,
|
||||
"x2": -0.25
|
||||
},
|
||||
"1,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"1,0",
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9"
|
||||
],
|
||||
[
|
||||
"2,0",
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10",
|
||||
"2,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 1.25
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,4",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,5",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,6",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,7",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,8",
|
||||
"3,9"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
7
keyboards/grezeh/larva/larva2/keymaps/vial/config.h
Normal file
7
keyboards/grezeh/larva/larva2/keymaps/vial/config.h
Normal file
@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x49, 0xA5, 0xB2, 0x86, 0x75, 0xFF, 0x8A, 0x65}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 1, 4 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 1, 6 }
|
44
keyboards/grezeh/larva/larva2/keymaps/vial/keymap.c
Normal file
44
keyboards/grezeh/larva/larva2/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_C, KC_T, KC_O, KC_H, KC_PSCR, KC_K, KC_W, KC_U, KC_R,
|
||||
KC_BSPC, KC_S, KC_A, KC_E, KC_I, KC_DEL, KC_P, KC_L, KC_J, KC_F, KC_ENT,
|
||||
KC_PGUP, KC_LBRC, KC_COMM, KC_X, KC_N, KC_MINS, KC_EQL, KC_M, KC_Q, KC_DOT, KC_RBRC, KC_PGDN,
|
||||
KC_HOME, KC_LCTL, KC_SPC, KC_LSFT, MO(1), MO(2), KC_LALT, KC_END),
|
||||
|
||||
[1] = LAYOUT(
|
||||
KC_TAB, KC_SCLN, KC_D, KC_PMNS, KC_PPLS, KC_NLCK, KC_G, KC_SLSH, KC_GRV, KC_QUOT,
|
||||
KC_TRNS, KC_Z, KC_PEQL, KC_PSLS, KC_PAST, KC_CAPS, KC_B, KC_BSLS, KC_Y, KC_V, KC_TRNS,
|
||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[2] = LAYOUT(
|
||||
KC_P0, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9,
|
||||
KC_MUTE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, KC_PDOT, KC_AT, KC_HASH, KC_TILD, KC_TRNS,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[3] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______)
|
||||
|
||||
};
|
48
keyboards/grezeh/larva/larva2/keymaps/vial/readme.md
Normal file
48
keyboards/grezeh/larva/larva2/keymaps/vial/readme.md
Normal file
@ -0,0 +1,48 @@
|
||||
# The default keymap for larva2
|
||||
|
||||
```
|
||||
default (simplified) keymap without companion windows_os keymap file:
|
||||
|
||||
base layer (base)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│Esc | C | T | O | H |prS| K | W | U | R | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│bksp│ S | A | D | F | del | P | L | J | F | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│pU │ [ | , | X | N | - | = | M | Q | . │ ] │pD │
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mne │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
alter-alfa layer (morf)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│tab | C | T | O | H |num| K | / | ` | ' | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│bksp│ Z |p- |p/ |p* |caps | B | \ | Y | V | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│pU │ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 │ 0 │pD │
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mod │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
numbers layer (fx)
|
||||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
|
||||
│ p0 |p1 |p2 |p3 |p4 |p5 |p6 |p7 |p8 |p9 | │
|
||||
├────┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┐entr│
|
||||
│mute│lft|dwn|up |rgt|caps |p. | @ | # | ~ | │
|
||||
├───┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤
|
||||
│f1 │f2 [f3 |f4 |f5 |f6 |f7 |f8 |f9 |f10|f11│f12│
|
||||
└───┴┬──┴┬──┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴──┬┴──┬┴───┘
|
||||
│str│ctrl│spac|shft│mod │ fx │alt |end|
|
||||
└───┴────┴────┴────┴────┴────┴────┴───┘
|
||||
|
||||
The companion map file extends it to true potential/purpose:
|
||||
adds cyrillic mnemonically placed alphas and some additional punctuation.
|
||||
These maps are meant to work together.
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
4
keyboards/grezeh/larva/larva2/keymaps/vial/rules.mk
Normal file
4
keyboards/grezeh/larva/larva2/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = no
|
102
keyboards/grezeh/larva/larva2/keymaps/vial/vial.json
Normal file
102
keyboards/grezeh/larva/larva2/keymaps/vial/vial.json
Normal file
@ -0,0 +1,102 @@
|
||||
{
|
||||
"name": "larva mk.2",
|
||||
"vendorId": "0x0444",
|
||||
"productId": "0x0002",
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 12
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"f": 5,
|
||||
"w": 1.5
|
||||
},
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6",
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 1.25,
|
||||
"h": 2,
|
||||
"w2": 1.5,
|
||||
"h2": 1,
|
||||
"x2": -0.25
|
||||
},
|
||||
"1,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"1,0",
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9"
|
||||
],
|
||||
[
|
||||
"2,0",
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10",
|
||||
"2,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 1.25
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,4",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,5",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,6",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,7",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,8",
|
||||
"3,9"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
17
keyboards/grezeh/larva/larva2/larva2.c
Normal file
17
keyboards/grezeh/larva/larva2/larva2.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* Copyright 2021 grezeh
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#include "larva2.h"
|
40
keyboards/grezeh/larva/larva2/larva2.h
Normal file
40
keyboards/grezeh/larva/larva2/larva2.h
Normal file
@ -0,0 +1,40 @@
|
||||
/* Copyright 2021 grezeh
|
||||
*
|
||||
* 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
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This is a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
|
||||
#define LAYOUT( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
||||
K302, K303, K304, K305, K306, K307, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, KC_NO, KC_NO }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO, K111 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
|
||||
{ KC_NO, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \
|
||||
}
|
36
keyboards/grezeh/larva/larva2/readme.md
Normal file
36
keyboards/grezeh/larva/larva2/readme.md
Normal file
@ -0,0 +1,36 @@
|
||||
# larva mk.2
|
||||
|
||||
![larva](https://user-images.githubusercontent.com/61553650/132993572-15b619b2-919a-49bb-8439-0263a30d82ef.png)
|
||||
|
||||
Larva keyboard is designed as part of a personal platform for research
|
||||
of combined, adaptable, extended latin+cyrillic keymap and layout with better ergonomics for day-to-day use.
|
||||
|
||||
Keyboards, keymap, layouts are developed concurrently, work in symbiosis.
|
||||
I name the whole research project "mnemoNИk|Kombine".
|
||||
|
||||
Larva PCB+custom plate fits in "daisy40% hhkb" keyboard case by Kprepublic.
|
||||
Larva mk1 has 4 through-hole LED positions, no rgb. Mk2 has in addition 2 rgb smd LED slots for up-facing SK6812MINI-E LEDs
|
||||
and 2 pre-assembled mono-color smd LEDs as alternative to 2 lower through-hole LEDs(facedown, was an experimental feature)
|
||||
and a few small QoL improvements.
|
||||
Current software-side implementation consists of QMK+custom Windows keymap.
|
||||
For activating the bootloader: press the RST button on the back of the pcb.
|
||||
|
||||
(The keyboard design line is constantly evolving, can differ in shapes and sizes, but all serve the same ultimate goal.
|
||||
Current line consists of: Larva mk1; Larva mk2; Katerpillar; Katerpillar Infiltrator; Wodka; Dragonfly; Butterfly; Mothra; Stargate)
|
||||
|
||||
|
||||
* Keyboard Maintainer: [grezeh](https://github.com/grezeh)
|
||||
* Hardware Supported: *Larva mk.2 pcb (atmega32u4)*
|
||||
* Hardware Availability: *discord, occasionally, maybe*
|
||||
|
||||
QMK hex file compilation for this keyboard (after setting up your build environment,in QMK SYS for Qmk Toolbox):
|
||||
|
||||
qmk compile -kb grezeh/larva/larva2 -km default
|
||||
|
||||
VIAL hex file compilation:
|
||||
|
||||
qmk compile -kb grezeh/larva/larva2 -km vial
|
||||
|
||||
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).
|
24
keyboards/grezeh/larva/larva2/rules.mk
Normal file
24
keyboards/grezeh/larva/larva2/rules.mk
Normal file
@ -0,0 +1,24 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
LTO_ENABLE = yes
|
||||
UNICODE_ENABLE = yes # Unicode
|
Loading…
Reference in New Issue
Block a user