Commit graph

3 commits

Author SHA1 Message Date
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
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