Skip to content

Commit

Permalink
Add ReviungDash47 & Reviungdash52 vial Support (#734)
Browse files Browse the repository at this point in the history
* Add ReviungDash47 & Reviungdash52 vial Support

* Update UID & Via default layout
  • Loading branch information
tumler authored Jun 23, 2024
1 parent 73e009f commit 806a5c0
Show file tree
Hide file tree
Showing 22 changed files with 746 additions and 0 deletions.
41 changes: 41 additions & 0 deletions keyboards/tumler/reviungdash47/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
Copyright 2023 tumler
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

/*
* 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 WS2812_DI_PIN D3
#ifdef WS2812_DI_PIN
#define RGBLED_NUM 11
#define RGBLIGHT_HUE_STEP 16
#define RGBLIGHT_SAT_STEP 16
#define RGBLIGHT_VAL_STEP 16
#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 */
#endif

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5

/* 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
141 changes: 141 additions & 0 deletions keyboards/tumler/reviungdash47/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"keyboard_name": "reviungdash47",
"manufacturer": "tumler",
"url": "",
"maintainer": "tumler",
"usb": {
"vid": "0xFEED",
"pid": "0x6061",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT": "LAYOUT_reviungdash_double"
},
"layouts": {
"LAYOUT_reviungdash_single": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0.54},
{"matrix": [0, 1], "x":1, "y":0.36},
{"matrix": [0, 2], "x":2, "y":0.18},
{"matrix": [0, 3], "x":3, "y":0},
{"matrix": [0, 4], "x":4, "y":0.18},
{"matrix": [0, 5], "x":5, "y":0.36},

{"matrix": [3, 0], "x":7, "y":0.36},
{"matrix": [3, 1], "x":8, "y":0.18},
{"matrix": [3, 2], "x":9, "y":0},
{"matrix": [3, 3], "x":10, "y":0.18},
{"matrix": [3, 4], "x":11, "y":0.36},
{"matrix": [3, 5], "x":12, "y":0.54},

{"matrix": [1, 0], "x":0, "y":1.54},
{"matrix": [1, 1], "x":1, "y":1.36},
{"matrix": [1, 2], "x":2, "y":1.18},
{"matrix": [1, 3], "x":3, "y":1},
{"matrix": [1, 4], "x":4, "y":1.18},
{"matrix": [1, 5], "x":5, "y":1.36},

{"matrix": [4, 0], "x":7, "y":1.36},
{"matrix": [4, 1], "x":8, "y":1.18},
{"matrix": [4, 2], "x":9, "y":1},
{"matrix": [4, 3], "x":10, "y":1.18},
{"matrix": [4, 4], "x":11, "y":1.36},
{"matrix": [4, 5], "x":12, "y":1.54},

{"matrix": [2, 0], "x":0, "y":2.54},
{"matrix": [2, 1], "x":1, "y":2.36},
{"matrix": [2, 2], "x":2, "y":2.18},
{"matrix": [2, 3], "x":3, "y":2},
{"matrix": [2, 4], "x":4, "y":2.18},
{"matrix": [2, 5], "x":5, "y":2.36},

{"matrix": [5, 0], "x":7, "y":2.36},
{"matrix": [5, 1], "x":8, "y":2.18},
{"matrix": [5, 2], "x":9, "y":2},
{"matrix": [5, 3], "x":10, "y":2.18},
{"matrix": [5, 4], "x":11, "y":2.36},
{"matrix": [5, 5], "x":12, "y":2.54},

{"matrix": [7, 0], "x":0, "y":3.54},
{"matrix": [7, 1], "x":1, "y":3.54},
{"matrix": [7, 2], "x":2, "y":3.54},
{"matrix": [7, 3], "x":3, "y":3.54},
{"matrix": [7, 4], "x":4, "y":3.54},

{"matrix": [6, 0], "x":5.375, "y":3.54, "w":2.25},
{"matrix": [6, 1], "x":8, "y":3.54},
{"matrix": [6, 2], "x":9, "y":3.54},
{"matrix": [6, 3], "x":10, "y":3.54},
{"matrix": [6, 4], "x":11, "y":3.54},
{"matrix": [6, 5], "x":12, "y":3.54}
]
},
"LAYOUT_reviungdash_double": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0.54},
{"matrix": [0, 1], "x":1, "y":0.36},
{"matrix": [0, 2], "x":2, "y":0.18},
{"matrix": [0, 3], "x":3, "y":0},
{"matrix": [0, 4], "x":4, "y":0.18},
{"matrix": [0, 5], "x":5, "y":0.36},

{"matrix": [3, 0], "x":7, "y":0.36},
{"matrix": [3, 1], "x":8, "y":0.18},
{"matrix": [3, 2], "x":9, "y":0},
{"matrix": [3, 3], "x":10, "y":0.18},
{"matrix": [3, 4], "x":11, "y":0.36},
{"matrix": [3, 5], "x":12, "y":0.54},

{"matrix": [1, 0], "x":0, "y":1.54},
{"matrix": [1, 1], "x":1, "y":1.36},
{"matrix": [1, 2], "x":2, "y":1.18},
{"matrix": [1, 3], "x":3, "y":1},
{"matrix": [1, 4], "x":4, "y":1.18},
{"matrix": [1, 5], "x":5, "y":1.36},

{"matrix": [4, 0], "x":7, "y":1.36},
{"matrix": [4, 1], "x":8, "y":1.18},
{"matrix": [4, 2], "x":9, "y":1},
{"matrix": [4, 3], "x":10, "y":1.18},
{"matrix": [4, 4], "x":11, "y":1.36},
{"matrix": [4, 5], "x":12, "y":1.54},

{"matrix": [2, 0], "x":0, "y":2.54},
{"matrix": [2, 1], "x":1, "y":2.36},
{"matrix": [2, 2], "x":2, "y":2.18},
{"matrix": [2, 3], "x":3, "y":2},
{"matrix": [2, 4], "x":4, "y":2.18},
{"matrix": [2, 5], "x":5, "y":2.36},

{"matrix": [5, 0], "x":7, "y":2.36},
{"matrix": [5, 1], "x":8, "y":2.18},
{"matrix": [5, 2], "x":9, "y":2},
{"matrix": [5, 3], "x":10, "y":2.18},
{"matrix": [5, 4], "x":11, "y":2.36},
{"matrix": [5, 5], "x":12, "y":2.54},

{"matrix": [7, 0], "x":0, "y":3.54},
{"matrix": [7, 1], "x":1, "y":3.54},
{"matrix": [7, 2], "x":2, "y":3.54},
{"matrix": [7, 3], "x":3, "y":3.54},
{"matrix": [7, 4], "x":4, "y":3.54},
{"matrix": [7, 5], "x":5, "y":3.54},

{"matrix": [6, 0], "x":7, "y":3.54},
{"matrix": [6, 1], "x":8, "y":3.54},
{"matrix": [6, 2], "x":9, "y":3.54},
{"matrix": [6, 3], "x":10, "y":3.54},
{"matrix": [6, 4], "x":11, "y":3.54},
{"matrix": [6, 5], "x":12, "y":3.54}
]
}

}
}
59 changes: 59 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/* Copyright 2023 tumler
*
* 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

enum layer_names {
_BASE,
_LOWER,
_RAISE,
_ADJUST
};

#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
#define ADJUST MO(_ADJUST)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LGUI, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT
),
[_LOWER] = LAYOUT(
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
_______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_GRV, KC_TILD,
_______, KC_ESC, KC_LGUI, KC_LALT, KC_CAPS, KC_DQUO, KC_HOME, KC_END, KC_PGUP, KC_PGDN, KC_PSCR, RSFT_T(KC_SPC),
_______, _______, _______, _______, _______, KC_SPC, KC_ENT, MO(3), _______, _______, _______, _______
),
[_RAISE] = LAYOUT(
_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
_______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
_______, KC_ESC, KC_RGUI, KC_RALT, KC_CAPS, KC_QUOT, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, _______, _______, _______, MO(3), KC_SPC, KC_ENT, _______, _______, _______, _______, _______
),
[_ADJUST] = LAYOUT(
RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, _______, RGB_TOG, _______, _______, _______, _______, _______, KC_VOLU,
RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD,_______, _______, _______, _______, _______, _______, _______, KC_VOLD,
_______, _______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, KC_SPC, KC_ENT, _______, _______, _______, _______, _______
)
};

layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}

1 change: 1 addition & 0 deletions keyboards/tumler/reviungdash47/keymaps/default/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# The default keymap for reviungdash
8 changes: 8 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

#define VIAL_KEYBOARD_UID {0xE8, 0xB1, 0x52, 0x65, 0x1D, 0x03, 0x1B, 0x19}

// Unlock with top left key (row 0, column 0) and
// top right key (row 3, column 5):
#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }
31 changes: 31 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"keyboard": "tumler/reviungdash47",
"keymap": "default",
"layout": "LAYOUT_reviungdash_double",
"layers": [
[
"KC_TAB", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_DEL",
"KC_LCTL", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT",
"KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_RSFT",
"KC_LCTL", "KC_LGUI", "KC_LALT", "KC_LGUI", "MO(1)", "KC_SPC", "KC_ENT", "MO(2)", "KC_LEFT", "KC_DOWN", "KC_UP", "KC_RIGHT"
],
[
"_______", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_DEL",
"_______", "KC_UNDS", "KC_PLUS", "KC_LCBR", "KC_RCBR", "KC_PIPE", "KC_LEFT", "KC_DOWN", "KC_UP", "KC_RGHT", "KC_GRV", "KC_TILD",
"_______", "KC_ESC", "KC_LGUI", "KC_LALT", "KC_CAPS", "KC_DQUO", "KC_HOME", "KC_END", "KC_PGUP", "KC_PGDN", "KC_PSCR", "RSFT_T(KC_SPC)",
"_______", "_______", "_______", "_______", "_______", "KC_SPC", "KC_ENT", "MO(3)", "_______", "_______", "_______", "_______"
],
[
"_______", "KC_EXLM", "KC_AT", "KC_HASH", "KC_DLR", "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "KC_DEL",
"_______", "KC_MINS", "KC_EQL", "KC_LBRC", "KC_RBRC", "KC_BSLS", "KC_F1", "KC_F2", "KC_F3", "KC_F4", "KC_F5", "KC_F6",
"_______", "KC_ESC", "KC_RGUI", "KC_RALT", "KC_CAPS", "KC_QUOT", "KC_F7", "KC_F8", "KC_F9", "KC_F10", "KC_F11", "KC_F12",
"_______", "_______", "_______", "_______", "MO(3)", "KC_SPC", "KC_ENT", "_______", "_______", "_______", "_______", "_______"
],
[
"RGB_VAI", "RGB_SAI", "RGB_HUI", "RGB_MOD", "_______", "RGB_TOG", "_______", "_______", "_______", "_______", "_______", "KC_VOLU",
"RGB_VAD", "RGB_SAD", "RGB_HUD", "RGB_RMOD","_______", "_______", "_______", "_______", "_______", "_______", "_______", "KC_VOLD",
"_______", "_______", "_______", "_______", "_______", "_______", "QK_BOOT", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "KC_SPC", "KC_ENT", "_______", "_______", "_______", "_______", "_______"
]
]
}
13 changes: 13 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/vial/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Vial Keymap for ReviungDash47

The REVIUNGDASH47 is a 47-key column staggered keyboard.

* Keyboard Maintainer: [tumler](https://github.com/tumler)
* Hardware Supported: REVIUNGDASH47 PCBs, Pro Micro / RP2040 supported
* Hardware Availability: [PCB & Case Data](https://github.com/tumler/reviungdash/tree/master/reviungdash47)

Make example for this keyboard (after setting up your build environment):

make reviungdash47: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).
13 changes: 13 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes

CONSOLE_ENABLE = no
LTO_ENABLE = yes

ifndef CONVERT_TO
# Disable QMK Settings when using a ProMicro to reduce size:
QMK_SETTINGS = no
else
# Enable Mouse Keys when when not using a ProMicro as there will be space:
MOUSEKEY_ENABLE = yes
endif
60 changes: 60 additions & 0 deletions keyboards/tumler/reviungdash47/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "reviungdash",
"vendorId": "0xFEED",
"productId": "0x6061",
"lighting": "qmk_rgblight",
"customKeycodes":
[{"name": "BASE","title": "BASE Layer","shortName": "BASE"},
{"name": "LOWER","title": "Lower Layer","shortname": "LOWER"},
{"name": "RAISE","title": "Raise Layer","shortName": "RAISE"},
{"name": "ADJUST","title": "Adjust Layer","shortName": "ADJUST"}
],
"matrix": { "rows": 8, "cols": 6 },
"layouts": {
"labels": [
[
"Thumb Keys",
"Single 2.25",
"Double 1+1 Double"
]
],
"keymap": [
[{"y":4.2,"x":5.525,"w":2.25},"6,0\n\n\n0,0"],
[{"y":4.2,"x":5.525},"7,5\n\n\n0,1",{"w":0.25,"d":true},"\n\n\n0,1",{"x":-0.25},"6,0\n\n\n0,1"],
[{"r":2,"rx":10.5,"ry":4.5,"y":-1,"x":-1.375},"6,2"],
[{"r":10,"rx":5.425,"ry":4.2,"x":-1.25,"w":1.25},"7,4"],
[{"rx":6.75,"ry":0,"y":0.75,"x":-3},"0,3"],
[{"y":-0.82,"x":-4},"0,2",{"x":1},"0,4"],
[{"y":-0.82,"x":-5},"0,1",{"x":3},"0,5"],
[{"y":-0.82,"x":-6},"0,0"],
[{"y":-0.54,"x":-3},"1,3"],
[{"y":-0.82,"x":-4},"1,2",{"x":1},"1,4"],
[{"y":-0.82,"x":-5},"1,1",{"x":3},"1,5"],
[{"y":-0.82,"x":-6},"1,0"],
[{"y":-0.54,"x":-3},"2,3"],
[{"y":-0.82,"x":-4},"2,2",{"x":1},"2,4"],
[{"y":-0.82,"x":-5},"2,1",{"x":3},"2,5"],
[{"rx":6.8,"y":3.29,"x":-6.05},"2,0"],
[{"y":-0.36,"x":-4.05},"7,2"],
[{"y":-0.82,"x":-5.05},"7,1"],
[{"y":-0.82,"x":-6.05},"7,0"],
[{"r":-10,"rx":6.5,"y":0.75,"x":2},"3,2"],
[{"y":-0.82,"x":1},"3,1",{"x":1},"3,3"],
[{"y":-0.82},"3,0",{"x":3},"3,4"],
[{"y":-0.82,"x":5},"3,5"],
[{"y":-0.54,"x":2},"4,2"],
[{"y":-0.82,"x":1},"4,1",{"x":1},"4,3"],
[{"y":-0.82},"4,0",{"x":3},"4,4"],
[{"y":-0.82,"x":5},"4,5"],
[{"y":-0.54,"x":2},"5,2"],
[{"y":-0.82,"x":1},"5,1",{"x":1},"5,3"],
[{"y":-0.82},"5,0",{"x":3},"5,4"],
[{"y":-0.82,"x":5},"5,5"],
[{"y":-0.36,"x":3},"6,3"],
[{"y":-0.82,"x":4},"6,4"],
[{"y":-0.82,"x":5},"6,5"],
[{"rx":7.875,"ry":4.2,"w":1.25},"6,1"],
[{"r":-2,"rx":2.75,"ry":4.5,"y":-1,"x":0.375},"7,3"]
]
}
}
13 changes: 13 additions & 0 deletions keyboards/tumler/reviungdash47/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ReviungDash47

The REVIUNGDASH47 is a 47-key column staggered keyboard.

* Keyboard Maintainer: [tumler](https://github.com/tumler)
* Hardware Supported: REVIUNGDASH47 PCBs, Pro Micro / RP2040 supported
* Hardware Availability: [PCB & Case Data](https://github.com/tumler/reviungdash/tree/master/reviungdash47)

Make example for this keyboard (after setting up your build environment):

make reviungdash47: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).
Loading

0 comments on commit 806a5c0

Please sign in to comment.