Martin Gerhardy
a0c237f7b9
EVENTRECORDER: added new event for OSystem::getTimeAndDate
2021-07-09 19:23:21 +02:00
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
8c90d4e498
ANDROID: Add override keywords
2020-10-14 17:48:29 +01:00
Cameron Cawley
b6a8fc5dd2
ANDROID: Minor cleanup
2020-10-14 17:47:22 +01:00
antoniou
75826f80fc
ANDROID: Comment out the logfile code
...
Since currently the logFile stuff are specific to SDL_BACKED
2020-09-24 10:14:02 +03:00
aryanrawlani28
a9c5e930f0
ANDROID: Make clipboards work with U32Strings.
2020-08-30 14:43:41 +02:00
Cameron Cawley
7745ffdac1
BACKENDS: Simplify EventsBaseBackend
2020-08-24 14:22:35 +02: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
Cameron Cawley
b41c5f1952
ANDROID: Implement OSystem::convertEncoding()
2020-07-18 15:14:01 +03: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
Cameron Cawley
c9824ad206
ANDROID: Improve handling of system keys
...
- Unrecognised system keys are treated as regular keys.
- Key down events are always sent when pressing the Menu or Back buttons.
2020-01-20 21:36:05 +00: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
Thanasis Antoniou
8eb185c0d9
ANDROID: Remove duplicate header inclusion in android.h
2019-11-12 20:05:35 +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
38beac8d95
ANDROID: Simplify handling of menu/back button events
2019-10-23 07:41:31 +03:00
Cameron Cawley
94a53ccb0f
ANDROID: Add swap menu and back buttons option
2019-10-23 07:41:31 +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
b9e29cedfc
ANDROID: Move isConnectionLimited into OSystem
2019-06-21 08:19:37 +03:00
Cameron Cawley
6989e63a25
ANDROID: Make pushEvent take 7 parameters instead of 6
2019-05-09 18:58:09 +01:00
Cameron Cawley
5d7cd526e8
ANDROID: Add a pthreads-based mutex manager
2019-04-20 15:53:56 +03:00
Cameron Cawley
2af325f60a
ANDROID: Factor event pushing into pushEvent
...
Originally from ResidualVM.
2019-04-12 21:42:54 +01:00
Cameron Cawley
539c3330a8
ANDROID: Implement clipboard support
2018-10-05 00:10:27 +01:00
Cameron Cawley
d494d73c80
ANDROID: Replace getPixelFormatName function with PixelFormat::toString
2018-07-29 09:37:40 +02:00
Colin Snover
bda253b1ac
BACKENDS: Constify PaletteManager::grabPalette implementations
2017-10-15 13:47:19 -05: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
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Lauri Härsilä
2109317564
ANDROID: Mouse and stylus support
...
From pull request #285 .
2012-10-19 22:50:09 +02:00
Johannes Schickel
aec9b9e22a
ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
...
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b
BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
...
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1
BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" as buffer.
...
This removes the need to convert the parameter to copyRectToScreen to
"const byte *", which is commonly used in games, which use Graphics::Surface
to store their graphics data.
2012-06-16 02:18:01 +02:00
Johannes Schickel
a401f0a19e
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
...
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.
Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02: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
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
896e7e23b4
ANDROID: Use OSystem's 'slots' for timer/savefile manager & fsfactory
2011-06-07 14:57:56 +02:00
Max Horn
ce32745d9c
BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
2011-06-04 11:55:56 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
1b681e85a8
ANDROID: Fix compilation
2011-04-28 20:05:01 +03:00
dhewg
a565e63c48
ANDROID: Add multitouch support
2011-04-06 18:27:15 +02:00
dhewg
430c462031
Revert "ANDROID: Temporarily enable GL error checks"
...
This reverts commit 1c8fc05388
.
Commit d50e7af7
confirmed as fix, so it wasn't a GL issue at all
2011-04-06 11:31:20 +02:00
dhewg
ea253ff26d
ANDROID: Use a faked paletted texture for CLUT cursors
...
Same change as for the game screen, reduces CPU usage a little
2011-04-05 15:07:07 +02:00
dhewg
1c8fc05388
ANDROID: Temporarily enable GL error checks
...
There's a black screen issue on Samsung devices running 2.2.1 which I
can not reproduce. Hopefully this helps hunting it down.
2011-04-05 13:57:09 +02:00