Skip to content

Commit be96c53

Browse files
committed
增加鼠标按键 XButton1 XButton2 WheelLeft WheelRight 的识别
1 parent 89102b0 commit be96c53

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

build/showKeyBoard(node).nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
; 安装程序初始定义常量
55
!define PRODUCT_NAME $(ToolLang)
6-
!define PRODUCT_VERSION "v1.52"
6+
!define PRODUCT_VERSION "v1.53"
77
!define /date DATESTR "%y%m%d"
88
!define ExeName "showKeyBoard.exe"
99
!define PRODUCT_PUBLISHER "Austin.Young"

build/showKeyBoard.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
; 安装程序初始定义常量
55
!define PRODUCT_NAME $(ToolLang)
6-
!define PRODUCT_VERSION "v1.52"
6+
!define PRODUCT_VERSION "v1.53"
77
!define /date DATESTR "%y%m%d"
88
!define ExeName "showKeyBoard.exe"
99
!define PRODUCT_PUBLISHER "Austin.Young"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.52",
2+
"version": "1.53",
33
"name": "node",
44
"scripts": {
55
"build": "node ./build/buildMain.js"

showKeyBoard.ahk

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
;编译信息
22
;@Ahk2Exe-SetName ShowKeyBoard
33
;@Ahk2Exe-SetDescription Show and Analyse Mouse/KeyBoard
4-
;@Ahk2Exe-SetProductVersion 1.52.0.0
5-
;@Ahk2Exe-SetFileVersion 1.52.0.0
4+
;@Ahk2Exe-SetProductVersion 1.53.0.0
5+
;@Ahk2Exe-SetFileVersion 1.53.0.0
66
;@Ahk2Exe-SetCopyright Austing.Young (2023 - )
77
;@Ahk2Exe-SetMainIcon res\keyboard.ico
88
;@Ahk2Exe-ExeName build/release/ShowKeyBoard.exe
99
#Requires AutoHotkey v2
1010
#SingleInstance Ignore
11-
global APPName := "ShowKeyBoard", ver:= "1.52"
11+
global APPName := "ShowKeyBoard", ver:= "1.53"
1212
#Include "lib/JSON.ahk"
1313
#include common.ahk
1414
#include langVars.ahk
@@ -76,6 +76,18 @@ SendCtrlKey()
7676
#HotIf InStr(skipKeys, "{RButton}") = 0
7777
~RButton:: SendMouse
7878

79+
#HotIf InStr(skipKeys, "{WheelLeft}") = 0
80+
~WheelLeft:: SendMouse
81+
82+
#HotIf InStr(skipKeys, "{WheelRight}") = 0
83+
~WheelRight:: SendMouse
84+
85+
#HotIf InStr(skipKeys, "{XButton1}") = 0
86+
~XButton1:: SendMouse
87+
88+
#HotIf InStr(skipKeys, "{XButton2}") = 0
89+
~XButton2:: SendMouse
90+
7991
SendMouse()
8092
{
8193
if (showMouseEvent > 0) {

0 commit comments

Comments
 (0)