diff --git a/src/kb-sdl/keyboard.cpp b/src/kb-sdl/keyboard.cpp index 9799876f..5f477320 100644 --- a/src/kb-sdl/keyboard.cpp +++ b/src/kb-sdl/keyboard.cpp @@ -136,6 +136,8 @@ static int kc_decode (SDL_keysym *prKeySym) case 64: return AK_LALT; case 65: return AK_SPC; + case 108:return AK_RALT; + //case 78: return AK_SCROLLOCK; //case 77: return AK_NUMLOCK; diff --git a/src/od-pandora/pandora.cpp b/src/od-pandora/pandora.cpp index 9dae4de1..e8ed6682 100644 --- a/src/od-pandora/pandora.cpp +++ b/src/od-pandora/pandora.cpp @@ -979,6 +979,7 @@ void handle_events (void) case SDL_KEYUP: if(rEvent.key.keysym.sym==SDLK_PAGEUP) slow_mouse = false; +#ifdef PANDORA_SPECIFIC if(currprefs.pandora_custom_dpad == 1) // dPad as mouse, why these emulation of key presses? { if(rEvent.key.keysym.sym==SDLK_RSHIFT) @@ -997,7 +998,7 @@ void handle_events (void) record_key((AK_DN << 1) | 1); } } - +#endif if (rEvent.key.keysym.sym==SDLK_RSHIFT || rEvent.key.keysym.sym==SDLK_RCTRL) { doStylusRightClick = 0;