add durgod venus iso support (#25526)
This commit is contained in:
parent
60cf3c22f7
commit
466e0856f5
14 changed files with 337 additions and 6 deletions
|
|
@ -1750,7 +1750,7 @@
|
|||
"target": "durgod/dgk6x/galaxy"
|
||||
},
|
||||
"durgod/venus": {
|
||||
"target": "durgod/dgk6x/venus"
|
||||
"target": "durgod/dgk6x/venus_ansi"
|
||||
},
|
||||
"dztech/tofu/ii": {
|
||||
"target": "dztech/tofu/ii/v1"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@ This DGK6X code is shared between the ANSI variants of Venus, Hades and Galaxy k
|
|||
### Build
|
||||
|
||||
Instructions for building the Venus, Hades and Galaxy firmware can be found here:
|
||||
* [Venus](venus/readme.md)
|
||||
* [Venus ANSI](venus_ansi/readme.md)
|
||||
* [Venus ISO](venus_iso/readme.md)
|
||||
* [Hades ANSI](hades_ansi/readme.md)
|
||||
* [Hades ISO](hades_iso/readme.md)
|
||||
* [Galaxy](galaxy/readme.md)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"keyboard": "durgod/dgk6x/venus",
|
||||
"keyboard": "durgod/dgk6x/venus_ansi",
|
||||
"keymap": "default",
|
||||
"layout": "LAYOUT_60_ansi",
|
||||
"layers": [
|
||||
|
|
@ -12,11 +12,11 @@ This is a standard off-the-shelf Durgod Venus 60% ANSI Layout keyboard with RGB
|
|||
|
||||
Make command example for this keyboard (after setting up your build environment):
|
||||
|
||||
make durgod/venus:default
|
||||
make durgod/dgk6x/venus_ansi:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make durgod/venus:default:flash
|
||||
make durgod/dgk6x/venus_ansi: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).
|
||||
|
||||
19
keyboards/durgod/dgk6x/venus_iso/config.h
Normal file
19
keyboards/durgod/dgk6x/venus_iso/config.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* Copyright 2021 Jessica Sullivan and Don Kjer
|
||||
*
|
||||
* 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
|
||||
|
||||
#define CAPS_LED 29
|
||||
151
keyboards/durgod/dgk6x/venus_iso/keyboard.json
Normal file
151
keyboards/durgod/dgk6x/venus_iso/keyboard.json
Normal file
|
|
@ -0,0 +1,151 @@
|
|||
{
|
||||
"manufacturer": "Hoksi Technology",
|
||||
"keyboard_name": "DURGOD Venus (QMK)",
|
||||
"maintainer": "pascalhansjosten",
|
||||
"diode_direction": "ROW2COL",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "C6", "C7", "C8", "C9", "C10"],
|
||||
"rows": ["A0", "A1", "A2", "A3", "A4"]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 16, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 32, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 48, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 64, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 80, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 96, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 112, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 128, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 144, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 160, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 176, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 192, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 216, "y": 0, "flags": 1},
|
||||
{"matrix": [1, 0], "x": 4, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 24, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 40, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 56, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 72, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 88, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 104, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 120, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 136, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 152, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 168, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 184, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 200, "y": 16, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 6, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 28, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 44, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 60, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 76, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 92, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 108, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 124, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 140, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 156, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 172, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 188, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 204, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 220, "y": 24, "flags": 1},
|
||||
{"matrix": [3, 0], "x": 2, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 1], "x": 19, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 36, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 52, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 68, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 84, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 100, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 116, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 132, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 148, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 164, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 180, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 202, "y": 48, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 2, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 22, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 2], "x": 42, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 5], "x": 102, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 162, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 10], "x": 182, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 11], "x": 202, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 12], "x": 222, "y": 64, "flags": 4}
|
||||
]
|
||||
},
|
||||
"url": "https://www.amazon.com/dp/B07XFP5MMZ",
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"pid": "0x7EC6",
|
||||
"vid": "0xD60D"
|
||||
},
|
||||
"community_layouts": ["60_iso"],
|
||||
"layouts": {
|
||||
"LAYOUT_60_iso": {
|
||||
"layout": [
|
||||
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "!", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "@", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "#", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "$", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "%", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "^", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "&", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "*", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "(", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": ")", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "_", "matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"label": "+", "matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||
{"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||
{"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1},
|
||||
{"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1},
|
||||
{"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1},
|
||||
{"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1},
|
||||
{"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1},
|
||||
{"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1},
|
||||
{"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1},
|
||||
{"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1},
|
||||
{"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1},
|
||||
{"label": "{", "matrix": [1, 11], "x": 11.5, "y": 1},
|
||||
{"label": "}", "matrix": [1, 12], "x": 12.5, "y": 1},
|
||||
{"label": "CapsLock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": ":", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "\"", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2},
|
||||
{"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
|
||||
{"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3},
|
||||
{"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3},
|
||||
{"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3},
|
||||
{"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3},
|
||||
{"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3},
|
||||
{"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3},
|
||||
{"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3},
|
||||
{"label": "<", "matrix": [3, 9], "x": 9.25, "y": 3},
|
||||
{"label": ">", "matrix": [3, 10], "x": 10.25, "y": 3},
|
||||
{"label": "?", "matrix": [3, 11], "x": 11.25, "y": 3},
|
||||
{"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||
{"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||
{"label": "Win", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||
{"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||
{"label": "Alt", "matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
|
||||
{"label": "Fn1", "matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
|
||||
{"label": "Fn2", "matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
|
||||
{"label": "Ctrl", "matrix": [4, 12], "x": 13.75, "y": 4, "w": 1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
37
keyboards/durgod/dgk6x/venus_iso/keymaps/default/keymap.json
Normal file
37
keyboards/durgod/dgk6x/venus_iso/keymaps/default/keymap.json
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"keyboard": "durgod/dgk6x/venus_iso",
|
||||
"keymap": "default",
|
||||
"layout": "LAYOUT_60_iso",
|
||||
"layers": [
|
||||
[
|
||||
"QK_GESC", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_MINS", "KC_EQL", "KC_BSPC",
|
||||
"KC_TAB", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_LBRC", "KC_RBRC",
|
||||
"KC_CAPS", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT", "KC_NUHS", "KC_ENT",
|
||||
"KC_LSFT", "KC_NUBS", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "RSFT_T(KC_UP)",
|
||||
"KC_LCTL", "KC_LGUI", "KC_LALT", "KC_SPC", "KC_RALT","LT(1,KC_LEFT)","LT(2,KC_DOWN)","RCTL_T(KC_RIGHT)"
|
||||
],
|
||||
[
|
||||
"KC_GRV", "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_UP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_PSCR", "KC_INS", "KC_HOME", "KC_END", "KC_DEL",
|
||||
"KC_TRNS", "KC_LEFT", "KC_DOWN", "KC_RIGHT","KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_PGUP", "KC_PGDN", "KC_TRNS",
|
||||
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
|
||||
"KC_TRNS", "GU_TOGG", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "MO(3)", "KC_TRNS"
|
||||
],
|
||||
[
|
||||
"KC_TRNS", "KC_MPLY", "KC_MSTP", "KC_MPRV", "KC_MNXT", "KC_MUTE", "KC_VOLD", "KC_VOLU", "KC_TRNS", "KC_TRNS", "KC_TRNS", "RM_TOGG", "RM_NEXT", "RM_PREV",
|
||||
"KC_TRNS", "KC_TRNS", "RM_VALU", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
|
||||
"KC_TRNS", "RM_SPDD", "RM_VALD", "RM_SPDU", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
|
||||
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
|
||||
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "MO(3)", "KC_TRNS", "KC_TRNS"
|
||||
],
|
||||
[
|
||||
"XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX",
|
||||
"XXXXXXX", "XXXXXXX", "RM_SATU", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX",
|
||||
"XXXXXXX", "RM_HUED", "RM_SATD", "RM_HUEU", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX",
|
||||
"XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX",
|
||||
"XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "XXXXXXX", "KC_TRNS", "KC_TRNS", "XXXXXXX"
|
||||
]
|
||||
],
|
||||
"author":"pascalhansjosten",
|
||||
"version":1
|
||||
}
|
||||
26
keyboards/durgod/dgk6x/venus_iso/readme.md
Normal file
26
keyboards/durgod/dgk6x/venus_iso/readme.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Venus
|
||||
|
||||
This is a standard off-the-shelf Durgod Venus 60% ISO Layout keyboard with RGB matrix.
|
||||
|
||||
* Keyboard Maintainer: [pascalhansjosten](https://github.com/pascalhansjosten), based on the work of [J-Sully](https://github.com/J-Sully) and [dkjer](https://github.com/dkjer)
|
||||
* Hardware Supported: Durgod Venus ISO board with STM32F070RBT6
|
||||
* Hardware Availability: https://www.amazon.de/dp/B08H28DNQV/
|
||||
|
||||
## Instructions
|
||||
|
||||
### Build
|
||||
|
||||
Make command example for this keyboard (after setting up your build environment):
|
||||
|
||||
make durgod/dgk6x/venus_iso:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make durgod/dgk6x/venus_iso: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).
|
||||
|
||||
### Initial Flash
|
||||
|
||||
Instructions for Flashing from initial Stock Firmware:
|
||||
* [Initial Flashing](../readme.md#initial-flash)
|
||||
97
keyboards/durgod/dgk6x/venus_iso/venus_iso.c
Normal file
97
keyboards/durgod/dgk6x/venus_iso/venus_iso.c
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
/* Copyright 2021 Jessica Sullivan and Don Kjer
|
||||
*
|
||||
* 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 "dgk6x.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
* | | G location
|
||||
* | | | B location
|
||||
* | | | | */
|
||||
|
||||
{0, SW3_CS1, SW2_CS1, SW1_CS1}, // Esc
|
||||
{0, SW3_CS2, SW2_CS2, SW1_CS2}, // 1
|
||||
{0, SW3_CS3, SW2_CS3, SW1_CS3}, // 2
|
||||
{0, SW3_CS4, SW2_CS4, SW1_CS4}, // 3
|
||||
{0, SW3_CS5, SW2_CS5, SW1_CS5}, // 4
|
||||
{0, SW3_CS6, SW2_CS6, SW1_CS6}, // 5
|
||||
{0, SW3_CS7, SW2_CS7, SW1_CS7}, // 6
|
||||
{0, SW3_CS8, SW2_CS8, SW1_CS8}, // 7
|
||||
{0, SW3_CS9, SW2_CS9, SW1_CS9}, // 8
|
||||
{0, SW3_CS10, SW2_CS10, SW1_CS10}, // 9
|
||||
{0, SW3_CS11, SW2_CS11, SW1_CS11}, // 0
|
||||
{0, SW3_CS12, SW2_CS12, SW1_CS12}, // -
|
||||
{0, SW3_CS13, SW2_CS13, SW1_CS13}, // =
|
||||
{0, SW3_CS14, SW2_CS14, SW1_CS14}, // Bksp
|
||||
|
||||
{0, SW6_CS1, SW5_CS1, SW4_CS1}, // Tab
|
||||
{0, SW6_CS2, SW5_CS2, SW4_CS2}, // Q
|
||||
{0, SW6_CS3, SW5_CS3, SW4_CS3}, // W
|
||||
{0, SW6_CS4, SW5_CS4, SW4_CS4}, // E
|
||||
{0, SW6_CS5, SW5_CS5, SW4_CS5}, // R
|
||||
{0, SW6_CS6, SW5_CS6, SW4_CS6}, // T
|
||||
{0, SW6_CS7, SW5_CS7, SW4_CS7}, // Y
|
||||
{0, SW6_CS8, SW5_CS8, SW4_CS8}, // U
|
||||
{0, SW6_CS9, SW5_CS9, SW4_CS9}, // I
|
||||
{0, SW6_CS10, SW5_CS10, SW4_CS10}, // O
|
||||
{0, SW6_CS11, SW5_CS11, SW4_CS11}, // P
|
||||
{0, SW6_CS12, SW5_CS12, SW4_CS12}, // [
|
||||
{0, SW6_CS13, SW5_CS13, SW4_CS13}, // ]
|
||||
|
||||
{0, SW9_CS1, SW8_CS1, SW7_CS1}, // Caps
|
||||
{0, SW9_CS2, SW8_CS2, SW7_CS2}, // A
|
||||
{0, SW9_CS3, SW8_CS3, SW7_CS3}, // S
|
||||
{0, SW9_CS4, SW8_CS4, SW7_CS4}, // D
|
||||
{0, SW9_CS5, SW8_CS5, SW7_CS5}, // F
|
||||
{0, SW9_CS6, SW8_CS6, SW7_CS6}, // G
|
||||
{0, SW9_CS7, SW8_CS7, SW7_CS7}, // H
|
||||
{0, SW9_CS8, SW8_CS8, SW7_CS8}, // J
|
||||
{0, SW9_CS9, SW8_CS9, SW7_CS9}, // K
|
||||
{0, SW9_CS10, SW8_CS10, SW7_CS10}, // L
|
||||
{0, SW9_CS11, SW8_CS11, SW7_CS11}, // :
|
||||
{0, SW9_CS12, SW8_CS12, SW7_CS12}, // '
|
||||
{0, SW9_CS13, SW8_CS13, SW7_CS13}, // NUHS
|
||||
{0, SW9_CS14, SW8_CS14, SW7_CS14}, // Enter
|
||||
|
||||
{0, SW12_CS1, SW11_CS1, SW10_CS1}, // LShift
|
||||
{0, SW12_CS2, SW11_CS2, SW10_CS2}, // NUBS
|
||||
{0, SW12_CS3, SW11_CS3, SW10_CS3}, // Z
|
||||
{0, SW12_CS4, SW11_CS4, SW10_CS4}, // X
|
||||
{0, SW12_CS5, SW11_CS5, SW10_CS5}, // C
|
||||
{0, SW12_CS6, SW11_CS6, SW10_CS6}, // V
|
||||
{0, SW12_CS7, SW11_CS7, SW10_CS7}, // B
|
||||
{0, SW12_CS8, SW11_CS8, SW10_CS8}, // N
|
||||
{0, SW12_CS9, SW11_CS9, SW10_CS9}, // M
|
||||
{0, SW12_CS10, SW11_CS10, SW10_CS10}, // <
|
||||
{0, SW12_CS11, SW11_CS11, SW10_CS11}, // >
|
||||
{0, SW12_CS12, SW11_CS12, SW10_CS12}, // ?
|
||||
{0, SW12_CS13, SW11_CS13, SW10_CS13}, // RShift
|
||||
|
||||
{1, SW3_CS1, SW2_CS1, SW1_CS1}, // LCtrl
|
||||
{1, SW3_CS2, SW2_CS2, SW1_CS2}, // LAlt
|
||||
{1, SW3_CS3, SW2_CS3, SW1_CS3}, // Windows
|
||||
{1, SW3_CS6, SW2_CS6, SW1_CS6}, // Space
|
||||
{1, SW3_CS10, SW2_CS10, SW1_CS10}, // Fn1/RAlt hades/venus
|
||||
{1, SW3_CS11, SW2_CS11, SW1_CS11}, // Fn2/Fn1
|
||||
{1, SW3_CS12, SW2_CS12, SW1_CS12}, // RCtrl/Fn2
|
||||
{1, SW3_CS13, SW2_CS13, SW1_CS13}, // LEFT/RCtrl
|
||||
};
|
||||
|
||||
#endif /* RGB_MATRIX_ENABLE */
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
# Venus
|
||||
|
||||
See: [Venus](../dgk6x/venus/readme.md)
|
||||
See: [Venus ANSI](../dgk6x/venus_ansi/readme.md) and [Venus ISO](../dgk6x/venus_iso/readme.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue