Remove some spurious simulated key press...
This commit is contained in:
parent
2ccfd7075d
commit
c24ffcb6ef
1 changed files with 2 additions and 1 deletions
|
@ -888,6 +888,7 @@ void handle_events (void)
|
||||||
case SDL_KEYDOWN:
|
case SDL_KEYDOWN:
|
||||||
if(rEvent.key.keysym.sym==SDLK_PAGEUP)
|
if(rEvent.key.keysym.sym==SDLK_PAGEUP)
|
||||||
slow_mouse=true;
|
slow_mouse=true;
|
||||||
|
#ifdef PANDORA_SPECIFIC
|
||||||
if(currprefs.pandora_custom_dpad == 1) // dPad as mouse, why these emulation of key presses?
|
if(currprefs.pandora_custom_dpad == 1) // dPad as mouse, why these emulation of key presses?
|
||||||
{
|
{
|
||||||
if(rEvent.key.keysym.sym==SDLK_RSHIFT)
|
if(rEvent.key.keysym.sym==SDLK_RSHIFT)
|
||||||
|
@ -906,7 +907,7 @@ void handle_events (void)
|
||||||
record_key(AK_DN << 1);
|
record_key(AK_DN << 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (rEvent.key.keysym.sym==SDLK_F11)
|
if (rEvent.key.keysym.sym==SDLK_F11)
|
||||||
{
|
{
|
||||||
// state moves thus:
|
// state moves thus:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue