Mar(c) Report post Posted November 17, 2006 (edited) New topic about the ingame hotkeys (static and configurable ones). The old list was in the aged Game Commands topic: 96827[/snapback]. I marked the ones which were not mentioned in that list with ++. (I marked #K_AFK too, this one was mentioned in the list but didn't get added to keys.ini yet.) If I missed any or made any mistakes, post here. (Btw, static hotkeys Ctrl+Q and Delete don't work for me.) Also, are K_SCREENSHOT, K_MARKFILTER and K_MINIMAP ready enough to be added? These are the static hotkeys: note hotkey action Alt+X Exits the game Ctrl+Q Exits the game Alt+Enter Toggles fullscreen mode ++ F6 Toggles HUD border ++ ` Toggles the console window ++ Alt [on animal/player] Temporarily switches to attack cursor ++ Shift [on animal] Temporarily switches to eye cursor Ctrl+V Pastes copied text into the game Shift+Insert Pastes copied text into the game Exit Clears the current input text line Backspace Removes character left of the cursor from the input text line ++ Delete Removes character under the cursor from the input text line Enter Sends the input text line to the server ++ Ctrl+Up Gets a previous text line from input history buffer ++ Ctrl+Down Gets a next text line from input history buffer ++ F9 [test] Particle test: personal fire (light source) ++ Ctrl+F7 [test] Read book "abc.xml" ++ Shift+F7 [test] Read book "sediculos.xml" In console mode: Up Scrolls your chat log one line up Down Scrolls your chat log one line down Page Up Scrolls your chat log one page up Page Down Scrolls your chat log one page down ++ Alt+Page Up Scrolls your chat log to the beginning ++ Alt+Page Down Scrolls your chat log to the end When the cursor is on input text line: ++ Up Moves the cursor one line up ++ Down Moves the cursor one line down ++ Left Moves the cursor one character left ++ Right Moves the cursor one character right ++ Ctrl+Left Moves the cursor one word left ++ Ctrl+Right Moves the cursor one word right ++ Home Moves the cursor to the beginning ++ End Moves the cursor to the end For the configurable hotkeys (i.e. for key.ini), the following special keys are defined: name description name description ESCAPE = Esc PRINT = Print Scrn F1 .. F10 = Function keys F1-F15 SYSREQ = SysRq NUMLOCK = Num Lock LSHIFT = Left Shift CAPSLOCK = Caps Lock RSHIFT = Right Shift SCROLLOCK = Scroll Lock LCTRL = Left Ctrl KP0 .. KP9 = Keypad 0-9 RCTRL = Right Ctrl KP_PERIOD = Keypad . (period) LALT = Left Alt KP_DIVIDE = Keypad / (division) RALT = Right Alt KP_MULTIPLY = Keypad * (multiply) LMETA = Left "meta" key KP_MINUS = Keypad - (subtraction) RMETA = Right "meta" key KP_PLUS = Keypad + (addition) LSUPER = Left "super" key KP_ENTER = Keypad Enter RSUPER = Right "super" key KP_EQUALS = Keypad = (equavalent) TAB = Tabulator UP = Up arrow BACKSPACE = Backspace DOWN = Down arrow RETURN = Enter LEFT = Left arrow SPACE = Space bar RIGHT = Right arrow CLEAR = clr? PAGEUP = Page Up MODE = Mode PAGEDOWN = Page Down COMPOSE = Compose HOME = Home HELP = Help END = End MENU = Menu INSERT = Insert POWER = Power DELETE = Delete EURO = Euro PAUSE = Pause UNDO = Undo BREAK = Break These are the configurable hotkeys: note hotkey name default action K_CAMERAUP Up Moves the camera up K_CAMERADOWN Down Moves the camera down K_ROTATELEFT Left Rotates the camera to the left in normal steps K_ROTATERIGHT Right Rotates the camera to the right in normal steps K_FROTATELEFT Shift+Left Rotates the camera to the left in fine steps K_FROTATERIGHT Shift+Right Rotates the camera to the right in fine steps ** K_ZOOMOUT Page Down Zooms out ** K_ZOOMIN Page Up Zooms in K_TURNLEFT Insert Turns your character to the left K_TURNRIGHT Delete Turns your character to the right K_ADVANCE Home Moves your character one step forward ++ K_SIT Alt+S Makes your character sit down/stand up 102981[/snapback] ++ K_AFK Ctrl+Alt+A Toggles your AFK status 75224[/snapback] ** K_HEALTHBAR Alt+H Toggles displaying health bars K_VIEWNAMES Alt+N Toggles displaying actor names K_VIEWHP Alt+B Toggles displaying material points K_VIEWTEXTASOVERTEXT Alt+O Toggles displaying text bubbles (overtext) K_WALK Ctrl+W Switches to walk cursor K_LOOK Ctrl+L Switches to eye cursor K_USE Ctrl+U Switches to use cursor ++ K_ESCAPE Esc Clears the current input text line ++ K_TABCOMPLETE Ctrl+Space Auto-completes commands/names in the text input line 215698[/snapback] ++ K_NEXT_CHAT_TAB Ctrl+Page Down Switches to the next chat tab ++ K_PREV_CHAT_TAB Ctrl+Page Up Switches to the previous chat tab K_MAP Tab Toggles the map mode K_CONSOLE F1 Toggles the console mode K_BROWSER F2 Opens the last displayed url in your browser K_SHADOWS F3 Toggles clouds shadows ++ K_RULES F5 Toggles the rules window ++ K_HELP Ctrl+H Toggles the help window K_ENCYCLOPEDIA Ctrl+E Toggles the encyclopedia window K_OPTIONS Ctrl+O Toggles the options menu K_STATS Ctrl+A Toggles the stats window K_KNOWLEDGE Ctrl+K Toggles the knowledge window K_ITEMS Ctrl+I Toggles the inventory window K_MANUFACTURE Ctrl+M Toggles the manufacture window K_SIGILS Ctrl+S Toggles the spells window ++ K_BUDDY Ctrl+B Toggles the buddy window ++ K_NOTEPAD Ctrl+N Toggles the notepad window ++ K_HIDEWINS Alt+D Hides all open windows 102993[/snapback] ++ K_WINDOWS_ON_TOP Alt+W Toggles the windows-on-top setting 255964[/snapback] K_ITEM1 Ctrl+1 Uses the first item in the quickbar K_ITEM2 Ctrl+2 Uses the second item in the quickbar K_ITEM3 Ctrl+3 Uses the third item in the quickbar K_ITEM4 Ctrl+4 Uses the fourth item in the quickbar K_ITEM5 Ctrl+5 Uses the fifth item in the quickbar K_ITEM6 Ctrl+6 Uses the sixth item in the quickbar ++ K_SPELL1 Alt+1 Casts the first spell on the magic quickbar ++ K_SPELL2 Alt+2 Casts the second spell on the magic quickbar ++ K_SPELL3 Alt+3 Casts the third spell on the magic quickbar ++ K_SPELL4 Alt+4 Casts the fourth spell on the magic quickbar ++ K_SPELL5 Alt+5 Casts the fifth spell on the magic quickbar ++ K_SPELL6 Alt+6 Casts the sixth spell on the magic quickbar K_REPEATSPELL Ctrl+R Repeats the last spell So key.ini looks like this with the default settings: #K_CAMERAUP = UP#K_CAMERADOWN = DOWN #K_ROTATELEFT = LEFT #K_ROTATERIGHT = RIGHT #K_FROTATELEFT = LSHIFT LEFT #K_FROTATERIGHT = LSHIFT RIGHT #K_ZOOMOUT = PAGEDOWN #K_ZOOMIN = PAGEUP #K_TURNLEFT = INSERT #K_TURNRIGHT = DELETE #K_ADVANCE = HOME #K_SIT = LALT s #K_AFK = LCTRL LALT a #K_HEALTHBAR = LALT h #K_VIEWNAMES = LALT n #K_VIEWHP = LALT b #K_VIEWTEXTASOVERTEXT = LALT o #K_WALK = LCTRL w #K_LOOK = LCTRL l #K_USE = LCTRL u #K_ESCAPE = ESCAPE #K_TABCOMPLETE = LCTRL SPACE #K_NEXT_CHAT_TAB = LCTRL PAGEDOWN #K_PREV_CHAT_TAB = LCTRL PAGEUP #K_MAP = TAB #K_CONSOLE = F1 #K_BROWSER = F2 #K_SHADOWS = F3 #K_RULES = F5 #K_HELP = LCTRL h #K_ENCYCLOPEDIA = LCTRL e #K_OPTIONS = LCTRL o #K_STATS = LCTRL a #K_KNOWLEDGE = LCTRL k #K_ITEMS = LCTRL i #K_MANUFACTURE = LCTRL m #K_SIGILS = LCTRL s #K_BUDDY = LCTRL b #K_NOTEPAD = LCTRL n #K_HIDEWINS = LALT d #K_WINDOWS_ON_TOP = LALT w #K_ITEM1 = LCTRL 1 #K_ITEM2 = LCTRL 2 #K_ITEM3 = LCTRL 3 #K_ITEM4 = LCTRL 4 #K_ITEM5 = LCTRL 5 #K_ITEM6 = LCTRL 6 #K_SPELL1 = LALT 1 #K_SPELL2 = LALT 2 #K_SPELL3 = LALT 3 #K_SPELL4 = LALT 4 #K_SPELL5 = LALT 5 #K_SPELL6 = LALT 6 #K_REPEATSPELL = LCTRL r Edited November 17, 2006 by Mar(c) Share this post Link to post Share on other sites
bluap Report post Posted November 18, 2006 Also, are K_SCREENSHOT, K_MARKFILTER and K_MINIMAP ready enough to be added? K_MARKFILTER has been in CVS a while, its enabled by default. I've not had any problems so hopefully it will be include in the next release. K_MINIMAP is not enabled by default however, there are issues being investigated. Share this post Link to post Share on other sites
BloodSucker Report post Posted April 6, 2007 (edited) Can I bind multiple keys to one command? i.e.: #K_SPELL1 = LALT 1 #K_SPELL1 = KP0 ? Edited April 6, 2007 by BloodSucker Share this post Link to post Share on other sites
LabRat Report post Posted April 6, 2007 No, the last one in the list will be the one used as the bound key Share this post Link to post Share on other sites
Alberich Report post Posted July 4, 2007 K_REPEATSPELL Ctrl+R Repeats the last spell Doesn't work for me nothing happens. Share this post Link to post Share on other sites
ttlanhil Report post Posted July 4, 2007 You need to have the spell window open when using that keycombo, and have cast the spell in the spell window. Share this post Link to post Share on other sites
Zilvador Report post Posted May 11, 2008 Sorry for reliving an old thread, but figured this was relevant... These are the static hotkeys: note hotkey action Alt+X Exits the game Ctrl+Q Exits the game I have asked for this before, and Grum came up with some kind of solution by changing a file of shortcuts (not key.ini). Since I installed the client again I havn't been able to find the file and I still can't seem to coordinate my big fingers using combinations with the ALT or CTRL key. The client closes down at very inconvenient moments Can something be done to disable or redelegate these functions to some other keys? //Zilvador Share this post Link to post Share on other sites
Vegar Report post Posted May 11, 2008 Try to set K_QUIT and K_QUIT_ALT to something else in key.ini. Share this post Link to post Share on other sites
Zilvador Report post Posted May 12, 2008 Excellent Thanks for a quick answer. The two lines weren't in my key.ini, but after adding them and setting the new keys to something in the other end of the keyboard, it worked perfectly! Now I don't have to be handicapped by my lack of finger coodination pickpoints in real life //Zilvador Share this post Link to post Share on other sites
Hellocat Report post Posted December 23, 2008 I have changed this: #K_ROTATELEFT = LSHIFT LEFT #K_ROTATERIGHT = LSHIFT RIGHT #K_FROTATELEFT = LEFT #K_FROTATERIGHT = RIGHT Much better now Share this post Link to post Share on other sites
dipi Report post Posted May 8, 2009 are there hotkeys for the new butons? (drop all, get all, mix one/all, sto all) and for reconecting with the server? (when your internet connection falls down) Thx for your time Dipi Share this post Link to post Share on other sites
Quimbly Report post Posted June 18, 2009 would LOVE to have right side alt and ctl to also work for us left handers Share this post Link to post Share on other sites
vinoveritas Report post Posted January 31, 2020 (edited) How are hotkeys working in SDL2 client Ok read documentations for sdl and it should work same way as before Edited February 1, 2020 by vinoveritas Share this post Link to post Share on other sites
Locuas Report post Posted February 1, 2020 Curious about that too Vino Share this post Link to post Share on other sites
bluap Report post Posted February 1, 2020 (edited) The keys work just the same mostly. There is a bug with the keypad keys and the way they are defined in the key.ini which I'll fix asap. is fixed now. Edited February 29, 2020 by bluap Share this post Link to post Share on other sites
bluap Report post Posted December 30, 2021 For the 1.9.6 update, I noted quite a few people had issues with the key.ini file so I thought I'd document the following: The location of the key.ini file (unchanged since forever): The default version of the key.ini file is located where you installed the client; the client data directory. Modifying this version in place is not recommended. Like all other files placed there by the installer, it will be overwritten when next you install a full update. Instead, copy the file and put the copy in the top level of your personal settings folder. Files in this folder will never be overwritten or changed when you install a new client. On windows, your personal setting folder is usually "C:\Users\<your login name>\Documents\Eternal Lands\" on Linux this is normally "$HOME/.elc/". Note, this is not the location of many of your other personal files which are in a sub-folder of this such as "main". On start-up, the client writes a message to the console telling you this sub-folder location. Just move up one folder from there to get to the top level of your personal settings. The client looks for the key.ini file in several locations, stopping when it finds the file. The sequence of locations checked is this: 1) Personal Folder top level, 2) Personal Folder "/updates/<client version number>/" and 3) Installed data folder. In each of the locations, the client will also look for compressed versions with the ".xz" then ".gz" extension. Changes since client was updated to use the SDL version 2 library (1.9.5p6): The left and right CTRL/ALT/Shift modifier keys are now independent. If you use LALT for your definition, RALT will not work too. As before, you cannot define a second key for the same action and if you do, only the last definition in the file will work. The key definitions (other than modifier keys) use the Key Names specified by the SDL2 library. This is largely as it was previously with the notable exception of the keypad keys. Also, if the Key Name includes a space, then you have replace the space with an underscore when adding it to the key.ini file. For example, to define #K_SPELL1 to use keypad 1, you would add the following line to your key.ini file. #K_SPELL1 = KEYPAD_1 Share this post Link to post Share on other sites
Cordor Report post Posted April 29, 2022 On 30.12.2021 at 5:55 PM, bluap said: For the 1.9.6 update, I noted quite a few people had issues with the key.ini file so I thought I'd document the following: The location of the key.ini file (unchanged since forever): The default version of the key.ini file is located where you installed the client; the client data directory. Modifying this version in place is not recommended. Like all other files placed there by the installer, it will be overwritten when next you install a full update. Instead, copy the file and put the copy in the top level of your personal settings folder. Files in this folder will never be overwritten or changed when you install a new client. On windows, your personal setting folder is usually "C:\Users\<your login name>\Documents\Eternal Lands\" on Linux this is normally "$HOME/.elc/". Note, this is not the location of many of your other personal files which are in a sub-folder of this such as "main". On start-up, the client writes a message to the console telling you this sub-folder location. Just move up one folder from there to get to the top level of your personal settings. The client looks for the key.ini file in several locations, stopping when it finds the file. The sequence of locations checked is this: 1) Personal Folder top level, 2) Personal Folder "/updates/<client version number>/" and 3) Installed data folder. In each of the locations, the client will also look for compressed versions with the ".xz" then ".gz" extension. Changes since client was updated to use the SDL version 2 library (1.9.5p6): The left and right CTRL/ALT/Shift modifier keys are now independent. If you use LALT for your definition, RALT will not work too. As before, you cannot define a second key for the same action and if you do, only the last definition in the file will work. The key definitions (other than modifier keys) use the Key Names specified by the SDL2 library. This is largely as it was previously with the notable exception of the keypad keys. Also, if the Key Name includes a space, then you have replace the space with an underscore when adding it to the key.ini file. For example, to define #K_SPELL1 to use keypad 1, you would add the following line to your key.ini file. #K_SPELL1 = KEYPAD_1 Hello i changed the key.ini on android with apkeditor but #K_SPELL1 = KEYPAD_1 have no effect tyvm for development and help :-) Share this post Link to post Share on other sites
bluap Report post Posted April 30, 2022 18 hours ago, Cordor said: Hello i changed the key.ini on android with apkeditor but #K_SPELL1 = KEYPAD_1 have no effect tyvm for development and help :-) Android is a bit tricky as the client has to unpack the files from the APK at run-time then caches them. So if you just reloaded the apk then it would not have replaced the cached file. When a new client is published with updated data, a flag is set in the APK to delete the cache version. If you are running a version of Android (pre 10 I think) that allows access to the file system, you can put a modified version of the key.ini file into your user config directory. On android that is "/Internal/Android/data/com.purebinary.elc/files/user". Share this post Link to post Share on other sites
Cordor Report post Posted May 1, 2022 (edited) I uninstalled EL and used sdmaid to clean all. Then i installed again but no effect. My Android Version is 12. Edited May 1, 2022 by Cordor Share this post Link to post Share on other sites
vinoveritas Report post Posted December 30, 2024 Just because i did loose my key.ini i used for years and did not the setup working (where i have all special stuff on the keypad KEYPAD_, = Keypad . (period) KEYPAD_/ = Keypad / (division) KEYPAD_* = Keypad * (multiply) KEYPAD_- = Keypad - (subtraction) KEYPAD_+ = Keypad + (addition) Share this post Link to post Share on other sites