Add initial mouse keys support

- Use ZMK mkp behavior for mouse buttons
This commit is contained in:
Manna Harbour
2023-12-09 21:15:01 +11:00
parent 53f09e88f3
commit d344543404
3 changed files with 8 additions and 5 deletions

View File

@@ -7,6 +7,7 @@
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/mouse.h>
#include "miryoku.h"

View File

@@ -3,9 +3,10 @@
#pragma once
#define U_BTN1 &u_macro_btn1
#define U_BTN2 &u_macro_btn2
#define U_BTN3 &u_macro_btn3
#define U_BTN1 &mkp MB1
#define U_BTN2 &mkp MB2
#define U_BTN3 &mkp MB3
#define U_MS_D &kp KP_N2
#define U_MS_L &kp KP_N4
#define U_MS_R &kp KP_N6