Browse Source
* Allows removing multilib from docker images * Run properly in aarch64 host docker containers for testing on Rasberry Pi. * Small sticky-keys fix to initialize w/ correct constant for max uin32_t value.xmkb
Peter Johanson
3 years ago
committed by
Pete Johanson
179 changed files with 62 additions and 3 deletions
@ -0,0 +1,11 @@ |
|||||||
|
CONFIG_KSCAN=n |
||||||
|
CONFIG_ZMK_KSCAN_MOCK_DRIVER=y |
||||||
|
CONFIG_ZMK_KSCAN_GPIO_DRIVER=n |
||||||
|
CONFIG_GPIO=n |
||||||
|
# Enable to have the native posix build expose USBIP device(s) |
||||||
|
# CONFIG_ZMK_USB=y |
||||||
|
CONFIG_LOG=y |
||||||
|
CONFIG_LOG_BACKEND_SHOW_COLOR=n |
||||||
|
CONFIG_ZMK_LOG_LEVEL_DBG=y |
||||||
|
CONFIG_DEBUG=y |
||||||
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 |
@ -0,0 +1,18 @@ |
|||||||
|
#include <behaviors.dtsi> |
||||||
|
#include <dt-bindings/zmk/keys.h> |
||||||
|
#include <dt-bindings/zmk/kscan_mock.h> |
||||||
|
|
||||||
|
/ { |
||||||
|
chosen { |
||||||
|
zmk,kscan = &kscan; |
||||||
|
}; |
||||||
|
|
||||||
|
kscan: kscan { |
||||||
|
compatible = "zmk,kscan-mock"; |
||||||
|
label = "KSCAN_MOCK"; |
||||||
|
|
||||||
|
rows = <2>; |
||||||
|
columns = <2>; |
||||||
|
exit-after; |
||||||
|
}; |
||||||
|
}; |
@ -0,0 +1,17 @@ |
|||||||
|
#include <dt-bindings/zmk/keys.h> |
||||||
|
#include <behaviors.dtsi> |
||||||
|
#include <dt-bindings/zmk/kscan_mock.h> |
||||||
|
#include "../behavior_keymap.dtsi" |
||||||
|
|
||||||
|
&kscan { |
||||||
|
events = < |
||||||
|
ZMK_MOCK_PRESS(0,0,10000) |
||||||
|
ZMK_MOCK_RELEASE(0,0,10) |
||||||
|
ZMK_MOCK_PRESS(0,1,30) |
||||||
|
ZMK_MOCK_RELEASE(0,1,30) |
||||||
|
ZMK_MOCK_PRESS(0,0,10) |
||||||
|
ZMK_MOCK_RELEASE(0,0,30) |
||||||
|
ZMK_MOCK_PRESS(0,1,30) |
||||||
|
ZMK_MOCK_RELEASE(0,1,1000) |
||||||
|
>; |
||||||
|
}; |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue