aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
diff options
context:
space:
mode:
authorMax Horn2004-12-30 14:48:21 +0000
committerMax Horn2004-12-30 14:48:21 +0000
commit989ae4040299c87a2dcb747adb422dbe1458572e (patch)
tree62b55a10c90045c41587a75f5c147d406aa69974 /backends/sdl/sdl-common.h
parentf0d0ce7979d89ab67cb702326f900dc721aa01a4 (diff)
downloadscummvm-rg350-989ae4040299c87a2dcb747adb422dbe1458572e.tar.gz
scummvm-rg350-989ae4040299c87a2dcb747adb422dbe1458572e.tar.bz2
scummvm-rg350-989ae4040299c87a2dcb747adb422dbe1458572e.zip
Swallow ctrl-alt keyup events, too
svn-id: r16384
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 276fb4a65f..8f3bd41385 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -204,7 +204,7 @@ protected:
kTransactionActive = 2
};
- struct transactionDetails {
+ struct TransactionDetails {
int mode;
bool modeChanged;
int w;
@@ -215,7 +215,8 @@ protected:
bool fsChanged;
bool ar;
bool arChanged;
- } _transactionDetails;
+ };
+ TransactionDetails _transactionDetails;
/** Force full redraw on next updateScreen */
bool _forceFull;
@@ -248,7 +249,9 @@ protected:
bool _cksumValid;
int _cksumNum;
- // Keyboard mouse emulation
+ // Keyboard mouse emulation. Disabled by fingolfin 2004-12-18.
+ // I am keeping the rest of the code in for now, since the joystick
+ // code (or rather, "hack") uses it, too.
struct KbdMouse {
int16 x, y, x_vel, y_vel, x_max, y_max, x_down_count, y_down_count;
uint32 last_time, delay_time, x_down_time, y_down_time;