diff options
author | Paul Gilbert | 2017-08-04 22:00:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-04 22:00:49 -0400 |
commit | e44c5bdcc6ca300d70d2455a70ee466552e52dc2 (patch) | |
tree | bdba17efbfcae4808bccc5c4b0da5c14665cc194 /engines/titanic/input_translator.h | |
parent | f9c370d942d28c15b44a7f1786fac3e9e3bb545f (diff) | |
download | scummvm-rg350-e44c5bdcc6ca300d70d2455a70ee466552e52dc2.tar.gz scummvm-rg350-e44c5bdcc6ca300d70d2455a70ee466552e52dc2.tar.bz2 scummvm-rg350-e44c5bdcc6ca300d70d2455a70ee466552e52dc2.zip |
TITANIC: Introduce movement via arrow keys
This also fixes a bug with Page Up, Down, Home, & End not working for
the Conversation tab. Additionally, code for scrolling individual
lines in the conversation and glyphs via the arrow keys has been
removed in favor of this centrallised movement, since they were
somewhat redundant, and the mouse wheel can be used for scrolling.
Diffstat (limited to 'engines/titanic/input_translator.h')
-rw-r--r-- | engines/titanic/input_translator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/input_translator.h b/engines/titanic/input_translator.h index cb53a2c396..0e1b5de1b1 100644 --- a/engines/titanic/input_translator.h +++ b/engines/titanic/input_translator.h @@ -36,6 +36,12 @@ private: * Converts the special buttons bitset into a buttons bitset */ int getButtons(int special) const; + + /** + * Returns true if a key down contains a special non-ascii key + * that should still be passed onto the game + */ + bool isSpecialKey(Common::KeyCode key); public: CInputHandler *_inputHandler; public: |