-
Notifications
You must be signed in to change notification settings - Fork 0
/
Map.ahk
108 lines (96 loc) · 1.43 KB
/
Map.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
RM()
{
ToolTip()
}
SwitchPad := True
RShift::
{
global
if(SwitchPad == True){
SwitchPad := False
SetNumLockState False
ToolTip("关闭小键盘映射")
}else{
SwitchPad := True
SetNumLockState True
ToolTip("打开小键盘映射")
}
;Send "{NumLock}"
Send "{RShift}"
SetTimer(RM, -1000)
}
PrintScreen::
{
if(SwitchPad == True)
Send "7"
else
Send "{PrintScreen}"
}
ScrollLock::
{
if(SwitchPad == True)
Send "8"
else
Send "{ScrollLock}"
}
Pause::
{
if(SwitchPad == True)
Send "9"
else
Send "{Pause}"
}
Insert::
{
if(SwitchPad == True)
Send "4"
else
Send "{Insert}"
}
Home::
{
if(SwitchPad == True)
Send "5"
else
Send "{Home}"
}
PgUp::
{
if(SwitchPad == True)
Send "6"
else
Send "{PgUp}"
}
Delete::
{
if(SwitchPad == True)
Send "1"
else
Send "{Delete}"
}
End::
{
if(SwitchPad == True)
Send "2"
else
Send "{End}"
}
PgDn::
{
if(SwitchPad == True)
Send "3"
else
Send "{PgDn}"
}
RControl::
{
if(SwitchPad == True)
Send "0"
else
Send "{RControl Down}"
}
RControl UP::
{
if(SwitchPad == False)
Send "{RControl UP}"
}