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:
parent
080104cbc0
commit
b0af8b3d25
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue