.
This commit is contained in:
28
keyboards/smarwei/small_manuform/config.h
Executable file
28
keyboards/smarwei/small_manuform/config.h
Executable file
@@ -0,0 +1,28 @@
|
||||
// Copyright 2022 Arne Weiss (@smarwei)
|
||||
// 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
|
||||
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// Split stuff
|
||||
#define SOFT_SERIAL_PIN D2
|
||||
|
||||
#define MASTER_RIGHT
|
||||
//#define MASTER_LEFT
|
||||
82
keyboards/smarwei/small_manuform/info.json
Executable file
82
keyboards/smarwei/small_manuform/info.json
Executable file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"manufacturer": "Arne Weiss",
|
||||
"keyboard_name": "smalltyl_manuform",
|
||||
"maintainer": "smarwei",
|
||||
"bootloader": "caterina",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"rows": ["D7", "E6", "B4", "B5"],
|
||||
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_std": {
|
||||
"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": [4, 0], "x": 0, "y": 0 },
|
||||
{ "matrix": [4, 1], "x": 1, "y": 0 },
|
||||
{ "matrix": [4, 2], "x": 2, "y": 0 },
|
||||
{ "matrix": [4, 3], "x": 3, "y": 0 },
|
||||
{ "matrix": [4, 4], "x": 4, "y": 0 },
|
||||
{ "matrix": [4, 5], "x": 5, "y": 0 },
|
||||
|
||||
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [1, 2], "x": 2, "y": 1 },
|
||||
{ "matrix": [1, 3], "x": 3, "y": 1 },
|
||||
{ "matrix": [1, 4], "x": 4, "y": 1 },
|
||||
{ "matrix": [1, 5], "x": 5, "y": 1 },
|
||||
{ "matrix": [5, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [5, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [5, 2], "x": 2, "y": 1 },
|
||||
{ "matrix": [5, 3], "x": 3, "y": 1 },
|
||||
{ "matrix": [5, 4], "x": 4, "y": 1 },
|
||||
{ "matrix": [5, 5], "x": 5, "y": 1 },
|
||||
|
||||
{ "matrix": [2, 0], "x": 0, "y": 2 },
|
||||
{ "matrix": [2, 1], "x": 1, "y": 2 },
|
||||
{ "matrix": [2, 2], "x": 2, "y": 2 },
|
||||
{ "matrix": [2, 3], "x": 3, "y": 2 },
|
||||
{ "matrix": [2, 4], "x": 4, "y": 2 },
|
||||
{ "matrix": [2, 5], "x": 5, "y": 2 },
|
||||
{ "matrix": [6, 0], "x": 0, "y": 2 },
|
||||
{ "matrix": [6, 1], "x": 1, "y": 2 },
|
||||
{ "matrix": [6, 2], "x": 2, "y": 2 },
|
||||
{ "matrix": [6, 3], "x": 3, "y": 2 },
|
||||
{ "matrix": [6, 4], "x": 4, "y": 2 },
|
||||
{ "matrix": [6, 5], "x": 5, "y": 2 },
|
||||
|
||||
{ "matrix": [3, 2], "x": 0, "y": 3 },
|
||||
{ "matrix": [3, 3], "x": 1, "y": 3 },
|
||||
{ "matrix": [3, 4], "x": 2, "y": 3 },
|
||||
{ "matrix": [3, 5], "x": 3, "y": 3 },
|
||||
{ "matrix": [3, 1], "x": 0, "y": 4 },
|
||||
|
||||
{ "matrix": [7, 2], "x": 0, "y": 3 },
|
||||
{ "matrix": [7, 3], "x": 1, "y": 3 },
|
||||
{ "matrix": [7, 4], "x": 2, "y": 3 },
|
||||
{ "matrix": [7, 5], "x": 3, "y": 3 },
|
||||
{ "matrix": [7, 1], "x": 0, "y": 4 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
83
keyboards/smarwei/small_manuform/keymaps/default/keymap.c
Executable file
83
keyboards/smarwei/small_manuform/keymaps/default/keymap.c
Executable file
@@ -0,0 +1,83 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// Tap Dance declarations
|
||||
enum {
|
||||
LAYR,
|
||||
};
|
||||
|
||||
// Tap Dance definitions
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
// TD(0) = On Tap -> MO(2); On hold -> MO(2); On double tap -> TO(3)
|
||||
[LAYR] = ACTION_TAP_DANCE_DOUBLE(MO(2), TO(0)),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┐
|
||||
* │F7 │F8 │F9 │F10│F11|F12|
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ 6 │ 7 │ 8 │ 9 │ 0 |TG |
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ J │ L │ U │ Y │ ; |F24|
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ M │ N │ E │ I │ O |CPS|
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ K │ H │ , │ . │ / |PRT|
|
||||
* └───┴───┼───┼───┼───┴───┘
|
||||
* │ - │ = |
|
||||
* ┌───┬───┼───┼───┘
|
||||
* │RET│SPC│MO1│
|
||||
* ├───┼───┼───┘
|
||||
* │LUP│LDN│
|
||||
* └───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_std(
|
||||
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_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SH_TG,
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_F24,
|
||||
KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_CAPS,
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT,
|
||||
KC_LGUI, KC_LALT, KC_MINS, KC_EQL,
|
||||
|
||||
KC_LCTL, MO(1), KC_LSFT, KC_ENT, TD(0), KC_SPC,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_LSFT
|
||||
|
||||
),
|
||||
|
||||
[1] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_ESC, KC_WH_U, KC_WBAK, KC_WFWD, KC_MS_U, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_DEL, KC_ESC,
|
||||
_______, KC_LALT, KC_WH_D, KC_LSFT, KC_LCTL, KC_MS_D, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, KC_MENU,
|
||||
_______, KC_WH_L, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE, KC_BTN1, KC_BTN2, KC_BTN3, KC_MS_L, KC_MS_R, KC_WH_R,
|
||||
_______, _______, KC_0, KC_INS,
|
||||
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______
|
||||
|
||||
),
|
||||
|
||||
[2] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, _______, _______, _______, _______, _______, S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, _______, _______, _______, _______, _______, S(KC_EQL), S(KC_5), S(KC_COMM), KC_DOT, KC_SCLN, _______,
|
||||
_______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______, TO(0), _______,
|
||||
_______, _______, _______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
_______, _______, _______, _______, _______, _______, KC_PSCR, KC_7, KC_8, KC_9, KC_PPLS, KC_F12,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_4, KC_5, KC_6, KC_0, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
_______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______, TO(0), _______,
|
||||
_______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
75
keyboards/smarwei/small_manuform/keymaps/default/keymap_left.c
Executable file
75
keyboards/smarwei/small_manuform/keymaps/default/keymap_left.c
Executable file
@@ -0,0 +1,75 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _LOWER 3
|
||||
#define _RAISE 4
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┐
|
||||
* │F7 │F8 │F9 │F10│F11|F12|
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ ~ │ 1 │ 2 │ 3 │ 4 | 5 |
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ A │ Q │ W │ F │ P | B |
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ A │ A │ R │ S │ T | G |
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ A │ Z │ , │ . │ / |PRT|
|
||||
* └───┴───┼───┼───┼───┴───┘
|
||||
* │B1 │B2 |
|
||||
* └───┼───┼───┬───┐
|
||||
* │RET│SPC│ - │
|
||||
* └───┼───┼───┤
|
||||
* │LUP│LDN│
|
||||
* └───┴───┘
|
||||
*/
|
||||
|
||||
[0] = LAYOUT_left(
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
|
||||
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B,
|
||||
KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V,
|
||||
KC_BTN1, KC_BTN2,
|
||||
|
||||
KC_A, MO(3), KC_LSFT,
|
||||
KC_LCTL, KC_LALT
|
||||
),
|
||||
|
||||
[1] = LAYOUT_left(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_UNDS, KC_LBRC, KC_RBRC, KC_CIRC,
|
||||
_______, KC_BSLS, KC_SLSH, KC_LCBR, KC_RCBR, KC_ASTR,
|
||||
_______, KC_HASH, KC_DLR, KC_PIPE, KC_TILD, KC_GRV,
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______,
|
||||
|
||||
KC_A, MO(2), KC_LSFT,
|
||||
KC_LCTL, KC_LALT
|
||||
),
|
||||
|
||||
[2] = LAYOUT_left(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN,
|
||||
_______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END,
|
||||
_______, _______, KC_TAB, _______, KC_ENT, _______,
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______,
|
||||
|
||||
_______, _______, _______,
|
||||
_______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT_left(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, KC_ESC, KC_WH_U, KC_WBAK, KC_WFWD, KC_MS_U,
|
||||
_______, KC_LALT, KC_WH_D, KC_LSFT, KC_LCTL, KC_MS_D,
|
||||
_______, KC_WH_L, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE,
|
||||
_______, _______,
|
||||
|
||||
KC_A, _______, KC_LSFT,
|
||||
KC_LCTL, KC_LALT
|
||||
)
|
||||
|
||||
};
|
||||
73
keyboards/smarwei/small_manuform/keymaps/default/keymap_right.c
Executable file
73
keyboards/smarwei/small_manuform/keymaps/default/keymap_right.c
Executable file
@@ -0,0 +1,73 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _LOWER 3
|
||||
#define _RAISE 4
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┐
|
||||
* │F7 │F8 │F9 │F10│F11|F12|
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ 6 │ 7 │ 8 │ 9 │ 0 |TG |
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ J │ L │ U │ Y │ ; |F24|
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ M │ N │ E │ I │ O |CPS|
|
||||
* ├───┼───┼───┼───┼───┼───|
|
||||
* │ K │ H │ , │ . │ / |PRT|
|
||||
* └───┴───┼───┼───┼───┴───┘
|
||||
* │ - │ = |
|
||||
* ┌───┬───┼───┼───┘
|
||||
* │RET│SPC│MO1│
|
||||
* ├───┼───┼───┘
|
||||
* │LUP│LDN│
|
||||
* └───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_std(
|
||||
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||
KC_6, KC_7, KC_8, KC_9, KC_0, SH_TG,
|
||||
KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_F24,
|
||||
KC_M, KC_N, KC_E, KC_I, KC_O, KC_CAPS,
|
||||
KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT,
|
||||
KC_MINS, KC_EQL,
|
||||
|
||||
KC_ENT, MO(3), KC_SPC,
|
||||
KC_LGUI, KC_LSFT
|
||||
),
|
||||
|
||||
[1] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN), S(KC_2),
|
||||
S(KC_EQL), S(KC_5), S(KC_COMM), KC_DOT, KC_SCLN, _______,
|
||||
_______, _______,
|
||||
|
||||
_______, _______, _______,
|
||||
_______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_PSCR, KC_7, KC_8, KC_9, KC_PPLS, KC_F12,
|
||||
KC_0, KC_4, KC_5, KC_6, KC_0, _______,
|
||||
KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
KC_0, KC_0,
|
||||
|
||||
_______, _______, _______,
|
||||
_______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______,
|
||||
KC_PGUP, KC_HOME, KC_UP, KC_END, KC_DEL, KC_ESC,
|
||||
KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, KC_MENU,
|
||||
KC_BTN1, KC_BTN2, KC_BTN3, KC_MS_L, KC_MS_R, KC_WH_R,
|
||||
KC_0, KC_0,
|
||||
|
||||
_______, _______, _______,
|
||||
_______, _______
|
||||
)
|
||||
};
|
||||
5
keyboards/smarwei/small_manuform/keymaps/vial/config.h
Executable file
5
keyboards/smarwei/small_manuform/keymaps/vial/config.h
Executable file
@@ -0,0 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x65, 0x61, 0x6F, 0x1C, 0x90, 0x5D, 0x5F, 0x77}
|
||||
68
keyboards/smarwei/small_manuform/keymaps/vial/keymap.c
Executable file
68
keyboards/smarwei/small_manuform/keymaps/vial/keymap.c
Executable file
@@ -0,0 +1,68 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// TD(0) = On Tap -> MO(2); On hold -> MO(2); On double tap -> TO(3)
|
||||
|
||||
bool caps_word_press_user(uint16_t keycode) {
|
||||
switch (keycode) {
|
||||
// Keycodes that continue Caps Word, with shift applied.
|
||||
case KC_A:
|
||||
return true;
|
||||
case KC_B ... KC_Z:
|
||||
case TD(4):
|
||||
case TD(5):
|
||||
case TD(6):
|
||||
case TD(7):
|
||||
case KC_MINS:
|
||||
add_weak_mods(MOD_BIT(KC_LSFT)); // Apply shift to next key.
|
||||
return true;
|
||||
|
||||
// Keycodes that continue Caps Word, without shifting.
|
||||
case KC_1 ... KC_0:
|
||||
case KC_BSPC:
|
||||
case KC_DEL:
|
||||
case KC_UNDS:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false; // Deactivate Caps Word.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_std(
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_F24,
|
||||
KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_CAPS,
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, TT(3),
|
||||
KC_LGUI, KC_LALT, MO(1), KC_LCTL, KC_ENT, MO(2), KC_MINS, KC_EQL,
|
||||
KC_LSFT, KC_SPACE
|
||||
|
||||
),
|
||||
|
||||
[1] = LAYOUT_std(
|
||||
_______, KC_ESC, KC_WH_U, KC_WBAK, KC_WFWD, KC_MS_U, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_DEL, KC_ESC,
|
||||
_______, KC_LALT, KC_WH_D, KC_LSFT, KC_LCTL, KC_MS_D, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, KC_MENU,
|
||||
_______, KC_WH_L, KC_UNDO, KC_CUT, KC_COPY, C(S(KC_V)), KC_BTN1, KC_BTN2, KC_BTN3, KC_MS_L, KC_MS_R, KC_WH_R,
|
||||
_______, _______, _______, _______, _______, TO(0), _______, _______,
|
||||
_______, _______
|
||||
|
||||
),
|
||||
|
||||
[2] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, _______, TO(0), _______, _______, _______, _______
|
||||
_______, _______, S(KC_MINS), KC_LBRC, KC_RBRC, S(KC_6), S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, KC_NUBS, KC_SLSH, S(KC_LBRC), S(KC_RBRC),S(KC_8), S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, S(KC_3), S(KC_4), S(KC_NUBS), S(KC_GRV), KC_GRV, S(KC_EQL), S(KC_5), S(KC_QUOT), KC_QUOT, KC_SCLN, _______,
|
||||
_______, _______, _______, _______, _______, TO(0), _______, _______,
|
||||
_______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, KC_PSCR, KC_7, KC_8, KC_9, KC_PPLS, KC_F12,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_4, KC_5, KC_6, KC_0, _______,
|
||||
QK_BOOT, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_INS,
|
||||
_______, _______
|
||||
)
|
||||
};
|
||||
6
keyboards/smarwei/small_manuform/keymaps/vial/rules.mk
Executable file
6
keyboards/smarwei/small_manuform/keymaps/vial/rules.mk
Executable file
@@ -0,0 +1,6 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIAL_INSECURE = yes
|
||||
SPLIT_KEYBOARD = yes
|
||||
LTO_ENABLE = yes
|
||||
COMBO_ENABLE = no
|
||||
147
keyboards/smarwei/small_manuform/keymaps/vial/vial.json
Executable file
147
keyboards/smarwei/small_manuform/keymaps/vial/vial.json
Executable file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 14,
|
||||
"cols": 6
|
||||
},
|
||||
"layouts": {
|
||||
"keymap":
|
||||
[
|
||||
{
|
||||
"name": "Smalltyl Manuform",
|
||||
"author": "Arne Weiß"
|
||||
},
|
||||
[
|
||||
{
|
||||
"x": 2
|
||||
},
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
{
|
||||
"x": 2.25
|
||||
},
|
||||
"4,0",
|
||||
"4,1",
|
||||
"4,2",
|
||||
"4,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"0,0",
|
||||
"0,1",
|
||||
{
|
||||
"x": 10.25
|
||||
},
|
||||
"4,4",
|
||||
"4,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.25,
|
||||
"x": 2,
|
||||
"a": 7
|
||||
},
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
{
|
||||
"x": 2.25
|
||||
},
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"",
|
||||
"",
|
||||
{
|
||||
"x": 10.25
|
||||
},
|
||||
"",
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.25,
|
||||
"x": 2
|
||||
},
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
{
|
||||
"x": 2.25
|
||||
},
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"",
|
||||
"",
|
||||
{
|
||||
"x": 10.25
|
||||
},
|
||||
"",
|
||||
""
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.25,
|
||||
"x": 2,
|
||||
"a": 4
|
||||
},
|
||||
"3,2",
|
||||
"3,3",
|
||||
{
|
||||
"x": 6.25
|
||||
},
|
||||
"7,3",
|
||||
"7,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 15,
|
||||
"y": -2.25,
|
||||
"x": 5.25
|
||||
},
|
||||
"3,4",
|
||||
"3,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 6.25
|
||||
},
|
||||
"3,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -15,
|
||||
"y": 1.75,
|
||||
"x": 6.5
|
||||
},
|
||||
"7,5",
|
||||
"7,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 6.5
|
||||
},
|
||||
"7,1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
27
keyboards/smarwei/small_manuform/readme.md
Executable file
27
keyboards/smarwei/small_manuform/readme.md
Executable file
@@ -0,0 +1,27 @@
|
||||
# wdactyl_dummy
|
||||
|
||||

