diff options
author | Nicolas Bacca | 2004-05-09 14:38:47 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-05-09 14:38:47 +0000 |
commit | 6519c89180e67515a81eb2f3850b468d375884ba (patch) | |
tree | 6b8e9afcd602ec004a8a7e82ce53ff9b610ee1a9 | |
parent | abda73a874edf55c8774f00cd8a0091931c2c625 (diff) | |
download | scummvm-rg350-6519c89180e67515a81eb2f3850b468d375884ba.tar.gz scummvm-rg350-6519c89180e67515a81eb2f3850b468d375884ba.tar.bz2 scummvm-rg350-6519c89180e67515a81eb2f3850b468d375884ba.zip |
Tiny virtual keys changes
svn-id: r13820
-rw-r--r-- | backends/wince/CEkeys/CEKeys.h | 2 | ||||
-rw-r--r-- | backends/wince/CEkeys/Key.cpp | 12 | ||||
-rw-r--r-- | backends/wince/CEkeys/Key.h | 5 |
3 files changed, 4 insertions, 15 deletions
diff --git a/backends/wince/CEkeys/CEKeys.h b/backends/wince/CEkeys/CEKeys.h index af04934b93..3d1bf74544 100644 --- a/backends/wince/CEkeys/CEKeys.h +++ b/backends/wince/CEkeys/CEKeys.h @@ -19,5 +19,5 @@ * */ -#include "KeysBuffer.h" +#include "EventsBuffer.h" diff --git a/backends/wince/CEkeys/Key.cpp b/backends/wince/CEkeys/Key.cpp index 75e03186ab..b406167101 100644 --- a/backends/wince/CEkeys/Key.cpp +++ b/backends/wince/CEkeys/Key.cpp @@ -27,8 +27,8 @@ namespace CEKEYS { _ascii(0), _keycode(0), _flags(0) { } - Key::Key(int ascii, int keycode, int flags, bool pushed) : - _ascii(ascii), _keycode(keycode), _flags(flags), _pushed(pushed) { + Key::Key(int ascii, int keycode, int flags) : + _ascii(ascii), _keycode(keycode), _flags(flags) { } int Key::ascii() { @@ -43,10 +43,6 @@ namespace CEKEYS { return _flags; } - bool Key::pushed() { - return _pushed; - } - void Key::setAscii(int ascii) { _ascii = ascii; @@ -60,8 +56,4 @@ namespace CEKEYS { void Key::setFlags(int flags) { _flags = flags; } - - void Key::setPushed(bool pushed) { - _pushed = pushed; - } } diff --git a/backends/wince/CEkeys/Key.h b/backends/wince/CEkeys/Key.h index 4e95d228e3..865c2a462d 100644 --- a/backends/wince/CEkeys/Key.h +++ b/backends/wince/CEkeys/Key.h @@ -30,21 +30,18 @@ namespace CEKEYS { class Key { public: - Key(int ascii, int keycode = 0, int flags = 0, bool pushed = true); + Key(int ascii, int keycode = 0, int flags = 0); Key(); void setAscii(int ascii); void setKeycode(int keycode); void setFlags(int flags); - void setPushed(bool pushed); int ascii(); int keycode(); int flags(); - bool pushed(); private: int _ascii; int _keycode; int _flags; - bool _pushed; }; } |