Skip to content

Commit

Permalink
update default keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
RealET committed Feb 5, 2025
1 parent 7e2eda9 commit ae14309
Showing 1 changed file with 44 additions and 14 deletions.
58 changes: 44 additions & 14 deletions config/imprint.keymap
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/pointing.h>
#include <input/processors.dtsi>
#include <dt-bindings/zmk/input_transform.h>

/ {
chosen { zmk,matrix-transform = &imprint_function_row;
Expand All @@ -19,30 +21,43 @@
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LGUI &kp LALT &kp LBKT &kp RBKT
&kp RET &kp DEL &kp ESC &kp GRAVE &kp BSPC &kp SPACE
&mo 1 &kp HOME &kp END &kp CAPS &kp K_APP &mo 2
&kp RET &kp DEL &kp ESC &kp GRAVE &kp BSPC &kp SPACE
&kp LGUI &mo 1 &mo 2 &kp CAPS &mo 2 &mo 1
>;
};

Layer__1 {
bindings = <
&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 &trans &trans &trans &kp HOME &kp UP &kp END &trans &trans
&trans &trans &trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp RIGHT &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
&trans &trans &trans &kp C_VOL_DN &kp C_VOL_UP &kp C_PP
&trans &trans &trans &kp C_PREV &kp C_NEXT &trans
&trans &trans &kp N7 &kp N8 &kp N9 &trans &trans &kp HOME &kp UP &kp END &trans &trans
&trans &trans &kp N4 &kp N5 &kp N6 &trans &trans &kp LEFT &kp DOWN &kp RIGHT &trans &trans
&trans &trans &kp N1 &kp N2 &kp N3 &trans &trans &trans &trans &trans &trans &trans
&trans &kp N0 &trans &trans
&trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};

Layer__2 {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_TOG &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_TOG &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_BRI &trans &trans
&trans &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUD &rgb_ug RGB_SAD &rgb_ug RGB_BRD &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &rgb_ug RGB_TOG &rgb_ug RGB_EFF &trans &trans &trans
&sys_reset &trans &trans &trans &trans &studio_unlock &studio_unlock &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_BRI &rgb_ug RGB_SPI &sys_reset
&bootloader &trans &trans &trans &trans &trans &trans &rgb_ug RGB_HUD &rgb_ug RGB_SAD &rgb_ug RGB_BRD &rgb_ug RGB_SPD &bootloader
&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
>;
};

Layer__3 {//auto-mouse layer
bindings = <
&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 &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &mkp RCLK &mkp MCLK &mkp LCLK &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 &trans
Expand All @@ -51,3 +66,18 @@
};
};
};

// //right hand trackball overrides
// &trackball_peripheral_listener {
// input-processors =
// <&zip_xy_transform INPUT_TRANSFORM_XY_SWAP>,//this gets it to the default installation orientation
// <&zip_temp_layer 3 500>;//activate layer 3 within 500ms of the trackball moving
// };
// //left hand trackball overrides
// &trackball_central_listener {
// input-processors =
// <&zip_xy_transform INPUT_TRANSFORM_XY_SWAP>,//this gets it to the default installation orientation
// <&zip_xy_scaler 1 3>,//multiply sensitivity by 1, divide by 3 (make it slower for scrolling)
// <&zip_xy_to_scroll_mapper>,//make this trackball output scrolling events by default instead of cursor movement
// <&zip_scroll_transform INPUT_TRANSFORM_Y_INVERT>;//invert vertical scrolling so that the view moves in the same direction as the top of the trackball.
// };

0 comments on commit ae14309

Please sign in to comment.