mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2026-03-11 03:05:03 +00:00
Add mousekeys buttons 2 and 3
This commit is contained in:
30
miryoku/miryoku_clipboard.h
Normal file
30
miryoku/miryoku_clipboard.h
Normal file
@@ -0,0 +1,30 @@
|
||||
// Copyright 2022 Manna Harbour
|
||||
// https://github.com/manna-harbour/miryoku
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined (MIRYOKU_CLIPBOARD_FUN)
|
||||
#define U_RDO &kp K_AGAIN
|
||||
#define U_PST &kp K_PASTE
|
||||
#define U_CPY &kp K_COPY
|
||||
#define U_CUT &kp K_CUT
|
||||
#define U_UND &kp K_UNDO
|
||||
#elif defined (MIRYOKU_CLIPBOARD_MAC)
|
||||
#define U_RDO &kp LS(LG(Z))
|
||||
#define U_PST &kp LG(V)
|
||||
#define U_CPY &kp LG(C)
|
||||
#define U_CUT &kp LG(X)
|
||||
#define U_UND &kp LG(Z)
|
||||
#elif defined (MIRYOKU_CLIPBOARD_WIN)
|
||||
#define U_RDO &kp LC(Y)
|
||||
#define U_PST &kp LC(V)
|
||||
#define U_CPY &kp LC(C)
|
||||
#define U_CUT &kp LC(X)
|
||||
#define U_UND &kp LC(Z)
|
||||
#else
|
||||
#define U_RDO &kp K_AGAIN
|
||||
#define U_PST &kp LS(INS)
|
||||
#define U_CPY &kp LC(INS)
|
||||
#define U_CUT &kp LS(DEL)
|
||||
#define U_UND &kp K_UNDO
|
||||
#endif
|
||||
Reference in New Issue
Block a user