aboutsummaryrefslogtreecommitdiffstats
path: root/code/sdl/sdl_input.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add Com_HexStrToInttma2008-09-051-29/+45
| | | | | | | | | | * 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
* * Update IN_IsConsoleKey so that specifying ascii values/characters for thetma2008-08-301-10/+52
| | | | | | | console key always results in the character being used as opposed to the key git-svn-id: svn://svn.icculus.org/quake3/trunk@1464 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Better condition to test whether to use the character or the keytma2008-08-281-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1462 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 'Handle dead keys more gracefully by taking a "best guess" rather thantma2008-08-281-37/+76
| | | | | | | | | | | 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
* * Handle dead keys more gracefully by taking a "best guess" rather than ignoringtma2008-08-251-15/+46
| | | | | | | | | | completely * When activating or deactivating the mouse flush any pending motion events; this should stop the view moving unpredictably in these circumstances * Add keyname completion to "unbind" git-svn-id: svn://svn.icculus.org/quake3/trunk@1459 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't set SE_KEY event to ctrl-h; I don't think this makes sensetma2008-08-221-23/+39
| | | | | | | | | | | | * Don't warp the mouse on deactivation unless the cursor is in the window already; this fixes in_nograb * Stop grabbing the mouse in windowed mode when there is no sense in doing so * Make sure that IN_Restart is only called on r_fullscreen modification if a mode change actually takes place git-svn-id: svn://svn.icculus.org/quake3/trunk@1455 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Really fix backspace on OS X (I hope)tma2008-08-221-5/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1454 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Prevent ~ from generating a charactertma2008-08-221-0/+6
| | | | | | | * Fix backspace on OS X (I hope) git-svn-id: svn://svn.icculus.org/quake3/trunk@1453 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy up the keyboard code a bit, add in_keyboardDebugtma2008-08-191-57/+84
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1450 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Always show the mouse cursor when the mouse is disabledtma2008-08-091-18/+47
| | | | | | | | | | | * Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick * Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time * Call IN_Restart when changing r_fullscreen * Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use * Random README tweaks git-svn-id: svn://svn.icculus.org/quake3/trunk@1441 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use Sys_Sleep to limit FPS, which will save CPUtma2008-07-211-10/+1
| | | | | | | | * Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory * Fix reopening of bug 3703, I hope git-svn-id: svn://svn.icculus.org/quake3/trunk@1431 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert r1341 as there doesn't seem to be a lot of point to the change and ittma2008-07-161-8/+1
| | | | | | | | potentially will cause input events to be queued in a different order to that in which they were received git-svn-id: svn://svn.icculus.org/quake3/trunk@1428 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed compiler warning on Mac OS X.icculus2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1417 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend tma2008-07-051-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | <TylerSchwend@gmail.com>) * (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>) * (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>) * (bug 3669) Some files left out of Solaris Packages (Vincent Cojot <vincent@cojot.name>) * (bug 3680) server quit messages (Ben Millwood) * (bug 3682) Maps with >1024 models cause a segfault (misantropia <bnoordhuis@gmail.com>) * (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers (misantropia <bnoordhuis@gmail.com>) * (bug 3688) q3asm potential segfault fix and other changes (TsT <tst2006@gmail.com>) * (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT <tst2006@gmail.com>) * (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not working (Matthias <Kapffer@macbay.de>) * (bug 3698) #error reported as warning in q3cpp (and no #warning support) (Ben Millwood) * (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller <devhc97@gmail.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1405 edf5b092-35ff-0310-97b2-ce42778d08ea
* Whoops, maybe this is the right header location...icculus2008-06-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1384 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added #include to fix compiler warning on Mac OS X.icculus2008-06-091-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1383 edf5b092-35ff-0310-97b2-ce42778d08ea
* combine all mouse events received in one frameludwig2008-05-061-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1341 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix building on MacOSX.thilo2007-12-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1238 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)tma2007-11-021-1/+5
| | | | | | | | | * (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug that prevented key up events getting to cgame/ui when not in gametma2007-10-021-2/+2
| | | | | | | | * 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
* * Merge unified-sdl to trunktma2007-09-051-0/+801
* Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea