-
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
1 parent
74d414e
commit f134502
Showing
6 changed files
with
116 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
--- | ||
include: | ||
- board: nice_nano_v2 | ||
shield: settings_reset | ||
- board: nice_nano_v2 | ||
shield: wizza_left | ||
- board: nice_nano_v2 | ||
shield: wizza_right | ||
- board: nice_nano_v2 | ||
shield: wizzav2_left | ||
- board: nice_nano_v2 | ||
shield: wizzav2_right | ||
- board: nice_nano_v2 | ||
shield: wizzades_left | ||
- board: nice_nano_v2 | ||
shield: wizzades_right | ||
- board: nice_nano_v2 | ||
shield: asfoora | ||
- board: nice_nano_v2 | ||
shield: wasfoora | ||
- board: nice_nano_v2 | ||
shield: ghazal nice_view | ||
# - board: nice_nano_v2 | ||
# shield: settings_reset | ||
# - board: nice_nano_v2 | ||
# shield: wizza_left | ||
# - board: nice_nano_v2 | ||
# shield: wizza_right | ||
# - board: nice_nano_v2 | ||
# shield: wizzav2_left | ||
# - board: nice_nano_v2 | ||
# shield: wizzav2_right | ||
# - board: nice_nano_v2 | ||
# shield: wizzades_left | ||
# - board: nice_nano_v2 | ||
# shield: wizzades_right | ||
# - board: nice_nano_v2 | ||
# shield: asfoora | ||
# - board: nice_nano_v2 | ||
# shield: wasfoora | ||
# - board: nice_nano_v2 | ||
# shield: ghazal nice_view | ||
# - board: seeeduino_xiao_ble | ||
# shield: rommana_left rgbled_widget | ||
# - board: seeeduino_xiao_ble | ||
# shield: rommana_right rgbled_widget | ||
- board: seeeduino_xiao_ble | ||
shield: rommana_left rgbled_widget | ||
- board: seeeduino_xiao_ble | ||
shield: rommana_right rgbled_widget | ||
shield: copypasta |
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,9 @@ | ||
# Copyright (c) 2021 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
if SHIELD_COPYPASTA | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "Copypasta" | ||
|
||
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,5 @@ | ||
# Copyright (c) 2021 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
config SHIELD_COPYPASTA | ||
def_bool $(shields_list_contains,copypasta) |
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,21 @@ | ||
# increase bluetooth signal power | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y | ||
|
||
# enable deep sleep support | ||
CONFIG_ZMK_SLEEP=y | ||
|
||
# "Eager Debouncing" | ||
# Trying to lower the input lag. | ||
CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1 | ||
CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5 | ||
|
||
# the keyboard disconnects from bluetooth. | ||
# uses very little power, but it may take | ||
# a few seconds to reconnect after waking. | ||
# 1.800.000 ms = 30 minutes | ||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000 | ||
|
||
# Better compatibility with iPadOS | ||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y | ||
|
||
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=20 |
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,19 @@ | ||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/bt.h> | ||
|
||
|
||
/ { | ||
keymap { | ||
compatible = "zmk,keymap"; | ||
|
||
default_layer { | ||
|
||
bindings = < | ||
|
||
&kp N1 &kp N2 | ||
|
||
>; | ||
}; | ||
}; | ||
}; |
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,37 @@ | ||
/* | ||
* Copyright (c) 2020 Pete Johanson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
#include <dt-bindings/zmk/matrix-transform.h> | ||
|
||
/ { | ||
chosen { | ||
zmk,kscan = &kscan0; | ||
zmk,matrix_transform = &default_transform; | ||
}; | ||
|
||
default_transform: keymap_transform_0 { | ||
compatible = "zmk,matrix-transform"; | ||
columns = <8>; | ||
rows = <1>; | ||
map = < | ||
RC(0,0) RC(0,1) | ||
>; | ||
}; | ||
|
||
kscan0: kscan { | ||
compatible = "zmk,kscan-gpio-direct"; | ||
label = "KSCAN"; | ||
}; | ||
|
||
}; | ||
|
||
|
||
&kscan0 { | ||
input-gpios= | ||
<&xiao_d 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>//D7 | ||
, <&xiao_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>//C6 | ||
; | ||
}; | ||
|