aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_keys.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix recursive error for disconnect after reliable client command overflow. ↵thilo2009-10-111-1/+1
| | | | | | Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616 git-svn-id: svn://svn.icculus.org/quake3/trunk@1655 edf5b092-35ff-0310-97b2-ce42778d08ea
* Rewrite of key event processing, thanks to /dev/humancontroller and Ben ↵thilo2009-10-031-136/+103
| | | | | | Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3374 git-svn-id: svn://svn.icculus.org/quake3/trunk@1642 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move command argument completion from being hard coded to being associatedtma2008-09-161-0/+46
| | | | | | | with the individual commands to be completed git-svn-id: svn://svn.icculus.org/quake3/trunk@1472 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Com_HexStrToInttma2008-09-051-21/+4
| | | | | | | | | | * Fixed some whacky indentation in q_shared.c * Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition to ASCII characters * Experimental code to ignore dead keys git-svn-id: svn://svn.icculus.org/quake3/trunk@1470 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 'Handle dead keys more gracefully by taking a "best guess" rather thantma2008-08-281-6/+1
| | | | | | | | | | | ignoring completely' from r1459; it can't ever work acceptably, especially on azerty/qwertz layouts * Make the ordering of the output from in_keyboardDebug more sensible * Add cl_consoleKeys cvar, a space delimited list of key names or characters that toggle the console git-svn-id: svn://svn.icculus.org/quake3/trunk@1461 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy up the keyboard code a bit, add in_keyboardDebugtma2008-08-191-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1450 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure fullscreen does not work for in_nograb when manually Alt-Entering, ↵thilo2008-03-261-1/+1
| | | | | | too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1282 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Unconditionally place a '\' at the start of the command buffer whentma2007-10-121-0/+12
| | | | | | | | | | | autocompleting -- you're still all WRONG :p * Fix bugette where the completee didn't get its case copied from the completed token * Add functionality to autocomplete key names * Don't build client command completion on the dedicated server git-svn-id: svn://svn.icculus.org/quake3/trunk@1195 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug that prevented key up events getting to cgame/ui when not in gametma2007-10-021-19/+44
| | | | | | | | * Use Key_[GS]etCatcher everywhere to set keycatcher * Clear all key states when the catcher changes git-svn-id: svn://svn.icculus.org/quake3/trunk@1189 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't apply colour escape chars on input fieldstma2007-09-211-26/+25
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1184 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-16/+13
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Nuts.tma2007-08-231-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1131 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3324) Incorrect use of sizeof (beast <info@dbwatersports.com>)tma2007-08-231-51/+39
| | | | | | | | | | | | | | * (bug 2946) Console scrolling broken (identified by misantropia) + Field_VariableSizeDraw contained a hack to ensure the cursor was always visible. Unfortunately this interfered with scrolling long lines. Move the hack to a different place + Removed commented code in the same function + Reworked Field_KeyDownEvent to use a switch( ... ) and set edit->scroll in every case, thereby avoiding scrolling issues when "Home" or "End" are pressed git-svn-id: svn://svn.icculus.org/quake3/trunk@1130 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Silly tab filter breaking thingstma2007-04-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1055 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move storage of console history from a cvar to a file in order to alleviatetma2007-04-011-40/+67
| | | | | | | security concerns git-svn-id: svn://svn.icculus.org/quake3/trunk@1054 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now definedtjw2007-03-221-5/+5
| | | | | | | | | | | | | | | at 256 for mod compatability reasons. ioq3-only mods may chose to use MAX_KEYS for checking binds in order to get full key support, but at the cost of breaking compatability with older clients. * (bug 2741) remove some lingering 256-key hardcoding * properly check bounds of keynum in Key_IsDown(), Key_SetBinding(), and Key_GetBinding() git-svn-id: svn://svn.icculus.org/quake3/trunk@1053 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2741) Adds support in the SDL client for many keys that were nottjw2007-02-141-4/+118
| | | | | | | | | | | | | recognized. For example, F13, F14, F15, WINDOWS, SCROLLLOCK, CAPSLOCK, WORLD_0 - WORLD_95, etc. (Christophe Cavalaria) * (bug 2741) Adds the hard-coded toggleConsole bind Shift-Escape * (bug 2741) Adds detailed explaination of SDL keyboard handling differences in the README file. git-svn-id: svn://svn.icculus.org/quake3/trunk@1044 edf5b092-35ff-0310-97b2-ce42778d08ea
* using the function pointer time() doesn't make any sense. Passing downludwig2006-12-301-2/+2
| | | | | | | the variable instead looks like the obvious fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1020 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2758) Toggling the console while holding keys can put the cgame/uitjw2006-10-231-1/+2
| | | | | | | | | keycatchers in a bad place since they see a key press for a key that is already in a down state. Simply clearing the down state of all keys as the console is toggled seems like a simple fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@951 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Reimplement console history recall "bug" behaviour without the bugtma2006-02-041-2/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@531 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to an obo bug in the console history recall codetma2006-01-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@530 edf5b092-35ff-0310-97b2-ce42778d08ea
* * SDL build no longer requires a vid_restart when changing r_fullscreentma2006-01-251-22/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@526 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Persistent console historytma2006-01-241-1/+107
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@522 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the operation of the delete key in *nixtma2006-01-221-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@516 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-221-2/+2
| | | | | | | | | | - No longer does weird stuff like move the cursor inappropriately - Autocomplete works with compound commands - Special autocomplete on some commands e.g. \map, \demo - Removed various hacks used to counter the original autocomplete code git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced lots of __linux__ || __FreeBSD__ with __GNUC__tma2005-09-231-1/+1
| | | | | | | | * MinGW port now uses asm versions of SnapVector and ftol * Improved the handling of mangled symbols in vm_x86.c git-svn-id: svn://svn.icculus.org/quake3/trunk@99 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to multiple buffer overflow bugs in CL_Rcon_ftma2005-09-191-2/+2
| | | | | | | | | | | * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-1252/+1252
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+1252
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea