Commit graph

16 commits

Author SHA1 Message Date
Cameron Cawley
0361373700 ANDROID: Use the dedicated GUI option for enabling the touchpad mode 2019-04-12 21:00:08 +01:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie
24d679fa9d ANDROID: Remove unused htc_fail and shake_offset fields 2014-02-02 14:12:28 +01:00
Joel Teichroeb
0afc2b8e0b ANDROID: Remove Unpacker and plugin related things
Also remove the splash screen that happend during unpacking.
2014-01-24 11:51:20 -08:00
Pawel Kolodziejski
068ff94d20 ALL: synced with ScummVM 2013-07-07 15:29:33 +02:00
Dries Harnie
dcca11fea8 ANDROID: Refactor touch controls to separate class 2013-06-02 15:27:55 +02:00
Dries Harnie
471e4748b3 ANDROID: Support swipe-based virtcontrols
Touching and holding the left side of the screen functions as a
joystick.
Swiping the middle side allows fine control over arrow keys (eg.
dialogues), tapping it sends an enter key.
Swiping the right side up/down sends pageup/pagedown.
2013-06-02 15:27:55 +02:00
Dries Harnie
dcfade91e9 ANDROID: Force fullscreen setting to true 2013-06-02 15:27:38 +02:00
Dries Harnie
7396dc5778 ANDROID: Joystick movement and swipes 2013-06-02 14:53:50 +02:00
Dries Harnie
97a698a554 ANDROID: Add kVirtControls to OSystem_Android 2013-06-02 14:53:50 +02:00
Pawel Kolodziejski
72664703cf ALL: sync with scummvm 2012-07-06 22:05:21 +02:00
Tobias Gunkel
228cc7ac64 ANDROID: adjust event handling
- controls in non-mouse mode:
  - use the touchpad borders as arrow keys
  - double tap on one of the borders triggers run mode
  - tap into the center area triggers the use-action (ENTER)
  - double-tap into the center area triggers the lookat-action ('u')
  - long press into the center area shows inventory in grim ('i')
  - a fling in the center area skips the current sentence ('.')

TODO: Instead of hardcoding the keys, they should be mapped later.

Note that passing events from onTouch() to the GestureListener does not seem to work correctly (most double-taps are ignored). Instead onTouchEvent() is used now which worked much better with the GestureListener.
2012-04-30 19:11:32 +02:00
Tobias Gunkel
c501fa8c58 ANDROID: implement OSystem methods and add support for soft rendering 2012-04-30 19:11:31 +02:00
Tobias Gunkel
45ca17f122 ANDROID: adjust Android backend files for ResidualVM 2012-04-30 19:09:34 +02:00
tobias
654ccc883c ANDROID: import backends/platform/android from ScummVM 2012-04-30 19:04:24 +02:00