|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [Arne Weiss](https://github.com/smarwei)
|
||||
* 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 wdactyl_dummy:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make wdactyl_dummy: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 `RESET` if it is available
|
||||
7
keyboards/smarwei/small_manuform/rules.mk
Executable file
7
keyboards/smarwei/small_manuform/rules.mk
Executable file
@@ -0,0 +1,7 @@
|
||||
# This file intentionally left blank
|
||||
#VIA_ENABLE = yes
|
||||
#VIAL_ENABLE = yes
|
||||
#VIAL_INSECURE = yes
|
||||
SPLIT_KEYBOARD = yes
|
||||
CAPS_WORD_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
13
keyboards/smarwei/void40/config.h
Normal file → Executable file
13
keyboards/smarwei/void40/config.h
Normal file → Executable file
@@ -19,9 +19,16 @@
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define LEADER_PER_KEY_TIMING
|
||||
#define LEADER_TIMEOUT 250
|
||||
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
#define USB_MAX_POWER_CONSUMPTION 500
|
||||
|
||||
// LED stuff
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 13
|
||||
#define RGBLIGHT_DEFAULT_HUE 120
|
||||
#define RGBLIGHT_MODE_BREATHING 2
|
||||
#define RGBLED_NUM 36
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
|
||||
#define RGBLIGHT_DEFAULT_HUE 255
|
||||
#define RGBLIGHT_DEFAULT_SAT 0
|
||||
0
keyboards/smarwei/void40/info.json
Normal file → Executable file
0
keyboards/smarwei/void40/info.json
Normal file → Executable file
0
keyboards/smarwei/void40/keymaps/default/keymap.c
Normal file → Executable file
0
keyboards/smarwei/void40/keymaps/default/keymap.c
Normal file → Executable file
0
keyboards/smarwei/void40/keymaps/vial/config.h
Normal file → Executable file
0
keyboards/smarwei/void40/keymaps/vial/config.h
Normal file → Executable file
69
keyboards/smarwei/void40/keymaps/vial/keymap.c
Normal file → Executable file
69
keyboards/smarwei/void40/keymaps/vial/keymap.c
Normal file → Executable file
@@ -1,4 +1,8 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#ifdef CONSOLE_ENABLE
|
||||
#include "print.h"
|
||||
#endif
|
||||
|
||||
|
||||
// XMonad Combos
|
||||
// #define TRMNAL G(S(KC_ENT))
|
||||
@@ -10,13 +14,66 @@
|
||||
// TD(0) = On Tap -> MO(2); On hold -> MO(2); On double tap -> TO(3)
|
||||
// TD(0) = On hold -> MO(2); On double tap -> TO(2)
|
||||
|
||||
bool caps_word_press_user(uint16_t keycode) {
|
||||
switch (keycode) {
|
||||
// Keycodes that continue Caps Word, with shift applied.
|
||||
case KC_A:
|
||||
return true;
|
||||
case KC_B ... KC_Z:
|
||||
case TD(4):
|
||||
case TD(5):
|
||||
case TD(6):
|
||||
uprintf("Keycode 6: %d\n", keycode);
|
||||
case TD(7):
|
||||
uprintf("Keycode 7: %d\n", keycode);
|
||||
print("-------\n");
|
||||
case KC_MINS:
|
||||
print("Shifting\n");
|
||||
add_weak_mods(MOD_BIT(KC_LSFT)); // Apply shift to next key.
|
||||
return true;
|
||||
|
||||
// Keycodes that continue Caps Word, without shifting.
|
||||
case KC_1 ... KC_0:
|
||||
case KC_BSPC:
|
||||
case KC_DEL:
|
||||
case KC_UNDS:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false; // Deactivate Caps Word.
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONSOLE_ENABLE
|
||||
void keyboard_post_init_user(void) {
|
||||
// Customise these values to desired behaviour
|
||||
debug_enable=true;
|
||||
// debug_matrix=true;
|
||||
// debug_keyboard=true;
|
||||
//debug_mouse=true;
|
||||
|
||||
|
||||
static uint16_t underglow_brightness = 0;
|
||||
static uint16_t perkey_brightness = 0;
|
||||
|
||||
for (i = 0; i < RGBLED_NUM; i++) {
|
||||
if (i < 6) {
|
||||
rgblight_config.val = underglow_brightness;
|
||||
} else {
|
||||
rgblight_config.val = perkey_brightness;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_std(
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_F24,
|
||||
KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_CAPS,
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT,
|
||||
KC_LSFT, KC_LGUI, KC_LALT, KC_LCTL, MO(1), KC_LSFT, KC_ENT, TD(0), KC_SPC, KC_MINS, KC_EQL, TO(3)
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, TT(3),
|
||||
KC_NO, KC_LGUI, KC_LALT, KC_LCTL, MO(1), KC_LSFT, KC_ENT, MO(2), KC_SPC, KC_MINS, KC_EQL, KC_RSFT
|
||||
),
|
||||
|
||||
[1] = LAYOUT_std(
|
||||
@@ -27,9 +84,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
),
|
||||
|
||||
[2] = LAYOUT_std(
|
||||
_______, _______, S(KC_MINS), S(KC_LBRC), S(KC_RBRC), S(KC_6), S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, KC_NUBS, KC_SLSH, KC_LBRC, KC_RBRC, S(8), S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, S(3), S(4), S(KC_NUBS), S(KC_GRV), KC_GRV, S(KC_EQL), S(KC_5), S(KC_COMM), KC_DOT, KC_SCLN, _______,
|
||||
_______, _______, S(KC_MINS), KC_LBRC, KC_RBRC, S(KC_6), S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, KC_NUBS, KC_SLSH, S(KC_LBRC), S(KC_RBRC), S(KC_8), S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, S(KC_3), S(KC_4), S(KC_NUBS), S(KC_GRV), KC_GRV, S(KC_EQL), S(KC_5), S(KC_QUOT), KC_QUOT, KC_SCLN, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, TO(0), _______, _______, _______, _______
|
||||
),
|
||||
|
||||
@@ -37,7 +94,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
_______, _______, _______, _______, _______, _______, KC_PSCR, KC_7, KC_8, KC_9, KC_PPLS, KC_F12,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_4, KC_5, KC_6, KC_0, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
QK_BOOT, _______, _______, _______, _______, _______, _______, TO(0), _______, _______, _______, _______
|
||||
QK_BOOT, _______, _______, _______, _______, _______, _______, TO(0), _______, _______, _______, TO(0)
|
||||
)
|
||||
|
||||
// [4] = LAYOUT_std(
|
||||
|
||||
431
keyboards/smarwei/void40/keymaps/vial/keymap.vil
Normal file → Executable file
431
keyboards/smarwei/void40/keymaps/vial/keymap.vil
Normal file → Executable file
@@ -1,430 +1 @@
|
||||
{
|
||||
"version": 1,
|
||||
"uid": 9678425137578832614,
|
||||
"layout": [
|
||||
[
|
||||
[
|
||||
"KC_TAB",
|
||||
"KC_Q",
|
||||
"KC_W",
|
||||
"KC_F",
|
||||
"KC_P",
|
||||
"KC_B",
|
||||
"KC_J",
|
||||
"KC_L",
|
||||
"KC_U",
|
||||
"KC_Y",
|
||||
"KC_SCOLON",
|
||||
"RESET"
|
||||
],
|
||||
[
|
||||
"KC_ESCAPE",
|
||||
"KC_A",
|
||||
"KC_R",
|
||||
"KC_S",
|
||||
"KC_T",
|
||||
"KC_G",
|
||||
"KC_M",
|
||||
"KC_N",
|
||||
"KC_E",
|
||||
"KC_I",
|
||||
"KC_O",
|
||||
"KC_CAPSLOCK"
|
||||
],
|
||||
[
|
||||
23980,
|
||||
"KC_Z",
|
||||
"KC_X",
|
||||
"KC_C",
|
||||
"KC_D",
|
||||
"KC_V",
|
||||
"KC_K",
|
||||
"KC_H",
|
||||
"KC_COMMA",
|
||||
"KC_DOT",
|
||||
"KC_SLASH",
|
||||
"KC_RSHIFT"
|
||||
],
|
||||
[
|
||||
"KC_LSHIFT",
|
||||
"KC_LGUI",
|
||||
"KC_LALT",
|
||||
"KC_LCTRL",
|
||||
"MO(1)",
|
||||
"KC_LSHIFT",
|
||||
"KC_ENTER",
|
||||
"TD(0)",
|
||||
"KC_SPACE",
|
||||
"KC_MINUS",
|
||||
"KC_EQUAL",
|
||||
"TO(3)"
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_ESCAPE",
|
||||
"KC_WH_U",
|
||||
"KC_WBAK",
|
||||
"KC_WFWD",
|
||||
"KC_MS_U",
|
||||
"KC_PGUP",
|
||||
"KC_HOME",
|
||||
"KC_UP",
|
||||
"KC_END",
|
||||
"KC_DELETE",
|
||||
"KC_ESCAPE"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_LALT",
|
||||
"KC_WH_D",
|
||||
"KC_LSHIFT",
|
||||
"KC_LCTRL",
|
||||
"KC_MS_D",
|
||||
"KC_PGDOWN",
|
||||
"KC_LEFT",
|
||||
"KC_DOWN",
|
||||
"KC_RIGHT",
|
||||
"KC_BSPACE",
|
||||
118
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_WH_L",
|
||||
"KC_UNDO",
|
||||
"KC_CUT",
|
||||
"KC_COPY",
|
||||
"C_S(KC_V)",
|
||||
"KC_BTN1",
|
||||
"KC_BTN2",
|
||||
"KC_BTN3",
|
||||
"KC_MS_L",
|
||||
"KC_MS_R",
|
||||
"KC_WH_R"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"TO(0)",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS"
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"LSFT(KC_MINUS)",
|
||||
"LSFT(KC_LBRACKET)",
|
||||
"LSFT(KC_RBRACKET)",
|
||||
"LSFT(KC_6)",
|
||||
"LSFT(KC_1)",
|
||||
"LSFT(KC_COMMA)",
|
||||
"LSFT(KC_DOT)",
|
||||
"KC_EQUAL",
|
||||
"LSFT(KC_7)",
|
||||
"KC_TRNS"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_NONUS_BSLASH",
|
||||
"KC_SLASH",
|
||||
"KC_LBRACKET",
|
||||
"KC_RBRACKET",
|
||||
"LSFT(KC_E)",
|
||||
"LSFT(KC_SLASH)",
|
||||
"LSFT(KC_9)",
|
||||
"LSFT(KC_0)",
|
||||
"KC_MINUS",
|
||||
"LSFT(KC_SCOLON)",
|
||||
"LSFT(KC_2)"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
515,
|
||||
"LSFT(KC_A)",
|
||||
"LSFT(KC_NONUS_BSLASH)",
|
||||
"LSFT(KC_GRAVE)",
|
||||
"KC_GRAVE",
|
||||
"LSFT(KC_EQUAL)",
|
||||
"LSFT(KC_5)",
|
||||
"LSFT(KC_COMMA)",
|
||||
"KC_DOT",
|
||||
"KC_SCOLON",
|
||||
"KC_TRNS"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"TO(0)",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS"
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_PSCREEN",
|
||||
"KC_7",
|
||||
"KC_8",
|
||||
"KC_9",
|
||||
"KC_KP_PLUS",
|
||||
"KC_F12"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_0",
|
||||
"KC_4",
|
||||
"KC_5",
|
||||
"KC_6",
|
||||
"KC_0",
|
||||
"KC_TRNS"
|
||||
],
|
||||
[
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_0",
|
||||
"KC_1",
|
||||
"KC_2",
|
||||
"KC_3",
|
||||
"KC_DOT",
|
||||
"KC_COMMA"
|
||||
],
|
||||
[
|
||||
"RESET",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"TO(0)",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS",
|
||||
"KC_TRNS"
|
||||
]
|
||||
]
|
||||
],
|
||||
"encoder_layout": [
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"layout_options": -1,
|
||||
"macro": [
|
||||
[
|
||||
[
|
||||
"down",
|
||||
"KC_LSHIFT"
|
||||
],
|
||||
[
|
||||
"tap",
|
||||
"KC_9"
|
||||
],
|
||||
[
|
||||
"up",
|
||||
"KC_LSHIFT"
|
||||
],
|
||||
[
|
||||
"down",
|
||||
"KC_LSHIFT"
|
||||
],
|
||||
[
|
||||
"tap",
|
||||
"KC_SCOLON"
|
||||
],
|
||||
[
|
||||
"up",
|
||||
"KC_LSHIFT"
|
||||
]
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"vial_protocol": 5,
|
||||
"via_protocol": 9,
|
||||
"tap_dance": [
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
200
|
||||
]
|
||||
],
|
||||
"combo": [
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
],
|
||||
[
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO"
|
||||
]
|
||||
],
|
||||
"key_override": [],
|
||||
"settings": {
|
||||
"1": 0,
|
||||
"2": 50,
|
||||
"3": 0,
|
||||
"4": 175,
|
||||
"5": 5,
|
||||
"6": 5000,
|
||||
"7": 200,
|
||||
"8": 0,
|
||||
"9": 10,
|
||||
"10": 20,
|
||||
"11": 8,
|
||||
"12": 10,
|
||||
"13": 30,
|
||||
"14": 10,
|
||||
"15": 80,
|
||||
"16": 8,
|
||||
"17": 40,
|
||||
"18": 10,
|
||||
"19": 80,
|
||||
"20": 5,
|
||||
"21": 0
|
||||
}
|
||||
}
|
||||
{"version": 1, "uid": 9678425137578832614, "layout": [[["KC_TAB", "KC_Q", "KC_W", "KC_F", "KC_P", "KC_B", "KC_J", "KC_L", "KC_U", "KC_Y", "KC_SCOLON", "KC_F24"], ["KC_ESCAPE", "KC_A", "KC_R", "KC_S", "KC_T", "KC_G", "KC_M", "KC_N", "KC_E", "KC_I", "KC_O", "KC_CAPSLOCK"], [23980, "KC_Z", "KC_X", "KC_C", "KC_D", "KC_V", "KC_K", "KC_H", "KC_COMMA", "KC_DOT", "KC_SLASH", "KC_RSHIFT"], ["KC_LALT", "KC_LGUI", "KC_RALT", "KC_LCTRL", "MO(1)", "KC_LSHIFT", "KC_ENTER", "MO(2)", "KC_SPACE", "KC_MINUS", "KC_EQUAL", "TT(3)"]], [["KC_TRNS", "KC_ESCAPE", "KC_WH_U", "KC_WBAK", "KC_WFWD", "KC_MS_U", "KC_PGUP", "KC_HOME", "KC_UP", "KC_END", "KC_DELETE", "KC_ESCAPE"], ["KC_TRNS", "KC_LALT", "KC_WH_D", "KC_LSHIFT", "KC_LCTRL", "KC_MS_D", "KC_PGDOWN", "KC_LEFT", "KC_DOWN", "KC_RIGHT", "KC_BSPACE", 118], ["KC_TRNS", "KC_WH_L", "KC_UNDO", "KC_CUT", "KC_COPY", "C_S(KC_V)", "KC_BTN1", "KC_BTN2", "KC_BTN3", "KC_MS_L", "KC_MS_R", "KC_WH_R"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(0)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS", "LSFT(KC_MINUS)", "KC_LBRACKET", "KC_RBRACKET", "LSFT(KC_6)", "LSFT(KC_1)", "LSFT(KC_COMMA)", "LSFT(KC_DOT)", "KC_EQUAL", "LSFT(KC_7)", "KC_TRNS"], ["KC_TRNS", "KC_NONUS_BSLASH", "KC_SLASH", "LSFT(KC_LBRACKET)", "LSFT(KC_RBRACKET)", "LSFT(KC_8)", "LSFT(KC_SLASH)", "LSFT(KC_9)", "LSFT(KC_0)", "KC_MINUS", "LSFT(KC_SCOLON)", "LSFT(KC_2)"], ["KC_TRNS", "LSFT(KC_3)", "LSFT(KC_4)", "LSFT(KC_NONUS_BSLASH)", "LSFT(KC_GRAVE)", "KC_GRAVE", "LSFT(KC_EQUAL)", "LSFT(KC_5)", "LSFT(KC_QUOTE)", "KC_QUOTE", "KC_SCOLON", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(0)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"]], [["M0", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_PSCREEN", "KC_7", "KC_8", "KC_9", "KC_KP_PLUS", "KC_F12"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_0", "KC_4", "KC_5", "KC_6", "KC_0", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_0", "KC_1", "KC_2", "KC_3", "KC_DOT", "KC_COMMA"], ["RESET", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(0)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(0)"]]], "encoder_layout": [[], [], [], []], "layout_options": 0, "macro": [[["text", "ssh -l modias energy.cypres-it.com"], ["tap", "KC_ENTER", "KC_TRNS"], ["delay", 500], ["text", "m0dmxw"], ["tap", "KC_ENTER", "TO(0)"]], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []], "vial_protocol": 5, "via_protocol": 9, "tap_dance": [["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200]], "combo": [["KC_E", "KC_U", "KC_NO", "KC_NO", "RALT(KC_Y)"], ["KC_E", "KC_A", "KC_NO", "KC_NO", "RALT(KC_Q)"], ["KC_E", "KC_O", "KC_NO", "KC_NO", "RALT(KC_P)"], ["KC_S", "KC_E", "KC_NO", "KC_NO", "RALT(KC_S)"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_LALT", "KC_Q", "KC_NO", "KC_NO", "KC_2"]], "key_override": [], "settings": {"1": 0, "2": 50, "3": 0, "4": 175, "5": 5, "6": 5000, "7": 200, "8": 0, "9": 10, "10": 20, "11": 8, "12": 10, "13": 30, "14": 10, "15": 80, "16": 8, "17": 40, "18": 10, "19": 80, "20": 5, "21": 0}}
|
||||
0
keyboards/smarwei/void40/keymaps/vial/rules.mk
Normal file → Executable file
0
keyboards/smarwei/void40/keymaps/vial/rules.mk
Normal file → Executable file
2
keyboards/smarwei/void40/keymaps/vial/vial.json
Normal file → Executable file
2
keyboards/smarwei/void40/keymaps/vial/vial.json
Normal file → Executable file
@@ -126,7 +126,7 @@
|
||||
"x": 5,
|
||||
"w": 2
|
||||
},
|
||||
"3,5\n\n\n0,1"
|
||||
"3,6\n\n\n0,1"
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
0
keyboards/smarwei/void40/readme.md
Normal file → Executable file
0
keyboards/smarwei/void40/readme.md
Normal file → Executable file
3
keyboards/smarwei/void40/rules.mk
Normal file → Executable file
3
keyboards/smarwei/void40/rules.mk
Normal file → Executable file
@@ -5,3 +5,6 @@
|
||||
CAPS_WORD_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
LEADER_ENABLE = no
|
||||
COMBO_ENABLE = yes
|
||||
CONSOLE_ENABLE=no # debugging
|
||||
0
keyboards/smarwei/wdactyl/keymap_left.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl/keymap_left.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl/keymap_right.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl/keymap_right.c
Normal file → Executable file
3
keyboards/smarwei/wdactyl_combined/config.h
Normal file → Executable file
3
keyboards/smarwei/wdactyl_combined/config.h
Normal file → Executable file
@@ -19,9 +19,10 @@
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// Split stuff
|
||||
#define SOFT_SERIAL_PIN D2
|
||||
|
||||
#define MASTER_RIGHT
|
||||
// #define MASTER_LEFT
|
||||
//#define MASTER_LEFT
|
||||
0
keyboards/smarwei/wdactyl_combined/info.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/info.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap_left.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap_left.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap_right.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/default/keymap_right.c
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/config.h
Normal file → Executable file
43
keyboards/smarwei/wdactyl_combined/keymaps/vial/keymap.c
Normal file → Executable file
43
keyboards/smarwei/wdactyl_combined/keymaps/vial/keymap.c
Normal file → Executable file
@@ -2,6 +2,33 @@
|
||||
|
||||
// TD(0) = On Tap -> MO(2); On hold -> MO(2); On double tap -> TO(3)
|
||||
|
||||
bool caps_word_press_user(uint16_t keycode) {
|
||||
switch (keycode) {
|
||||
// Keycodes that continue Caps Word, with shift applied.
|
||||
case KC_A:
|
||||
return true;
|
||||
case KC_B ... KC_Z:
|
||||
case TD(4):
|
||||
case TD(5):
|
||||
case TD(6):
|
||||
case TD(7):
|
||||
case KC_MINS:
|
||||
add_weak_mods(MOD_BIT(KC_LSFT)); // Apply shift to next key.
|
||||
return true;
|
||||
|
||||
// Keycodes that continue Caps Word, without shifting.
|
||||
case KC_1 ... KC_0:
|
||||
case KC_BSPC:
|
||||
case KC_DEL:
|
||||
case KC_UNDS:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false; // Deactivate Caps Word.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_std(
|
||||
@@ -9,11 +36,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SH_TG,
|
||||
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_F24,
|
||||
KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_CAPS,
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, KC_RSFT,
|
||||
CAPSWRD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLASH, TT(3),
|
||||
KC_LGUI, KC_LALT, KC_MINS, KC_EQL,
|
||||
|
||||
KC_LCTL, MO(1), KC_LSFT, KC_ENT, TD(0), KC_SPC,
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_LSFT
|
||||
MO(1), KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(2),
|
||||
KC_LSFT, KC_LSHFT, KC_RALT, KC_SPACE
|
||||
|
||||
),
|
||||
|
||||
@@ -33,9 +60,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[2] = LAYOUT_std(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, _______, _______, _______, _______, _______, S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, _______, _______, _______, _______, _______, S(KC_EQL), S(KC_5), S(KC_COMM), KC_DOT, KC_SCLN, _______,
|
||||
_______, _______, S(KC_MINS), S(KC_LBRC), S(KC_RBRC),S(KC_6), S(KC_1), S(KC_COMM), S(KC_DOT), KC_EQL, S(KC_7), _______,
|
||||
_______, KC_NUBS, KC_SLSH, KC_LBRC, KC_RBRC, S(8), S(KC_SLSH), S(KC_9), S(KC_0), KC_MINS, S(KC_SCLN),S(KC_2),
|
||||
_______, S(3), S(4), S(KC_NUBS), S(KC_GRV), KC_GRV, S(KC_EQL), S(KC_5), S(KC_COMM), KC_DOT, KC_SCLN, _______,
|
||||
_______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______, TO(0), _______,
|
||||
@@ -47,10 +74,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
_______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
_______, _______, _______, _______, _______, _______, KC_PSCR, KC_7, KC_8, KC_9, KC_PPLS, KC_F12,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_4, KC_5, KC_6, KC_0, _______,
|
||||
_______, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
QK_BOOT, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_COMM,
|
||||
_______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______, TO(0), _______,
|
||||
_______, _______, _______, _______
|
||||
_______, _______, _______, TO(0)
|
||||
)
|
||||
};
|
||||
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/vial.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/keymaps/vial/vial.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_combined/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/info.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/info.json
Normal file → Executable file
@@ -1 +0,0 @@
|
||||
../../../wdactyl/keymap_right.c
|
||||
0
keyboards/smarwei/wdactyl_dummy/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_dummy/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/info.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/info.json
Normal file → Executable file
@@ -1 +0,0 @@
|
||||
../../../wdactyl/keymap_left.c
|
||||
0
keyboards/smarwei/wdactyl_left/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_left/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/config.h
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/info.json
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/info.json
Normal file → Executable file
@@ -1 +0,0 @@
|
||||
../../../wdactyl/keymap_right.c
|
||||
0
keyboards/smarwei/wdactyl_right/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/keymaps/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/readme.md
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/rules.mk
Normal file → Executable file
0
keyboards/smarwei/wdactyl_right/rules.mk
Normal file → Executable file
Reference in New Issue
Block a user