aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
diff options
context:
space:
mode:
authorCameron Cawley2019-06-16 23:26:49 +0100
committerFilippos Karapetis2019-07-08 01:24:55 +0300
commit30109816fe3a0dae80795483ff28e9a50e6009a4 (patch)
tree69fdcfec0e566f17343adbacbca5091df8dfb051 /engines/engine.h
parent49a6346966b68d1a2f94d09049e3a4bc0eed3ee8 (diff)
downloadscummvm-rg350-30109816fe3a0dae80795483ff28e9a50e6009a4.tar.gz
scummvm-rg350-30109816fe3a0dae80795483ff28e9a50e6009a4.tar.bz2
scummvm-rg350-30109816fe3a0dae80795483ff28e9a50e6009a4.zip
SDL: Initial implementation of joystick events
Diffstat (limited to 'engines/engine.h')
-rw-r--r--engines/engine.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/engine.h b/engines/engine.h
index d004c29f84..cc7994e047 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -132,7 +132,15 @@ public:
* If this feature is supported, then the corresponding MetaEngine *must*
* support the kSupportsListSaves feature.
*/
- kSupportsSavingDuringRuntime
+ kSupportsSavingDuringRuntime,
+
+ /**
+ * Engine must receive joystick events because the game uses them.
+ * For engines which have not this feature, joystick events are converted
+ * to mouse events.
+ */
+ kSupportsJoystick
+
};