Skip to content

Commit

Permalink
libdeng2: Added more character symbols (Alt)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 9, 2014
1 parent 619ce3e commit 9f83140
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doomsday/libdeng2/include/de/charsymbols.h
Expand Up @@ -23,8 +23,11 @@
* Unicode key symbols.
*/
#ifdef MACOSX
# define DENG2_CHAR_CONTROL_KEY "\u2318"
# define DENG2_CHAR_MAC_COMMAND_KEY "\u2318"
# define DENG2_CHAR_MAC_CONTROL_KEY "\u2303"
# define DENG2_CHAR_CONTROL_KEY DENG2_CHAR_MAC_COMMAND_KEY
# define DENG2_CHAR_SHIFT_KEY "\u21e7"
# define DENG2_CHAR_ALT_KEY "\u2325"
# define DENG2_CHAR_UP_ARROW "\u2191"
# define DENG2_CHAR_DOWN_ARROW "\u2193"
# define DENG2_CHAR_UP_DOWN_ARROW DENG2_CHAR_UP_ARROW " / " DENG2_CHAR_DOWN_ARROW
Expand All @@ -33,6 +36,7 @@
#elif UNIX
# define DENG2_CHAR_CONTROL_KEY "Ctrl-"
# define DENG2_CHAR_SHIFT_KEY "\u21e7"
# define DENG2_CHAR_ALT_KEY "Alt-"
# define DENG2_CHAR_UP_ARROW "\u2191"
# define DENG2_CHAR_DOWN_ARROW "\u2193"
# define DENG2_CHAR_UP_DOWN_ARROW DENG2_CHAR_UP_ARROW " / " DENG2_CHAR_DOWN_ARROW
Expand All @@ -41,6 +45,7 @@
#else
# define DENG2_CHAR_CONTROL_KEY "Ctrl-"
# define DENG2_CHAR_SHIFT_KEY "Shift-"
# define DENG2_CHAR_ALT_KEY "Alt-"
# define DENG2_CHAR_UP_ARROW "Up Arrow"
# define DENG2_CHAR_DOWN_ARROW "Down Arrow"
# define DENG2_CHAR_UP_DOWN_ARROW "Up/Down Arrow"
Expand Down

0 comments on commit 9f83140

Please sign in to comment.