updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / reminiscence / fix-keys.diff
blob10a0df94c1ca4d27d7eb438dd0ee9b489b1838ca
1 Index: REminiscence-0.2.1/systemstub_sdl.cpp
2 ===================================================================
3 --- REminiscence-0.2.1.orig/systemstub_sdl.cpp
4 +++ REminiscence-0.2.1/systemstub_sdl.cpp
5 @@ -403,12 +403,12 @@ while (true) {
6 if (ev.key.keysym.mod & KMOD_ALT) {
7 if (ev.key.keysym.sym == SDLK_RETURN) {
8 switchGfxMode(!_fullscreen, _currentScaler);
9 - } else if (ev.key.keysym.sym == SDLK_KP_PLUS) {
10 + } else if (ev.key.keysym.sym == SDLK_PLUS) {
11 uint8 s = _currentScaler + 1;
12 if (s < NUM_SCALERS) {
13 switchGfxMode(_fullscreen, s);
15 - } else if (ev.key.keysym.sym == SDLK_KP_MINUS) {
16 + } else if (ev.key.keysym.sym == SDLK_MINUS) {
17 int8 s = _currentScaler - 1;
18 if (_currentScaler > 0) {
19 switchGfxMode(_fullscreen, s);
20 @@ -429,9 +429,9 @@ while (true) {
21 _pi.save = true;
22 } else if (ev.key.keysym.sym == SDLK_l) {
23 _pi.load = true;
24 - } else if (ev.key.keysym.sym == SDLK_KP_PLUS) {
25 + } else if (ev.key.keysym.sym == SDLK_PLUS) {
26 _pi.stateSlot = 1;
27 - } else if (ev.key.keysym.sym == SDLK_KP_MINUS) {
28 + } else if (ev.key.keysym.sym == SDLK_MINUS) {
29 _pi.stateSlot = -1;
30 } else if (ev.key.keysym.sym == SDLK_r) {
31 _pi.inpRecord = true;