Make '+' work on all layouts

Key handling code obuses the fact that plus sign is shifted key for equals sign
on US keyboard.  Add '+' as a control for layouts where this is not the case.
This commit is contained in:
Dmitrij D. Czarkoff 2016-04-25 12:53:02 +02:00
parent 080104cbc0
commit b0af8b3d25

View file

@ -363,6 +363,7 @@ int main(int argc, char** argv)
delay_msec = 0;
break;
case SDLK_EQUALS:
case SDLK_PLUS:
case SDLK_i:
case SDLK_UP:
imv_viewport_zoom(&view, &tex, IMV_ZOOM_KEYBOARD, 1);