+11
-3
lines changedFilter options
+11
-3
lines changed Original file line number Diff line number Diff line change
@@ -14,11 +14,16 @@
14
14
# KIND, either express or implied. See the License for the
15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
+
17
18
"""The Keys implementation."""
18
19
19
20
20
21
class Keys:
21
-
"""Set of special keys codes."""
22
+
"""Set of special key codes for input actions.
23
+
24
+
Primarily intended for keyboard usage, but also applied in other contexts
25
+
such as Action Chains and IME interactions.
26
+
"""
22
27
23
28
NULL = "\ue000"
24
29
CANCEL = "\ue001" # ^break
@@ -58,7 +63,8 @@ class Keys:
58
63
SEMICOLON = "\ue018"
59
64
EQUALS = "\ue019"
60
65
61
-
NUMPAD0 = "\ue01a" # number pad keys
66
+
# Keys representing number pad digits
67
+
NUMPAD0 = "\ue01a"
62
68
NUMPAD1 = "\ue01b"
63
69
NUMPAD2 = "\ue01c"
64
70
NUMPAD3 = "\ue01d"
@@ -68,14 +74,16 @@ class Keys:
68
74
NUMPAD7 = "\ue021"
69
75
NUMPAD8 = "\ue022"
70
76
NUMPAD9 = "\ue023"
77
+
71
78
MULTIPLY = "\ue024"
72
79
ADD = "\ue025"
73
80
SEPARATOR = "\ue026"
74
81
SUBTRACT = "\ue027"
75
82
DECIMAL = "\ue028"
76
83
DIVIDE = "\ue029"
77
84
78
-
F1 = "\ue031" # function keys
85
+
# Function keys
86
+
F1 = "\ue031"
79
87
F2 = "\ue032"
80
88
F3 = "\ue033"
81
89
F4 = "\ue034"
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4