[ scummvm-Bugs-1001126 ] ALL: Fullscreen/window switching - Return != Enter

SourceForge.net noreply at sourceforge.net
Sat Jul 31 11:30:38 CEST 2004


Bugs item #1001126, was opened at 2004-07-31 10:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1001126&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alan Swanson (swanson)
Assigned to: Nobody/Anonymous (nobody)
Summary: ALL: Fullscreen/window switching -  Return != Enter

Initial Comment:
The SDL standard for switching between fullscreen and
windowed mode is Alt-Enter as documented in the README.
However ScummVM actually uses Return, not the normal
keypad Enter key.

In backends/sdl/events.cpp the following line should be
changed from;

if (b == KBD_ALT && ev.key.keysym.sym == SDLK_RETURN) {

To;

if (b == KBD_ALT && ev.key.keysym.sym == SDLK_KP_ENTER) {

Or alternatively;

if (b == KBD_ALT && (ev.key.keysym.sym == SDLK_KP_ENTER
|| ev.key.keysym.sym == SDLK_KP_ENTER))  {

Same in the backends/wince directory.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1001126&group_id=37116




More information about the Scummvm-tracker mailing list