mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
Added SoyuzXL_Encoder
This commit is contained in:
parent
f7393a5ab8
commit
2a6271319f
10
keyboards/handwired/wwa/soyuzxl_encoder/config.h
Normal file
10
keyboards/handwired/wwa/soyuzxl_encoder/config.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#define POT1_PIN GP26
|
||||
|
||||
#define ENCODERS_PAD_A { GP14, GP21, GP19, GP17}
|
||||
#define ENCODERS_PAD_B { GP15, GP22, GP20, GP18}
|
||||
#define MAX_QUEUED_ENCODER_EVENTS 4
|
||||
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
#define LOCKING_RESYNC_ENABLE
|
55
keyboards/handwired/wwa/soyuzxl_encoder/keyboard.json
Normal file
55
keyboards/handwired/wwa/soyuzxl_encoder/keyboard.json
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"manufacturer": "spacehangover",
|
||||
"keyboard_name": "SoyuzXL_Encoder",
|
||||
"maintainer": "spacehangover",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5", "GP6"],
|
||||
"rows": ["GP7", "GP8", "GP9"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x007",
|
||||
"vid": "0x5757"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"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": [0, 6], "x": 6, "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": [1, 6], "x": 6, "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": [2, 6], "x": 6, "y": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||
KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17,
|
||||
KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24
|
||||
)
|
||||
};
|
27
keyboards/handwired/wwa/soyuzxl_encoder/readme.md
Normal file
27
keyboards/handwired/wwa/soyuzxl_encoder/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# soyuzxl_encoder
|
||||
|
||||
![soyuzxl_encoder](https://i.imgur.com/KwwORGSh.jpeg)
|
||||
|
||||
21 Key, 4 Encoder and 1 Slider Macro Keyboard
|
||||
|
||||
* Keyboard Maintainer: [spacehangover](https://github.com/spacehangover)
|
||||
* Hardware Supported: RP2040 Handwired
|
||||
* Hardware Availability: RP2040 Pico
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make handwired/wwa/soyuzxl_encoder:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make handwired/wwa/soyuzxl_encoder: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 `QK_BOOT` if it is available
|
5
keyboards/handwired/wwa/soyuzxl_encoder/rules.mk
Normal file
5
keyboards/handwired/wwa/soyuzxl_encoder/rules.mk
Normal file
@ -0,0 +1,5 @@
|
||||
CONSUMER_ENABLE = no
|
||||
ENCODER_ENABLE = yes
|
||||
MIDI_ENABLE = yes
|
||||
AUDIO_ENABLE = no
|
||||
ANALOG_ENABLE = yes
|
17
keyboards/handwired/wwa/soyuzxl_encoder/soyuzvia.json
Normal file
17
keyboards/handwired/wwa/soyuzxl_encoder/soyuzvia.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "SoyuzXL_Encoder",
|
||||
"vendorId": "0x5757",
|
||||
"productId": "0x007",
|
||||
"matrix": {
|
||||
"rows": 3,
|
||||
"cols": 7
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"x":0.5,"a":7},"e0",{"x":0.5},"e1",{"x":1},"e2",{"x":0.5},"e3"],
|
||||
[{"a":4},"0,0","0,1","0,2","0,3","0,4","0,5","0,6"],
|
||||
["1,0","1,1","1,2","1,3","1,4","1,5","1,6"],
|
||||
["2,0","2,1","2,2","2,3","2,4","2,5","2,6"]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user