Skip to content

Commit c73531a

Browse files
committed
merge to zmk 3.0
0 parents  commit c73531a

19 files changed

Lines changed: 760 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
on: [push, pull_request, workflow_dispatch]
2+
3+
jobs:
4+
build:
5+
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 UniqueDing
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# UniqueDing Keyboard
2+
3+
## charybdis 5x6 with trackball
4+
5+
![img](keyboard.jpg)
6+
7+
- Module use by dactyl_manuform_r_track
8+
9+
* Firmware use by zmk
10+
11+
* Board: nano_nice_v2
12+
13+
- trackball use by PMW3360
14+
15+
## reference
16+
17+
- [https://github.com/Schievel1/dactyl_manuform_r_track](https://github.com/Schievel1/dactyl_manuform_r_track)
18+
19+
* [https://zmk.dev/](https://zmk.dev)
20+
21+
* [https://github.com/DoctorWangWang/charybdis-cirque-nano-zmk-config](https://github.com/DoctorWangWang/charybdis-cirque-nano-zmk-config)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
config BOARD_CHARYBDIS_CIRQUE_LEFT
2+
bool "charybdis_cirque left"
3+
depends on SOC_NRF52840_QIAA
4+
5+
config BOARD_CHARYBDIS_CIRQUE_RIGHT
6+
bool "charybdis_cirque right"
7+
depends on SOC_NRF52840_QIAA
8+
select ZMK_MOUSE
9+
select pinctrl
10+
select INPUT
11+
select INPUT_PIXART_PMW3360
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
if BOARD_CHARYBDIS_CIRQUE_RIGHT
2+
config ZMK_KEYBOARD_NAME
3+
default "uniqueding-kb"
4+
5+
config ZMK_SPLIT_ROLE_CENTRAL
6+
default y
7+
endif
8+
9+
if BOARD_CHARYBDIS_CIRQUE_LEFT || BOARD_CHARYBDIS_CIRQUE_RIGHT
10+
config BOARD
11+
default "charybdis_cirque"
12+
13+
config BOARD_ENABLE_DCDC
14+
bool "Enable DCDC mode"
15+
select SOC_DCDC_NRF52X
16+
default y
17+
18+
config BOARD_ENABLE_DCDC_HV
19+
bool "Enable High Voltage DCDC converter"
20+
default y
21+
select SOC_DCDC_NRF52X_HV
22+
depends on (BOARD_CHARYBDIS_CIRQUE_LEFT || BOARD_CHARYBDIS_CIRQUE_RIGHT)
23+
24+
config ZMK_SLEEP
25+
default y
26+
27+
config ZMK_SPLIT
28+
default y
29+
30+
config BT_CTLR
31+
default BT
32+
33+
if USB
34+
35+
config USB_NRFX
36+
default y
37+
38+
config USB_DEVICE_STACK
39+
default y
40+
41+
endif # USB
42+
endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: MIT
2+
3+
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
4+
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
5+
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
#include <physical_layouts.dtsi>
2+
3+
/ {
4+
default_layout: default_layout {
5+
compatible = "zmk,physical-layout";
6+
display-name = "Layout";
7+
8+
transform = <&default_transform>;
9+
10+
keys // w h x y rot rx ry
11+
= <&key_physical_attrs 100 100 0 20 0 0 0>
12+
, <&key_physical_attrs 100 100 100 20 0 0 0>
13+
, <&key_physical_attrs 100 100 200 10 0 0 0>
14+
, <&key_physical_attrs 100 100 300 0 0 0 0>
15+
, <&key_physical_attrs 100 100 400 10 0 0 0>
16+
, <&key_physical_attrs 100 100 500 10 0 0 0>
17+
18+
, <&key_physical_attrs 100 100 800 10 0 0 0>
19+
, <&key_physical_attrs 100 100 900 10 0 0 0>
20+
, <&key_physical_attrs 100 100 1000 0 0 0 0>
21+
, <&key_physical_attrs 100 100 1100 10 0 0 0>
22+
, <&key_physical_attrs 100 100 1200 20 0 0 0>
23+
, <&key_physical_attrs 100 100 1300 20 0 0 0>
24+
25+
26+
, <&key_physical_attrs 100 100 0 120 0 0 0>
27+
, <&key_physical_attrs 100 100 100 120 0 0 0>
28+
, <&key_physical_attrs 100 100 200 110 0 0 0>
29+
, <&key_physical_attrs 100 100 300 100 0 0 0>
30+
, <&key_physical_attrs 100 100 400 110 0 0 0>
31+
, <&key_physical_attrs 100 100 500 110 0 0 0>
32+
33+
, <&key_physical_attrs 100 100 800 110 0 0 0>
34+
, <&key_physical_attrs 100 100 900 110 0 0 0>
35+
, <&key_physical_attrs 100 100 1000 100 0 0 0>
36+
, <&key_physical_attrs 100 100 1100 110 0 0 0>
37+
, <&key_physical_attrs 100 100 1200 120 0 0 0>
38+
, <&key_physical_attrs 100 100 1300 120 0 0 0>
39+
40+
41+
, <&key_physical_attrs 100 100 0 220 0 0 0>
42+
, <&key_physical_attrs 100 100 100 220 0 0 0>
43+
, <&key_physical_attrs 100 100 200 210 0 0 0>
44+
, <&key_physical_attrs 100 100 300 200 0 0 0>
45+
, <&key_physical_attrs 100 100 400 210 0 0 0>
46+
, <&key_physical_attrs 100 100 500 210 0 0 0>
47+
48+
, <&key_physical_attrs 100 100 800 210 0 0 0>
49+
, <&key_physical_attrs 100 100 900 210 0 0 0>
50+
, <&key_physical_attrs 100 100 1000 200 0 0 0>
51+
, <&key_physical_attrs 100 100 1100 210 0 0 0>
52+
, <&key_physical_attrs 100 100 1200 220 0 0 0>
53+
, <&key_physical_attrs 100 100 1300 220 0 0 0>
54+
55+
56+
, <&key_physical_attrs 100 100 0 320 0 0 0>
57+
, <&key_physical_attrs 100 100 100 320 0 0 0>
58+
, <&key_physical_attrs 100 100 200 310 0 0 0>
59+
, <&key_physical_attrs 100 100 300 300 0 0 0>
60+
, <&key_physical_attrs 100 100 400 310 0 0 0>
61+
, <&key_physical_attrs 100 100 500 310 0 0 0>
62+
63+
, <&key_physical_attrs 100 100 800 310 0 0 0>
64+
, <&key_physical_attrs 100 100 900 310 0 0 0>
65+
, <&key_physical_attrs 100 100 1000 300 0 0 0>
66+
, <&key_physical_attrs 100 100 1100 310 0 0 0>
67+
, <&key_physical_attrs 100 100 1200 320 0 0 0>
68+
, <&key_physical_attrs 100 100 1300 320 0 0 0>
69+
70+
71+
, <&key_physical_attrs 100 100 200 410 0 0 0>
72+
, <&key_physical_attrs 100 100 300 400 0 0 0>
73+
, <&key_physical_attrs 100 100 400 410 0 0 0>
74+
, <&key_physical_attrs 100 100 500 410 0 0 0>
75+
76+
, <&key_physical_attrs 100 100 1100 410 0 0 0>
77+
, <&key_physical_attrs 100 100 1200 420 0 0 0>
78+
, <&key_physical_attrs 100 100 1300 420 0 0 0>
79+
80+
81+
, <&key_physical_attrs 100 100 200 510 0 0 0>
82+
, <&key_physical_attrs 100 100 300 500 0 0 0>
83+
, <&key_physical_attrs 100 100 400 510 0 0 0>
84+
, <&key_physical_attrs 100 100 500 510 0 0 0>
85+
86+
, <&key_physical_attrs 100 100 1100 510 0 0 0>
87+
, <&key_physical_attrs 100 100 1200 520 0 0 0>
88+
, <&key_physical_attrs 100 100 1300 520 0 0 0>
89+
;
90+
};
91+
};
92+

0 commit comments

Comments
 (0)