Commit Graph
135 Commits
Author SHA1 Message Date
antoniou 987becc529 ANDROID: Fix physical mouse behavior and allow multitouch hold and drag
Also added various comments to document behavior.

Minor JE_MULTI event (Fix concerned bad brackets code in the events.cpp for JE_MULTI (multiple fingers held down)
) fix and comments for mouse behavior
Allow onHover to catch the mouse events instead of OnTrackBallEvent()
Also the "system back" button is ignored for the Trackball too because we treat it as mouse in isMouse(e) check
Add multitouch handler class. Handling and early filtering of multitouch events is moved in the new class.
2021-01-10 22:10:29 +02:00
Cameron Cawley 01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
Cameron Cawley b246dbdfb6 ANDROID: Add a backend-specific options widget 2020-11-22 16:35:03 +00:00
Vladimir Serbinenko 68a9136e4d COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
antoniou 64eb1c0afe ANDROID: A tentative handling of handling joystick control
Basically as a virtual mouse
2020-10-25 02:30:32 +03:00
Cameron Cawley b6a8fc5dd2 ANDROID: Minor cleanup 2020-10-14 17:47:22 +01:00
antoniou e25ac0bc55 ANDROID: Correctly init config keys and reflect values on GUI
Also comments added about how this process works. Fixes bug #11743
2020-10-07 15:26:31 +03:00
antoniou 5613c50fb3 ANDROID: Set AC_BACK to be the default map for Skip action
If Skip is not otherwise mapped by the game engine explicitly
2020-10-03 12:26:38 +03:00
antoniou 50eb038312 ANDROID: Comment about related bug report for transient config options 2020-10-02 12:42:06 +03:00
antoniou 8a87db94de KEYMAPPER: remap timeout (ms) can be set from config
Config key is "remap_timeout_delay_ms", min value is 3000
2020-09-26 17:00:57 +03:00
antoniou c45dfd4a2f ANDROID: Migrate old save files
More testing pending
2020-09-24 01:50:45 +03:00
antoniou 6906bba959 ANDROID: Revert chnage for long press AC_BACK handler
Huawei Android 9 seemed to not be working ok (or at all) with the change
2020-09-16 20:34:49 +03:00
aryanrawlani28 a9c5e930f0 ANDROID: Make clipboards work with U32Strings. 2020-08-30 14:43:41 +02:00
Cameron Cawley 2cdbc27ef8 ANDROID: Fix creating the default event manager 2020-08-27 23:05:45 +01:00
Cameron Cawley 75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Cameron Cawley cf068bcc08 ALL: Remove direct use of OSystem::createMutex() 2020-08-21 09:39:00 +02:00
antoniou 4685d7d2e6 ANDROID: Don't reset the autosave period to 0 upon launch 2020-07-25 22:42:43 +03:00
Cameron Cawley b41c5f1952 ANDROID: Implement OSystem::convertEncoding() 2020-07-18 15:14:01 +03:00
Cameron Cawley 0efce44e81 ANDROID: Clean up the text conversion code 2020-07-18 15:14:01 +03:00
Thanasis Antoniou bd1e2b8b87 ANDROID: Notes on superseded swap_menu_and_back_buttons conf key 2020-02-27 08:23:09 +02:00
Cameron Cawley fffb25a47a ANDROID: Add basic keymapper support (#2026)
* ANDROID: Remove hard-coded key mappings

* ANDROID: Add default key bindings
2020-02-26 10:23:47 +02:00
Thanasis Antoniou 3c9741a4c3 ANDROID: Early fix for Android 9+ crash and config/save path issues 2020-01-31 17:23:15 +02:00
Cameron Cawley 24b9e9f390 ANDROID: Remove old and broken keymapper code
This isn't needed after commit 665e472.
2020-01-20 13:54:41 +00:00
Cameron Cawley 2048c9cc78 AUDIO: Remove unused parameter from the MixerImpl constructor 2019-11-30 17:47:34 +02:00
Thanasis Antoniou 3e9504856f ANDROID: Override UTF-8 compliant definition of vsn_printf
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf

The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00
Cameron Cawley 94a53ccb0f ANDROID: Add swap menu and back buttons option 2019-10-23 07:41:31 +03:00
Cameron Cawley 5589c2bd60 ANDROID: Fix warning 2019-10-18 16:48:18 +01:00
Thanasis Antoniou c964ed2b0b ANDROID: Fix audio cd manager crash upon exit 2019-10-11 21:49:18 +03:00
Thanasis Antoniou f79d5d9b6b ANDROID: Use _system->destroy() instead of just delete in JNI::Destroy() 2019-09-24 12:40:18 +03:00
Thanasis Antoniou d39eca7e39 ANDROID: Fix crash when exiting a game (Blade Runner) 2019-09-23 16:02:30 +03:00
Thanasis Antoniou e7d331fe94 ANDROID: Use FORBIDDEN_SYMBOL_EXCEPTION_getenv for browser_lastpath purposes 2019-09-15 00:46:02 +03:00
Thanasis Antoniou 1fd01c82ae ANDROID: Set default browser_lastpath to /storage
Avoid use of get_env
2019-09-15 00:28:44 +03:00
Thanasis Antoniou 8ca76c65fc ANDROID: Set default browser_lastpath 2019-09-15 00:21:40 +03:00
Cameron Cawley 7a05624e1b ANDROID: Rewrite to make use of OpenGLGraphicsManager (#1695)
* ANDROID: Rewrite to make use of OpenGLGraphicsManager

* ANDROID: Fix emulated mouse button up events
2019-09-08 19:37:48 +01:00
Cameron Cawley 12c232eefc ANDROID: Add a button to show the virtual keyboard 2019-08-20 14:32:50 +03:00
Cameron Cawley 357493082f ANDROID: Fix some Codacy warnings 2019-07-23 17:21:09 +01:00
Cameron Cawley b9e29cedfc ANDROID: Move isConnectionLimited into OSystem 2019-06-21 08:19:37 +03:00
Cameron Cawley 5d7cd526e8 ANDROID: Add a pthreads-based mutex manager 2019-04-20 15:53:56 +03:00
Cameron Cawley 539c3330a8 ANDROID: Implement clipboard support 2018-10-05 00:10:27 +01:00
Cameron Cawley 8120a22a40 ANDROID: Use the dedicated GUI option for enabling the touchpad mode 2018-07-29 09:47:15 +02:00
Thierry Crozat 1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Joel Teichroeb 59934881a1 ANDROID: Remove unpacker and fix support for non arm 2015-01-05 20:18:31 -08:00
Johannes Schickel 5c2dac59be ANDROID: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Marcus Comstedt a50ede203b ANDROID: Add support for joystick motion 2013-08-08 14:53:36 +02:00
Eugene Sandulenko 49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Alyssa Milburn 8d488f9f70 ANDROID: Force htc_fail for all Android devices, for now. 2013-05-16 12:57:21 +02:00
Matthew Hoops b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Alyssa Milburn 4763b2c51b ANDROID: Add faked input delay.
This adds an artificial delay for mouse up events to make engines
like Gob work, similar to the iPhone fix in b3062b5e.
2012-02-03 12:36:03 +01:00
Alyssa Milburn c382c0c195 ANDROID: Delete _timerManager in OSystem_Android's destructor.
If we leave it for OSystem, the DefaultTimerManager destructor tries
constructing a StackLock which, predictably, calls a pure virtual
function, because OSystem_Android's destructor is finished.
2011-10-21 14:28:02 +02:00