From be8597ab261fd1714657afcf6a9ebe929e8b4eae Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sat, 2 Nov 2024 11:48:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=9E=E7=8E=B0Caps+=E6=BB=9A=E8=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CapsLock+.ahk | 12 ++++++++++++ language/English.ahk | 4 ++++ language/Simplified_Chinese.ahk | 10 ++++++++++ lib/lib_keysFunction.ahk | 9 +++++++++ lib/lib_keysSet.ahk | 4 ++++ 5 files changed, 39 insertions(+) diff --git a/CapsLock+.ahk b/CapsLock+.ahk index eeef1f2..3d5b7ec 100644 --- a/CapsLock+.ahk +++ b/CapsLock+.ahk @@ -164,6 +164,18 @@ try Capslock2:="" return + Bind window 0~9 caps_win_1=keyFunc_winbind_binding(1) diff --git a/language/Simplified_Chinese.ahk b/language/Simplified_Chinese.ahk index 81ea7b9..a3cae59 100644 --- a/language/Simplified_Chinese.ahk +++ b/language/Simplified_Chinese.ahk @@ -646,6 +646,10 @@ caps_lalt_wheelUp=keyFunc_doNothing caps_lalt_wheelDown=keyFunc_doNothing +caps_wheelUp=keyFunc_doNothing + +caps_wheelDown=keyFunc_doNothing + ; CapsLock + Windows + 0~9 -> 绑定窗口 0~9 caps_win_1=keyFunc_winbind_binding(1) @@ -723,6 +727,12 @@ keyfunc_wheel_up ; 滚轮下滑 keyfunc_wheel_down +; 左滑滚轮 +keyFunc_wheel_left + +; 右滑滚轮 +keyFunc_wheel_right + ) global lang_winsInfosRecorderIniInit:="" lang_winsInfosRecorderIniInit= diff --git a/lib/lib_keysFunction.ahk b/lib/lib_keysFunction.ahk index c238939..709a5e6 100644 --- a/lib/lib_keysFunction.ahk +++ b/lib/lib_keysFunction.ahk @@ -862,6 +862,15 @@ keyfunc_wheel_down(){ Send, {Wheeldown 3} } +; 左滑滚轮 +keyFunc_wheelLeft(){ + Send, {WheelLeft} +} + +; 右滑滚轮 +keyFunc_wheelRight(){ + Send, {WheelRight} +} ;keys functions end------------- diff --git a/lib/lib_keysSet.ahk b/lib/lib_keysSet.ahk index f239f88..bd45667 100644 --- a/lib/lib_keysSet.ahk +++ b/lib/lib_keysSet.ahk @@ -551,6 +551,10 @@ keySchemeInit_capslockPlus(){ if(!keyset.caps_lalt_wheelDown) keyset.caps_lalt_wheelDown:="keyFunc_mouseSpeedDecrease" + if(!keyset.caps_wheelUp) + keyset.caps_wheelUp:="keyFunc_doNothing" + if(!keyset.caps_wheelDown) + keyset.caps_wheelDown:="keyFunc_doNothing" return From 97829a827d96546ec19976ed53a3872b55755bb9 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sat, 2 Nov 2024 11:57:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/lib_keysSet.ahk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/lib_keysSet.ahk b/lib/lib_keysSet.ahk index bd45667..6e731e6 100644 --- a/lib/lib_keysSet.ahk +++ b/lib/lib_keysSet.ahk @@ -290,6 +290,11 @@ keySchemeInit_capslox(){ keyset.caps_lalt_wheelUp:="keyFunc_mouseSpeedIncrease" if(!keyset.caps_lalt_wheelDown) keyset.caps_lalt_wheelDown:="keyFunc_mouseSpeedDecrease" + if(!keyset.caps_wheelUp) + keyset.caps_wheelUp:="keyFunc_doNothing" + if(!keyset.caps_wheelDown) + keyset.caps_wheelDown:="keyFunc_doNothing" + return } @@ -550,7 +555,6 @@ keySchemeInit_capslockPlus(){ keyset.caps_lalt_wheelUp:="keyFunc_mouseSpeedIncrease" if(!keyset.caps_lalt_wheelDown) keyset.caps_lalt_wheelDown:="keyFunc_mouseSpeedDecrease" - if(!keyset.caps_wheelUp) keyset.caps_wheelUp:="keyFunc_doNothing" if(!keyset.caps_wheelDown)