Commit graph

25 commits

Author SHA1 Message Date
Dries Harnie
c4c315decc
Merge pull request #1537 from ccawley2011/android-input
ANDROID: Clean up input
2019-04-16 08:10:56 +02:00
Cameron Cawley
7f0c9a34ec ANDROID: Implement clipboard support 2019-04-12 21:04:19 +01:00
Cameron Cawley
4c38b454fe ANDROID: Replace getPixelFormatName function with PixelFormat::toString 2019-04-12 20:55:12 +01:00
Cameron Cawley
83002b66dc ANDROID: Clean up touch screen input 2019-04-12 20:30:17 +01:00
Bastien Bouclet
4dca903dc0 ANDROID: Fix build 2017-12-07 19:11:02 +01:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Bastien Bouclet
31715787ca SYSTEM: Add a system method for retrieving the screen framebuffer 2016-02-06 08:53:41 +01:00
Bastien Bouclet
4c2c1b4d36 GRAPHICS: Set the namespace for OpenGL classes to OpenGL 2016-02-06 08:02:27 +01:00
Dries Harnie
36c8b3d2d5 GRAPHICS: Move common OpenGL files into graphics/opengl 2015-05-27 10:08:25 +02:00
Pawel Kolodziejski
c14d0ad8dc ALL: unify setupScreen() arguments type 2014-07-19 19:42:01 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie
e65d98801e ANDROID: Factor event pushing into pushEvent 2014-02-02 14:25:06 +01: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
Dries Harnie
47414b51f7 ANDROID: Draw GLES2 in framebuffer 2014-01-14 00:26:39 +01: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
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
Dries Harnie
1272c4030c ANDROID: Switch renderer to GL ES2 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
654ccc883c ANDROID: import backends/platform/android from ScummVM 2012-04-30 19:04:24 +02:00