-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make aliases actually be aliases, removing the need to flag them as s…
…uch. A small and extremely pedantic change that removes the need to flag 'aliases' as duplicates of other, already listed keys. Signed-off-by: Luke Inman-Semerau <luke.semerau@gmail.com>
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,17 @@ class Keys(object): | |
CANCEL = '\ue001' # ^break | ||
HELP = '\ue002' | ||
BACKSPACE = '\ue003' | ||
BACK_SPACE = '\ue003' # alias | ||
BACK_SPACE = BACKSPACE | ||
TAB = '\ue004' | ||
CLEAR = '\ue005' | ||
RETURN = '\ue006' | ||
ENTER = '\ue007' | ||
SHIFT = '\ue008' | ||
LEFT_SHIFT = '\ue008' # alias | ||
LEFT_SHIFT = SHIFT | ||
CONTROL = '\ue009' | ||
LEFT_CONTROL = '\ue009' # alias | ||
LEFT_CONTROL = CONTROL | ||
ALT = '\ue00a' | ||
LEFT_ALT = '\ue00a' # alias | ||
LEFT_ALT = LEFT_ALT | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
colons
Author
Contributor
|
||
PAUSE = '\ue00b' | ||
ESCAPE = '\ue00c' | ||
SPACE = '\ue00d' | ||
|
@@ -47,19 +47,19 @@ class Keys(object): | |
END = '\ue010' | ||
HOME = '\ue011' | ||
LEFT = '\ue012' | ||
ARROW_LEFT = '\ue012' # alias | ||
ARROW_LEFT = LEFT | ||
UP = '\ue013' | ||
ARROW_UP = '\ue013' # alias | ||
ARROW_UP = UP | ||
RIGHT = '\ue014' | ||
ARROW_RIGHT = '\ue014' # alias | ||
ARROW_RIGHT = RIGHT | ||
DOWN = '\ue015' | ||
ARROW_DOWN = '\ue015' # alias | ||
ARROW_DOWN = DOWN | ||
INSERT = '\ue016' | ||
DELETE = '\ue017' | ||
SEMICOLON = '\ue018' | ||
EQUALS = '\ue019' | ||
|
||
NUMPAD0 = '\ue01a' # numbe pad keys | ||
NUMPAD0 = '\ue01a' # number pad keys | ||
NUMPAD1 = '\ue01b' | ||
NUMPAD2 = '\ue01c' | ||
NUMPAD3 = '\ue01d' | ||
|
Should it be
LEFT_ALT = ALT