Skip to content

Commit

Permalink
Added ZMK Studio config
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Oct 29, 2024
1 parent f9967f3 commit 6c52388
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 18 deletions.
27 changes: 14 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
---
include:
- board: nice_nano_v2
shield: wyld_dm_right # nice_view
snippet: zmk-usb-logging
shield: wyld_dm_right
snippet: studio-rpc-usb-uart
- board: nice_nano_v2
shield: wyld_dm_left # nice_view
snippet: zmk-usb-logging
shield: wyld_dm_left
# snippet: zmk-usb-logging
- board: nice_nano_v2
shield: settings_reset
77 changes: 76 additions & 1 deletion config/boards/shields/wyld_dm/wyld_dm.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include <dt-bindings/zmk/matrix_transform.h>
//#include <dt-bindings/led/led.h>
#include <physical_layouts.dtsi>


//wyld_dm_6x6 = <
Expand All @@ -24,7 +26,7 @@
/ {
chosen {
zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform;
// zmk,matrix_transform = &default_transform;
};

default_transform: keymap_transform_0 {
Expand Down Expand Up @@ -97,3 +99,76 @@
};
};


/ {
layout_0: layout_0 {
compatible = "zmk,physical-layout";
display-name = "LAYOUT";

kscan = <&kscan0>;
transform = <&default_transform>;

keys // w h x y rot rx ry
= <&key_physical_attrs 100 100 0 50 0 0 0>
, <&key_physical_attrs 100 100 100 50 0 0 0>
, <&key_physical_attrs 100 100 200 0 0 0 0>
, <&key_physical_attrs 100 100 300 0 0 0 0>
, <&key_physical_attrs 100 100 400 0 0 0 0>
, <&key_physical_attrs 100 100 500 0 0 0 0>
, <&key_physical_attrs 100 100 1175 0 0 0 0>
, <&key_physical_attrs 100 100 1275 0 0 0 0>
, <&key_physical_attrs 100 100 1375 0 0 0 0>
, <&key_physical_attrs 100 100 1475 0 0 0 0>
, <&key_physical_attrs 100 100 1575 50 0 0 0>
, <&key_physical_attrs 100 100 1675 50 0 0 0>
, <&key_physical_attrs 100 100 0 150 0 0 0>
, <&key_physical_attrs 100 100 100 150 0 0 0>
, <&key_physical_attrs 100 100 200 100 0 0 0>
, <&key_physical_attrs 100 100 300 100 0 0 0>
, <&key_physical_attrs 100 100 400 100 0 0 0>
, <&key_physical_attrs 100 100 500 100 0 0 0>
, <&key_physical_attrs 100 100 1175 100 0 0 0>
, <&key_physical_attrs 100 100 1275 100 0 0 0>
, <&key_physical_attrs 100 100 1375 100 0 0 0>
, <&key_physical_attrs 100 100 1475 100 0 0 0>
, <&key_physical_attrs 100 100 1575 150 0 0 0>
, <&key_physical_attrs 100 100 1675 150 0 0 0>
, <&key_physical_attrs 100 100 0 250 0 0 0>
, <&key_physical_attrs 100 100 100 250 0 0 0>
, <&key_physical_attrs 100 100 200 200 0 0 0>
, <&key_physical_attrs 100 100 300 200 0 0 0>
, <&key_physical_attrs 100 100 400 200 0 0 0>
, <&key_physical_attrs 100 100 500 200 0 0 0>
, <&key_physical_attrs 100 100 1175 200 0 0 0>
, <&key_physical_attrs 100 100 1275 200 0 0 0>
, <&key_physical_attrs 100 100 1375 200 0 0 0>
, <&key_physical_attrs 100 100 1475 200 0 0 0>
, <&key_physical_attrs 100 100 1575 250 0 0 0>
, <&key_physical_attrs 100 100 1675 250 0 0 0>
, <&key_physical_attrs 100 100 0 350 0 0 0>
, <&key_physical_attrs 100 100 100 350 0 0 0>
, <&key_physical_attrs 100 100 200 300 0 0 0>
, <&key_physical_attrs 100 100 300 300 0 0 0>
, <&key_physical_attrs 100 100 400 300 0 0 0>
, <&key_physical_attrs 100 100 500 300 0 0 0>
, <&key_physical_attrs 100 100 1175 300 0 0 0>
, <&key_physical_attrs 100 100 1275 300 0 0 0>
, <&key_physical_attrs 100 100 1375 300 0 0 0>
, <&key_physical_attrs 100 100 1475 300 0 0 0>
, <&key_physical_attrs 100 100 1575 350 0 0 0>
, <&key_physical_attrs 100 100 1675 350 0 0 0>
, <&key_physical_attrs 100 100 475 425 0 0 0>
, <&key_physical_attrs 100 100 575 425 0 0 0>
, <&key_physical_attrs 100 100 1100 425 0 0 0>
, <&key_physical_attrs 100 100 1200 425 0 0 0>
, <&key_physical_attrs 100 100 525 525 0 0 0>
, <&key_physical_attrs 100 100 625 525 0 0 0>
, <&key_physical_attrs 100 100 1050 525 0 0 0>
, <&key_physical_attrs 100 100 1150 525 0 0 0>
, <&key_physical_attrs 100 100 575 625 0 0 0>
, <&key_physical_attrs 100 100 675 625 0 0 0>
, <&key_physical_attrs 100 100 1000 625 0 0 0>
, <&key_physical_attrs 100 100 1100 625 0 0 0>
;
};
};
8 changes: 8 additions & 0 deletions config/wyld_dm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_ZMK_EXT_POWER=y
# CONFIG_BT_LL_SW_LLCP_LEGACY=y

CONFIG_BT_PERIPHERAL_PREF_MAX_INT=9
CONFIG_BT_PERIPHERAL_PREF_LATENCY=16
CONFIG_BT_BUF_ACL_TX_COUNT=32
CONFIG_BT_L2CAP_TX_BUF_COUNT=32

CONFIG_ZMK_BLE=y
CONFIG_ZMK_USB=y

CONFIG_ZMK_STUDIO=y
CONFIG_ZMK_STUDIO_LOCKING=n

CONFIG_ZMK_MOUSE=y
CONFIG_INPUT=y
# CONFIG_ZMK_KSCAN_MATRIX_POLLING=y
Expand Down

0 comments on commit 6c52388

Please sign in to comment.