-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
742 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if SHIELD_THE_PAINTBRUSH_LEFT || SHIELD_THE_PAINTBRUSH_RIGHT | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "The Paintbrush" | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2021 Mike "KemoNine" Crosson | ||
# SPDX-License-Identifier: MIT | ||
|
||
config SHIELD_THE_PAINTBRUSH_LEFT | ||
def_bool $(shields_list_contains,the_paintbrush_left) | ||
|
||
config SHIELD_THE_PAINTBRUSH_RIGHT | ||
def_bool $(shields_list_contains,the_paintbrush_right) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# The Paintbrush | ||
|
||
This directory contains the ARDUX implementation for `The Paintbrush` hardware being developed by KemoNine. |
16 changes: 16 additions & 0 deletions
16
config/boards/shields/the_paintbrush/the_paintbrush_left.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2021 Mike "KemoNine" Crosson | ||
# SPDX-License-Identifier: MIT | ||
|
||
# Tune combos to allow proper ARDUX support | ||
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 | ||
CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 | ||
CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 | ||
|
||
# Tune bluetooth profiles for quick select | ||
CONFIG_BT_MAX_CONN=6 | ||
|
||
# Enable display (layer in use is helpful) | ||
CONFIG_ZMK_DISPLAY=y | ||
|
||
# Turn off sleep | ||
CONFIG_ZMK_SLEEP=n |
31 changes: 31 additions & 0 deletions
31
config/boards/shields/the_paintbrush/the_paintbrush_left.keymap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2021 Mike "KemoNine" Crosson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/bt.h> | ||
|
||
// Left/Right | ||
#define ARDUX_LEFT 1 | ||
|
||
// ARTS Row | ||
#define KEY_A 3 | ||
#define KEY_R 2 | ||
#define KEY_T 1 | ||
#define KEY_S 0 | ||
// EYIO Row | ||
#define KEY_E 7 | ||
#define KEY_Y 6 | ||
#define KEY_I 5 | ||
#define KEY_O 4 | ||
|
||
// Define Offsets | ||
#define LEADING_NONES NONE(0,0,0) | ||
#define MIDDLE_NONES NONE(0, 0, 0) | ||
#define TRAILING_NONES NONE(0, 0, 0) | ||
|
||
// Include main ardux.io keymap | ||
#include "../../../ardux.dtsi" |
30 changes: 30 additions & 0 deletions
30
config/boards/shields/the_paintbrush/the_paintbrush_left.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2021 Mike "KemoNine" Crosson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include <dt-bindings/zmk/matrix_transform.h> | ||
|
||
/ { | ||
chosen { | ||
zmk,kscan = &kscan0; | ||
}; | ||
|
||
kscan0: kscan_0 { | ||
compatible = "zmk,kscan-gpio-direct"; | ||
|
||
label = "KSCAN"; | ||
|
||
input-gpios | ||
= <&pro_micro_a 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
; | ||
}; | ||
}; |
16 changes: 16 additions & 0 deletions
16
config/boards/shields/the_paintbrush/the_paintbrush_right.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2021 Mike "KemoNine" Crosson | ||
# SPDX-License-Identifier: MIT | ||
|
||
# Tune combos to allow proper ARDUX support | ||
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 | ||
CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 | ||
CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 | ||
|
||
# Tune bluetooth profiles for quick select | ||
CONFIG_BT_MAX_CONN=6 | ||
|
||
# Enable display (layer in use is helpful) | ||
CONFIG_ZMK_DISPLAY=y | ||
|
||
# Turn off sleep | ||
CONFIG_ZMK_SLEEP=n |
31 changes: 31 additions & 0 deletions
31
config/boards/shields/the_paintbrush/the_paintbrush_right.keymap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2021 Mike "KemoNine" Crosson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/bt.h> | ||
|
||
// Left/Right | ||
#define ARDUX_RIGHT 1 | ||
|
||
// ARTS Row | ||
#define KEY_A 0 | ||
#define KEY_R 1 | ||
#define KEY_T 2 | ||
#define KEY_S 3 | ||
// EYIO Row | ||
#define KEY_E 4 | ||
#define KEY_Y 5 | ||
#define KEY_I 6 | ||
#define KEY_O 7 | ||
|
||
// Define Offsets | ||
#define LEADING_NONES NONE(0,0,0) | ||
#define MIDDLE_NONES NONE(0, 0, 0) | ||
#define TRAILING_NONES NONE(0, 0, 0) | ||
|
||
// Include main ardux.io keymap | ||
#include "../../../ardux.dtsi" |
31 changes: 31 additions & 0 deletions
31
config/boards/shields/the_paintbrush/the_paintbrush_right.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2021 Mike "KemoNine" Crosson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include <dt-bindings/zmk/matrix_transform.h> | ||
|
||
/ { | ||
chosen { | ||
zmk,kscan = &kscan0; | ||
}; | ||
|
||
kscan0: kscan_0 { | ||
compatible = "zmk,kscan-gpio-direct"; | ||
|
||
label = "KSCAN"; | ||
|
||
input-gpios | ||
= <&pro_micro_a 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_a 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
, <&pro_micro_d 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> | ||
; | ||
|
||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
|
||
default_layer { | ||
bindings = < | ||
&reset | ||
&sys_reset | ||
>; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
manifest: | ||
remotes: | ||
- name: petejohanson | ||
url-base: https://github.com/petejohanson | ||
- name: zmkfirmware | ||
url-base: https://github.com/zmkfirmware | ||
- name: zmk-ardux | ||
url-base: https://github.com/arduxio | ||
projects: | ||
- name: zmk | ||
remote: petejohanson | ||
revision: hardware/rp2040-support | ||
remote: zmkfirmware | ||
revision: main | ||
import: app/west.yml | ||
self: | ||
path: config | ||
path: config |