* \name Predefined keys K_QUIT; /*!< key for closing the game */ K_QUIT_ALT; /*!< alternative key for closing the game */ K_CAMERAUP; /*!< key for changing the view angle of the camera up */ K_CAMERADOWN; /*!< key for changing the view angle of the camera down */ K_ZOOMOUT; /*!< key used for zooming out */ K_ZOOMIN; /*!< key used for zooming in */ K_TURNLEFT; /*!< key used to turn left */ K_TURNRIGHT; /*!< key used to turn right */ K_ADVANCE; /*!< key used to move one step (tile) forward */ K_HEALTHBAR; /*!< key used to toggle display of the healthbar */ K_VIEWNAMES; /*!< key used to toggle display of names */ K_VIEWHP; /*!< key used to toggle display of hitpoints (material points) */ K_STATS; /*!< key to toggle display of \ref stats_window */ K_QUESTLOG; /*!< key to toggle display of \ref questlog_window */ K_SESSION; /*!< key to toggle display of session tab in stats_window */ K_WALK; /*!< key used to switch to walk cursor */ K_LOOK; /*!< key used to switch to look cursor */ K_USE; /*!< key used to switch to use cursor */ K_OPTIONS; /*!< key used to toggle display of \ref options_window */ K_REPEATSPELL; /*!< key used to repeat the last spell used */ K_SIGILS; /*!< key used to toggle display of \ref spells_window */ K_MANUFACTURE; /*!< key used to toggle display of \ref manufacture_window */ K_ITEMS; /*!< key used to toggle display of \ref items_window */ K_MAP; /*!< key used to go into \ref interface_map mode */ K_MINIMAP; /*!< key used to open minimap window */ K_ROTATELEFT; /*!< key used to rotate left (counter clockwise) */ K_ROTATERIGHT; /*!< key used to rotate right (clockwise) */ K_FROTATELEFT; /*!< key used to fine rotate left (counter clockwise) */ K_FROTATERIGHT; /*!< key used to fine rotate right (clockwise) */ K_BROWSER; /*!< key used to open the browser using the last displayed URL */ K_BROWSERWIN; /*!< key used to open the URL list window */ K_ESCAPE; /*!< key used to try fleeing in combat */ K_CONSOLE; /*!< key used to toggle \ref interface_console mode */ K_SHADOWS; /*!< key used to toggle rendering of shadows */ K_KNOWLEDGE; /*!< key used to toggle display of \ref knowledge_window */ K_ENCYCLOPEDIA; /*!< key used to toggle display of \ref encyclopedia_window */ K_HELP; /*!< key used to toggle display of \ref help_window */ K_RULES; /*!< key used to toggle display of \ref rules_window */ K_NOTEPAD; /*!< key used to toggle display of \ref notepad_window */ K_HIDEWINS; /*!< key used to hide all open windows */ K_SCREENSHOT; /*!< key used to make a screenshot */ K_VIEWTEXTASOVERTEXT; /*!< key used to toggle display of text bubbles (overtext) */ K_AFK; /*!< key used to display AFK messages */ K_SIT; /*!< key used to toggle sitting status, i.e. sit down/stand up */ K_RANGINGLOCK; /*!< key used to toggle ranging-lock status */ K_BUDDY; /*!< key used to toggle the buddy window */ K_NEXT_CHAT_TAB; /*!< key used to switch to next chat tab */ K_PREV_CHAT_TAB; /*!< key used to switch to previous tab */ K_TABCOMPLETE; /*!< key used to autocomplete commands/buddy names */ K_WINDOWS_ON_TOP; /*!< key used to toggle the windows_on_top option */ K_MARKFILTER; /*!< key used to toggle the TAB map mark filtering function */ K_OPAQUEWIN; /*!< key used to toggle window opacity */ K_GRAB_MOUSE; /*!< key used to toggle whether mouse is in HUD or camera control mode */ K_FIRST_PERSON; /*!< key used to toggle first person/third person view mode*/ K_EXTEND_CAM; /*!< key used to toggle extended camera mode*/ K_CUT; /*!< key used to cut text and copy it into a clipboard */ K_COPY; /*!< key used to copy text into a clipboard */ K_PASTE; /*!< key used to copy text from a clipboard into EL */ K_COPY_ALT; /*!< alternative key used to copy text into a clipboard */ K_PASTE_ALT; /*!< alternative key used to copy text from a clipboard into EL */ K_EMOTES; /*!< key used to toggle display of \ref emotes_window */ K_RANGINGWIN; /*!< key used to toggle display of ranging win */ K_COUNTERS; /*!< key used to toggle display of counters window */ K_HELPSKILLS; /*!< key used to toggle display of help window skills tab */ /*! \name Quickbar access keys */ K_ITEM1; K_ITEM2; K_ITEM3; K_ITEM4; K_ITEM5; K_ITEM6; K_ITEM7; K_ITEM8; K_ITEM9; K_ITEM10; K_ITEM11; K_ITEM12; /*! \name Magic quickbar access keys */ K_SPELL1; K_SPELL2; K_SPELL3; K_SPELL4; K_SPELL5; K_SPELL6; K_SPELL7; K_SPELL8; K_SPELL9; K_SPELL10; K_SPELL11; K_SPELL12; // default definitions for keys K_QUIT=ALT|'x'; #ifdef WINDOWS // Windows SDL reports [Alt Gr] as [Ctrl], which hinders German users typing '@', // so don't use Ctrl-q as a symbol to exit K_QUIT_ALT=ALT|'x'; #elif OSX K_QUIT_ALT=KMOD_LMETA|'q'; #else K_QUIT_ALT=CTRL|'q'; #endif K_CAMERAUP=SDLK_UP; K_CAMERADOWN=SDLK_DOWN; K_ZOOMOUT=SDLK_PAGEDOWN; K_ZOOMIN=SDLK_PAGEUP; K_TURNLEFT=SDLK_INSERT; K_TURNRIGHT=SDLK_DELETE; K_ADVANCE=SDLK_HOME; K_HEALTHBAR=ALT|'h'; K_VIEWNAMES=ALT|'n'; K_VIEWHP=ALT|'b'; K_STATS=CTRL|'a'; K_QUESTLOG=CTRL|'g'; K_SESSION=CTRL|'z'; K_WALK=CTRL|'w'; K_LOOK=CTRL|'l'; K_USE=CTRL|'u'; K_OPTIONS=CTRL|'o'; K_REPEATSPELL=CTRL|'r'; K_SIGILS=CTRL|'s'; K_MANUFACTURE=CTRL|'m'; K_ITEMS=CTRL|'i'; K_MAP=SDLK_TAB; K_MINIMAP=ALT|'m'; K_ROTATELEFT=SDLK_LEFT; K_ROTATERIGHT=SDLK_RIGHT; K_FROTATELEFT=SHIFT|SDLK_LEFT; K_FROTATERIGHT=SHIFT|SDLK_RIGHT; K_BROWSER=SDLK_F2; K_BROWSERWIN=CTRL|SDLK_F2; K_ESCAPE=SDLK_ESCAPE; K_CONSOLE=SDLK_F1; K_SHADOWS=SDLK_F3; K_KNOWLEDGE=CTRL|'k'; K_ENCYCLOPEDIA=CTRL|'e'; K_HELP=CTRL|'h'; K_NOTEPAD=CTRL|'n'; K_HIDEWINS=ALT|'d'; K_ITEM1=CTRL|'1'; K_ITEM2=CTRL|'2'; K_ITEM3=CTRL|'3'; K_ITEM4=CTRL|'4'; K_ITEM5=CTRL|'5'; K_ITEM6=CTRL|'6'; K_ITEM7=CTRL|'7'; K_ITEM8=CTRL|'8'; K_ITEM9=CTRL|'9'; K_ITEM10=CTRL|'0'; K_ITEM11=CTRL|'-'; K_ITEM12=CTRL|'='; K_SCREENSHOT=CTRL|'p'; K_VIEWTEXTASOVERTEXT=ALT|'o'; K_AFK=CTRL|ALT|'a'; K_SIT=ALT|'s'; K_RANGINGLOCK=ALT|'r'; K_BUDDY=CTRL|'b'; K_NEXT_CHAT_TAB=CTRL|SDLK_PAGEDOWN; K_PREV_CHAT_TAB=CTRL|SDLK_PAGEUP; K_RULES=SDLK_F5; K_SPELL1=ALT|'1'; K_SPELL2=ALT|'2'; K_SPELL3=ALT|'3'; K_SPELL4=ALT|'4'; K_SPELL5=ALT|'5'; K_SPELL6=ALT|'6'; K_SPELL7=ALT|'7'; K_SPELL8=ALT|'8'; K_SPELL9=ALT|'9'; K_SPELL10=ALT|'0'; K_SPELL11=ALT|'-'; K_SPELL12=ALT|'='; K_TABCOMPLETE=CTRL|' '; K_WINDOWS_ON_TOP=ALT|'w'; K_MARKFILTER=CTRL|'f'; K_OPAQUEWIN=CTRL|'d'; K_GRAB_MOUSE=ALT|'g'; K_FIRST_PERSON=ALT|'f'; K_EXTEND_CAM=ALT|'e'; #ifndef OSX K_CUT=CTRL|'x'; K_COPY=CTRL|'c'; K_PASTE=CTRL|'v'; #else K_CUT=KMOD_LMETA|'x'; K_COPY=KMOD_LMETA|'c'; K_PASTE=KMOD_LMETA|'v'; #endif K_COPY_ALT=CTRL|SDLK_INSERT; K_PASTE_ALT=SHIFT|SDLK_INSERT; K_EMOTES=CTRL|'j'; K_RANGINGWIN=CTRL|'t';