Skip to content

Commit

Permalink
Keymap: Enable mouse keys without urob
Browse files Browse the repository at this point in the history
  • Loading branch information
infused-kim committed Jan 6, 2024
1 parent 3d09719 commit 9adc1ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>

#ifdef HAS_UROB
#include <dt-bindings/zmk/mouse.h>
#endif


#ifdef HAS_PS2
#include <dt-bindings/zmk/mouse_settings.h>
Expand Down Expand Up @@ -236,7 +234,7 @@
// sensor-bindings = <&inc_dec_kp C_BRI_DN C_BRI_UP &inc_dec_kp LEFT RIGHT>;
};

#ifdef HAS_UROB

MouseKeys_layer {
label = "MouseKeys";
bindings = <
Expand All @@ -252,7 +250,7 @@
>;
// sensor-bindings = <&inc_dec_kp C_BRI_DN C_BRI_UP &inc_dec_kp LEFT RIGHT>;
};
#endif


#ifdef HAS_PS2
MouseTP_layer {
Expand Down
5 changes: 2 additions & 3 deletions config/includes/mouse_keys.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifdef HAS_UROB
#include <dt-bindings/zmk/mouse.h>
#endif
#include <dt-bindings/zmk/mouse.h>


// These are defines to make the keymap behavior for adjusting
// trackpoint settings shorter.
Expand Down

0 comments on commit 9adc1ca

Please sign in to comment.