From a041ef23174a21eb42285e8c518f38b81468b13d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 22 Jun 2007 23:03:12 +0000 Subject: Slightly updated key handling in BS2, Kyra, and Touche svn-id: r27637 --- engines/sword2/sword2.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/sword2/sword2.h') diff --git a/engines/sword2/sword2.h b/engines/sword2/sword2.h index b6d6c331f9..a9a1e21875 100644 --- a/engines/sword2/sword2.h +++ b/engines/sword2/sword2.h @@ -39,6 +39,7 @@ #include "engines/engine.h" +#include "common/events.h" #include "common/util.h" #define MAX_starts 100 @@ -79,9 +80,7 @@ struct MouseEvent { struct KeyboardEvent { bool pending; - uint16 ascii; - int keycode; - int modifiers; + Common::KeyState kbd; }; struct StartUp { -- cgit v1.2.3