mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
in_sdl.c: fixed backspace key on Mac OS X
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@631 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
b269598872
commit
f99af3f724
1 changed files with 4 additions and 0 deletions
|
@ -364,6 +364,10 @@ void IN_SendKeyEvents (void)
|
|||
case key_console:
|
||||
if ((event.key.keysym.unicode != 0) || (modstate & KMOD_SHIFT))
|
||||
{
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
if (sym == SDLK_BACKSPACE)
|
||||
break; /* avoid change to SDLK_DELETE */
|
||||
#endif /* Mac OS X */
|
||||
#if defined(__QNX__)
|
||||
if ((sym == SDLK_BACKSPACE) || (sym == SDLK_RETURN))
|
||||
break; /* S.A: fixes QNX weirdness */
|
||||
|
|
Loading…
Reference in a new issue