add Vault35 katana (#605)

* added qaz fold

* added vault35 katana

* added chiffre 32

* Update keyboards/le_chiffre_32/keymaps/vial/rules.mk

make secure

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* Delete keyboards/le_chiffre_32 directory

* Delete keyboards/tominabox1/qazfold directory

* Create rules.mk

* Apply suggestions from code review

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* change rgb.c to vault35_katana.c

* moved LED matrix to info.json

* Apply suggestions from code review

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

---------

Co-authored-by: avshockeyw <avshockeyw@users.noreply.github.com>
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
This commit is contained in:
josh-l-wang 2023-12-03 00:28:31 -05:00 committed by GitHub
parent 5d58ad87eb
commit 91fb55983a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 694 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define RGB_TRIGGER_ON_KEYDOWN
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
#define RGB_MATRIX_DEFAULT_VAL 32
#define RGB_MATRIX_DEFAULT_SPD 32

View File

@ -0,0 +1,363 @@
{
"keyboard_name": "vault 35 katana",
"manufacturer": "jlw",
"url": "https://github.com/josh-l-wang/vault35-katana",
"maintainer": "jlw",
"usb": {
"vid": "0x1209",
"pid": "0xA455",
"device_version": "0.0.1"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["B0", "A7", "A6", "A5", "A4", "A3", "B5", "B4", "B3", "A15", "A14"],
"rows": ["B11", "B10", "B2", "B1"]
},
"encoder": {
"rotary": [
{"pin_a": "A1", "pin_b": "A2"}
]
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_sat": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"band_val": true,
"breathing": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"cycle_up_down": true,
"digital_rain": true,
"dual_beacon": true,
"gradient_left_right": true,
"gradient_up_down": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"jellybean_raindrops": true,
"multisplash": true,
"pixel_flow": true,
"pixel_fractal": true,
"pixel_rain": true,
"rainbow_beacon": true,
"rainbow_moving_chevron": true,
"rainbow_pinwheels": true,
"raindrops": true,
"solid_multisplash": true,
"solid_reactive": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_multinexus": true,
"solid_reactive_multiwide": true,
"solid_reactive_nexus": true,
"solid_reactive_simple": true,
"solid_reactive_wide": true,
"solid_splash": true,
"splash": true,
"typing_heatmap": true
},
"layout": [
{"matrix": [0, 6], "x": 132, "y": 16, "flags": 2},
{"matrix": [0, 9], "x": 172, "y": 16, "flags": 2},
{"matrix": [0, 10], "x": 216, "y": 16, "flags": 2},
{"matrix": [2, 10], "x": 216, "y": 32, "flags": 2},
{"matrix": [2, 9], "x": 173, "y": 44, "flags": 2},
{"matrix": [2, 6], "x": 132, "y": 44, "flags": 2},
{"matrix": [2, 4], "x": 91, "y": 44, "flags": 2},
{"matrix": [2, 2], "x": 50, "y": 44, "flags": 2},
{"matrix": [2, 0], "x": 8, "y": 32, "flags": 2},
{"matrix": [0, 0], "x": 8, "y": 16, "flags": 2},
{"matrix": [0, 2], "x": 51, "y": 16, "flags": 2},
{"matrix": [0, 4], "x": 91, "y": 16, "flags": 2}
],
"driver": "ws2812",
"hue_steps": 4,
"max_brightness": 69,
"sat_steps": 4,
"val_steps": 4
},
"ws2812": {
"pin": "B15"
},
"layouts": {
"LAYOUT_split_6bars": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3},
{"matrix": [3, 2], "x": 2.5, "y": 3, "w": 1.25},
{"matrix": [3, 3], "x": 3.75, "y": 3, "w": 1.75},
{"matrix": [3, 5], "x": 5.5, "y": 3, "w": 1.75},
{"matrix": [3, 7], "x": 7.25, "y": 3, "w": 1.25},
{"matrix": [3, 8], "x": 8.5, "y": 3}
]
},
"LAYOUT_split_5bars": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3, "w":1.5},
{"matrix": [3, 2], "x": 3, "y": 3, "w": 1.5},
{"matrix": [3, 4], "x": 4.5, "y": 3,"w": 3},
{"matrix": [3, 7], "x": 7.5, "y": 3, "w": 1.5},
{"matrix": [3, 8], "x": 9, "y": 3, "w":1.5}
]
},
"LAYOUT_split_4bars": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3},
{"matrix": [3, 3], "x": 2.5, "y": 3, "w": 3},
{"matrix": [3, 6], "x": 5.5, "y": 3, "w": 3},
{"matrix": [3, 8], "x": 8.5, "y": 3}
]
},
"LAYOUT_6u_space": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3},
{"matrix": [3, 4], "x": 2.5, "y": 3, "w": 6},
{"matrix": [3, 8], "x": 8.5, "y": 3}
]
},
"LAYOUT_split_all_ortho": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3},
{"matrix": [3, 2], "x": 2.5, "y": 3},
{"matrix": [3, 3], "x": 3.5, "y": 3},
{"matrix": [3, 4], "x": 4.5, "y": 3},
{"matrix": [3, 5], "x": 5.5, "y": 3},
{"matrix": [3, 6], "x": 6.5, "y": 3},
{"matrix": [3, 7], "x": 7.5, "y": 3},
{"matrix": [3, 8], "x": 8.5, "y": 3}
]
},
"LAYOUT_split_middle_1u": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "w":1.5},
{"matrix": [0, 1], "x": 1.5, "y": 0},
{"matrix": [0, 2], "x": 2.5, "y": 0},
{"matrix": [0, 3], "x": 3.5, "y": 0},
{"matrix": [0, 4], "x": 4.5, "y": 0},
{"matrix": [0, 6], "x": 5.5, "y": 0},
{"matrix": [0, 7], "x": 6.5, "y": 0},
{"matrix": [0, 8], "x": 7.5, "y": 0},
{"matrix": [0, 9], "x": 8.5, "y": 0},
{"matrix": [0, 10], "x": 9.5, "y": 0, "w":1.5},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 1},
{"matrix": [1, 2], "x": 2.25, "y": 1},
{"matrix": [1, 3], "x": 3.25, "y": 1},
{"matrix": [1, 4], "x": 4.25, "y": 1},
{"matrix": [1, 6], "x": 5.75, "y": 1},
{"matrix": [1, 7], "x": 6.75, "y": 1},
{"matrix": [1, 8], "x": 7.75, "y": 1},
{"matrix": [1, 9], "x": 8.75, "y": 1},
{"matrix": [1, 10], "x": 9.75, "y": 1, "w": 1.25},
{"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": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [3, 1], "x": 1.5, "y": 3},
{"matrix": [3, 2], "x": 2.5, "y": 3},
{"matrix": [3, 3], "x": 3.5, "y": 3, "w": 1.5},
{"matrix": [3, 4], "x": 5, "y": 3},
{"matrix": [3, 6], "x": 6, "y": 3, "w": 1.5},
{"matrix": [3, 7], "x": 7.5, "y": 3},
{"matrix": [3, 8], "x": 8.5, "y": 3}
]
}
}
}

View File

@ -0,0 +1,37 @@
// Copyright 2023 jlw
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Just something for quick testing, not meant to be used
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_6bars(
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_QUOT,
KC_Z, KC_X, KC_C, KC_V, KC_B, RGB_TOG, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_ESC, MO(1), KC_ENT, KC_SPC, MO(2), KC_BSPC
),
[1] = LAYOUT_split_6bars(
_______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_0,
_______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______,
_______, _______, _______, _______, _______, QK_BOOT, _______, KC_1, KC_2, KC_3, _______,
_______, _______, _______, _______, _______, _______
),
[2] = LAYOUT_split_6bars(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_LEFT, _______,
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)
};
#ifdef ENCODER_MAP_ENABLE
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }
};
#endif

View File

@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes

View File

@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xB1, 0xE9, 0x64, 0x04, 0x6D, 0x6B, 0x15, 0x87}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 10 }
#define VIAL_COMBO_ENTRIES 69
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
#define TAPPING_TERM 250

View File

@ -0,0 +1,47 @@
// Copyright 2023 sporkus
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#define HM_A LSFT_T(KC_A)
#define HM_S LALT_T(KC_S)
#define HM_D LGUI_T(KC_D)
#define HM_F LCTL_T(KC_F)
#define HM_J RCTL_T(KC_J)
#define HM_K RGUI_T(KC_K)
#define HM_L RALT_T(KC_L)
#define HM_Z LSFT_T(KC_Z)
#define HM_SLSH LSFT_T(KC_SLSH)
#define HM_QUOT RSFT_T(KC_QUOT)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_6bars(
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_QUOT,
KC_Z, KC_X, KC_C, KC_V, KC_B, RGB_TOG, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_ESC, MO(1), KC_ENT, KC_SPC, MO(2), KC_BSPC
),
[1] = LAYOUT_split_6bars(
_______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_0,
_______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______,
_______, _______, _______, _______, _______, QK_BOOT, _______, KC_1, KC_2, KC_3, _______,
_______, _______, _______, _______, _______, _______
),
[2] = LAYOUT_split_6bars(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_LEFT, _______,
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)
};
#ifdef ENCODER_MAP_ENABLE
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(_______, _______) },
[2] = { ENCODER_CCW_CW(_______, _______) }
};
#endif

View File

@ -0,0 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIALRGB_ENABLE = yes
ENCODER_MAP_ENABLE = yes

View File

@ -0,0 +1,213 @@
{
"lighting": "vialrgb",
"matrix": {
"rows": 4,
"cols": 11
},
"layouts": {
"labels":[
"ISO Enter",
[
"Bottom Row",
"Cain bars",
"2u x2",
"3u x2",
"3u x1",
"6u",
"all 1u",
"1.5/1/1.5"
]
],
"keymap": [
[
{
"x": 4.5
},
"0,0\n\n\n\n\n\n\n\n\ne",
"0,1\n\n\n\n\n\n\n\n\ne"
],
[
{
"y": 0.25,
"w": 1.5
},
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,6",
"0,7",
"0,8",
"0,9",
{
"w": 1.5
},
"0,10\n\n\n0,0",
{
"x": 0.25,
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"0,10\n\n\n0,1"
],
[
{
"w": 1.25
},
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
{
"x": 0.5
},
"1,6",
"1,7",
"1,8",
"1,9",
{
"w": 1.25
},
"1,10\n\n\n0,0"
],
[
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,0",
{
"w": 1.25
},
"3,2\n\n\n1,0",
{
"w": 1.75
},
"3,3\n\n\n1,0",
{
"w": 1.75
},
"3,5\n\n\n1,0",
{
"w": 1.25
},
"3,7\n\n\n1,0",
"3,8\n\n\n1,0"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,1",
"3,2\n\n\n1,1",
{
"w": 2
},
"3,3\n\n\n1,1",
{
"w": 2
},
"3,5\n\n\n1,1",
"3,7\n\n\n1,1",
"3,8\n\n\n1,1"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,2",
{
"w": 3
},
"3,3\n\n\n1,2",
{
"w": 3
},
"3,6\n\n\n1,2",
"3,8\n\n\n1,2"
],
[
{
"x": 1.5,
"w": 1.25
},
"3,1\n\n\n1,3",
{
"w": 1.25
},
"3,2\n\n\n1,3",
{
"w": 3
},
"3,4\n\n\n1,3",
{
"w": 1.25
},
"3,7\n\n\n1,3",
{
"w": 1.25
},
"3,8\n\n\n1,3"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,4",
{
"w": 6
},
"3,4\n\n\n1,4",
"3,8\n\n\n1,4"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,5",
"3,2\n\n\n1,5",
"3,3\n\n\n1,5",
"3,4\n\n\n1,5",
"3,5\n\n\n1,5",
"3,6\n\n\n1,5",
"3,7\n\n\n1,5",
"3,8\n\n\n1,5"
],
[
{
"x": 1.5
},
"3,1\n\n\n1,6",
"3,2\n\n\n1,6",
{
"w": 1.5
},
"3,3\n\n\n1,6",
"3,4\n\n\n1,6",
{
"w": 1.5
},
"3,6\n\n\n1,6",
"3,7\n\n\n1,6",
"3,8\n\n\n1,6"
]
]
}
}

View File

@ -0,0 +1,7 @@
![Vault35 Katana Layout Image]()
# Vault35 Katana Stagger
Katana stagger version of Cain's Vault35 keyboard.
Check out the original product and other awesome projects of Cain at https://mechvault.net/.

View File

@ -0,0 +1 @@
# This file intentionally left blank