-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhotkey_sequence.txt
101 lines (66 loc) · 1.78 KB
/
hotkey_sequence.txt
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
title Hotkey sequence
actor User
fontawesome f11c keyboard
participantgroup #lightgreen keyboard_listener.py
entity CTRL listener
entity right CTRL listener
entity right SHIFT listener
end
fontawesome f085 keyboard_layout_controller.py #34495e
fontawesome f17a Win32 #orange
#
# On Key Press
User->keyboard: key down 'ctrl'
activate User
activate keyboard
space
deactivate User
#
parallel
keyboard->CTRL listener:_on_key_press()
activate CTRL listener
keyboard->right CTRL listener:
activate right CTRL listener
keyboard->right SHIFT listener:
activate right SHIFT listener
parallel off
#
parallel
CTRL listener->CTRL listener:store key down time
right CTRL listener->right CTRL listener:reset key down time
right SHIFT listener->right SHIFT listener:reset key down time
parallel off
#
parallel
CTRL listener-->>keyboard:
deactivate CTRL listener
right CTRL listener-->>keyboard:
deactivate right CTRL listener
right SHIFT listener-->>keyboard:
deactivate right SHIFT listener
parallel off
#
# On Key Release
User->keyboard: release key 'ctrl'
activate User
keyboard->CTRL listener:_on_key_release()
deactivate keyboard
deactivate User
activate CTRL listener
CTRL listener->CTRL listener:reset key down time
group #2f2e7b label text #white [is not timeout]
CTRL listener->keyboard_layout_controller.py:set_layout()
activate keyboard_layout_controller.py
autoactivation on
keyboard_layout_controller.py->Win32:get foreground window
Win32-->keyboard_layout_controller.py:
keyboard_layout_controller.py->Win32:get parent window
Win32-->keyboard_layout_controller.py:
keyboard_layout_controller.py->>Win32:change input language request
autoactivation off
keyboard_layout_controller.py-->CTRL listener:
deactivate keyboard_layout_controller.py
deactivate Win32
end
space
deactivate CTRL listener