Add more artsey to nullbits boad definitions

This commit is contained in:
KemoNine 2021-07-17 00:28:26 +00:00
parent 12e8d940a0
commit 45d8c3530a
2 changed files with 13 additions and 11 deletions

View file

@ -8,6 +8,7 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/mouse.h>
#define TIMEOUT_COMBO 250
@ -86,10 +87,10 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL
&trans &trans &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &kp HOME &kp UP &kp END &kp PG_UP &trans &trans &trans &trans
&none &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &trans &trans &trans
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp DEL
&trans &trans &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &mkp MB1 &mmv MOVE_UP &mkp MB2 &mwh SCROLL_UP &trans &trans &trans &trans
&none &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &mwh SCROLL_DOWN &trans &trans &trans
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};
@ -100,8 +101,8 @@
bindings = <
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &kp DEL
&trans &kp CAPS &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &kp HOME &kp UP &kp END &kp PG_UP &trans &trans &kp INS &kp INS
&none &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &trans &kp PSCRN &kp PSCRN
&trans &kp CAPS &kp PG_UP &kp HOME &kp UP &kp END &trans &trans &mkp MB1 &mmv MOVE_UP &mkp MB2 &mwh SCROLL_UP &trans &trans &kp INS &kp INS
&none &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &trans &trans &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &mwh SCROLL_DOWN &trans &kp PSCRN &kp PSCRN
&none &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_PP
&none &trans &trans &trans &trans &trans &kp C_VOLUME_UP &kp C_VOLUME_DOWN &kp C_MUTE &trans &trans
>;

View file

@ -10,6 +10,7 @@
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/mouse.h>
&encoder_1_top_row {
status = "disabled";
@ -56,11 +57,11 @@
// &rgb_ug RGB_COLOR_HSB(275, 100, 50)
label = "Mouse";
bindings = <
&to 0 &to 2 &to 3
&rgb_ug RGB_COLOR_HSB(215, 100, 50) &rgb_ug RGB_COLOR_HSB(275, 100, 50) &none &kp LC(LA(TAB))
&none &none &none &kp LG(DOWN_ARROW)
&kp ESCAPE &none &none &none
&kp C_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none
&to 0 &to 2 &to 3
&mkp MB1 &mmv MOVE_UP &mkp MB2 &mwh SCROLL_UP
&mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &mwh SCROLL_DOWN
&kp ESCAPE &kp LC(LA(TAB)) &kp LG(DOWN_ARROW) &none
&kp C_MUTE &kp C_VOLUME_DOWN &kp C_VOLUME_UP &none
>;
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;