diff --git a/config/includes/mouse_keys.dtsi b/config/includes/mouse_keys.dtsi deleted file mode 100644 index e45786e8..00000000 --- a/config/includes/mouse_keys.dtsi +++ /dev/null @@ -1,47 +0,0 @@ -#ifdef HAS_MOUSE_KEYS - #include - #include -#endif - -// Below are settings and behavior defines for mouse keys. -&mmv { - acceleration-exponent = <1>; // Default: 1 - time-to-max-speed-ms = <300>; // Default: 300 -}; - -&msc { - acceleration-exponent = <0>; // Default: 0 - time-to-max-speed-ms = <300>; // Default: 300 -}; -#define U_MOUSE_MOVE_MAX 1250 // 600 -#define U_MOUSE_SCROLL_MAX 100 // 10 - -#undef MOVE_UP -#undef MOVE_DOWN -#undef MOVE_LEFT -#undef MOVE_RIGHT -#define MOVE_UP MOVE_VERT(-U_MOUSE_MOVE_MAX) -#define MOVE_DOWN MOVE_VERT(U_MOUSE_MOVE_MAX) -#define MOVE_LEFT MOVE_HOR(-U_MOUSE_MOVE_MAX) -#define MOVE_RIGHT MOVE_HOR(U_MOUSE_MOVE_MAX) - -#undef SCROLL_UP -#undef SCROLL_DOWN -#undef SCROLL_LEFT -#undef SCROLL_RIGHT -#define SCROLL_UP SCROLL_VERT(U_MOUSE_SCROLL_MAX) -#define SCROLL_DOWN SCROLL_VERT(-U_MOUSE_SCROLL_MAX) -#define SCROLL_LEFT SCROLL_HOR(-U_MOUSE_SCROLL_MAX) -#define SCROLL_RIGHT SCROLL_HOR(U_MOUSE_SCROLL_MAX) - -#define U_BTN1 &mkp MB1 -#define U_BTN2 &mkp MB2 -#define U_BTN3 &mkp MB3 -#define U_MS_U &mmv MOVE_UP -#define U_MS_D &mmv MOVE_DOWN -#define U_MS_L &mmv MOVE_LEFT -#define U_MS_R &mmv MOVE_RIGHT -#define U_WH_U &mwh SCROLL_UP -#define U_WH_D &mwh SCROLL_DOWN -#define U_WH_L &mwh SCROLL_LEFT -#define U_WH_R &mwh SCROLL_RIGHT