Commit Graph

312 Commits

Author SHA1 Message Date
Sergii Pylypenko
50df6e53d0 SDL: fixed on-screen key layout and keycode remap dialogs, moved screen gestures to a separate variable 2021-05-31 02:36:56 +03:00
Sergii Pylypenko
fc47eac67f SDL: do not move mouse position when toggling text input, it will unfocus the text input field in the game 2021-05-24 00:41:22 +03:00
Sergii Pylypenko
5e27a1f850 SDL: increased on-screen keyboard to 12 keys 2021-05-23 03:12:03 +03:00
Sergii Pylypenko
3dfadf7da1 SDL: fixed compiler warning 2021-03-12 22:39:35 +02:00
pelya
c937f769c6 SDL: fixed incorrect mouse position when SdlVideoResizeKeepAspect is used 2020-10-28 22:17:16 +02:00
Sergii Pylypenko
bb09438e1b SDL: SDL_WarpMouse() will move cursor coordinates for captured mouse on Android O 2020-02-27 21:09:39 +02:00
Sergii Pylypenko
ddd9b70af3 SDL: capture mouse input on Android O, so notification bar won't pop up every time mouse cursor hits top of screen 2020-02-26 21:47:29 +02:00
Sergii Pylypenko
2b0d961f8b SDL: send correct key event unicode value for non-English physical keyboards 2020-02-18 23:08:23 +02:00
Sergii Pylypenko
a1f3b803f3 SDL: removed filtering from relative mouse touch input, becasue it makes input laggy 2020-01-06 21:04:45 +02:00
Sergii Pylypenko
2ff9d7cb2c SDL: better scaled video resolutions 2019-04-25 19:12:05 +03:00
Sergii Pylypenko
9397c0079c SDL: fixed wrong header include when ANDROID macro is not defined 2019-02-19 18:43:30 +02:00
Sergii Pylypenko
d431337433 SDL: fixed on-screen key layout customization dialog in SDL settings 2019-02-06 23:19:39 +02:00
Sergii Pylypenko
264f7aa43f SDL: disabled spammy debug output 2018-12-05 20:19:39 +02:00
Sergii Pylypenko
eec2e53f0f SDL: fixed optimization flags for debug builds, I can finally run ndk-gdb because I've got a new phone yay 2018-12-05 20:15:36 +02:00
Sergii Pylypenko
bef5f545c5 SDL: fixed SdlVideoResizeKeepAspect=y messing up mouse position after restoring app from background 2018-09-20 21:01:04 +03:00
Sergii Pylypenko
0dd82bd0f7 SDL: de-press all on-screen keys when they are hidden 2018-07-05 23:43:09 +03:00
Sergii Pylypenko
b0b78fbf0b SDL: fixed compiler warning 2018-06-21 22:35:42 +03:00
pelya
2face2a79a SDL: more logs to sound initialization, updated submodules 2018-02-05 01:19:43 +02:00
pelya
6a76b40436 SDL: fixed gamepad analog sticks with the same keycodes interfering with each other 2017-11-25 08:38:27 +02:00
pelya
b9538af7c3 SDL: fixed SDL_WarpMouse() not working 2017-11-25 08:17:52 +02:00
pelya
d0f7f72bd7 SDL: fixed gamepad arrow keys not working for dpad, if it reports analog values 2017-11-25 08:14:38 +02:00
Sergii Pylypenko
d416f94ce4 SDL: move joystick lower 2017-11-22 17:57:50 +02:00
Sergii Pylypenko
66f7cc1cfd SDL: Added keycodes for PS4 gamepad 2017-11-22 15:44:22 +02:00
Sergii Pylypenko
df9ffa1c2b SDL: added keycodes for gamepad analog sticks to SDL_ANDROID_SetIndividualGamepadKeymap(), while API is still fresh 2017-11-16 21:36:15 +02:00
Sergii Pylypenko
f02e93636f SDL: bigger screen buttons touch area, smaller button images 2017-11-10 22:09:50 +02:00
Sergii Pylypenko
169a2bf551 SDL: fixed compilation with GCC toolchain 2017-11-08 22:47:53 +02:00
Sergii Pylypenko
b12fc6e402 SDL: support for 4 gamepads, I have tested with only three gamepads so 4-th gamepad could fail 2017-11-08 22:09:32 +02:00
Sergii Pylypenko
b742ebaf72 SDL: unfinished support for multiple gamepads 2017-11-03 23:49:24 +02:00
Sergii Pylypenko
212e761d33 SDL: fixed a crash on an emulator 2017-11-01 17:42:10 +02:00
Sergii Pylypenko
d378ee692f SDL: redefine gamepad Start/Select and DPAD keycodes in AndroidiAppSettings.cfg 2017-10-31 19:49:49 +02:00
Sergii Pylypenko
5223f423d8 SDL: Attempt to fix async text input 2017-09-26 22:27:53 +03:00
lubomyr
34824e3300 implemented api for setSystemMousePointerVisibility 2017-09-18 19:51:17 +03:00
Sergii Pylypenko
ca601438d7 SDL: Reverted centering mouse cursor when sending pinch-zoom gesture 2017-06-22 23:06:46 +03:00
Sergii Pylypenko
5132ae8020 SDL: center mouse cursor between ouch points when sending pinch-zoom gesture keycode 2017-06-21 17:51:40 +03:00
lubomyr
9e2035c21d SDL: added support 1280x800 and 1366x768 video resolutions 2017-05-13 12:36:16 +03:00
Sergii Pylypenko
f37cf67a7e SDL: new video mode for OpenTTD 2017-03-27 23:42:45 +03:00
lubomyr
d050f3d3cd added getter for mouse emulation mode 2017-01-28 23:01:23 +02:00
Sergii Pylypenko
c23b64cdaf SDL: API to change mouse mode on the fly 2017-01-27 22:57:06 +02:00
Sergii Pylypenko
e1ec9dd845 SDL: more fixes to text input 2017-01-10 22:20:10 +02:00
Sergii Pylypenko
5887c3cc0d SDL: more fixes to async text input 2017-01-10 21:14:33 +02:00
Sergii Pylypenko
a826416f74 SDL: fixed SDL_ANDROID_GetScreenKeyboardTextInputAsync() API, build.sh -q will rebuild only armeabi-v7a package 2017-01-10 20:47:35 +02:00
pelya
fec0bae740 SDL: new API SDL_ANDROID_SetScreenKeyboardPreventButtonOverlap() to force only one screen button to process each touch 2017-01-07 06:40:54 +02:00
lubomyr
aa4b72349d UseGlshim option renamed to UseGl4es 2016-11-06 16:35:14 +02:00
Sergii Pylypenko
1258d54afa SDL: SDL_ANDROID_GetScreenKeyboardTextInputAsync() for anychronous text input without buggy synthetic keypresses 2016-10-31 21:22:27 +02:00
lubomyr
38df0804c2 Merge branch 'sdl_android' of https://github.com/pelya/commandergenius into sdl_android 2016-10-28 21:42:52 +03:00
lubomyr
c38d48f737 changed delay for 'tap or timeout' left mouse click 2016-10-28 21:42:02 +03:00
pelya
2f0b2b5d65 SDL: Compatibility with Android 4.4, when compiled with Android 5.0 platform headers 2016-10-23 01:06:21 +03:00
pelya
3a82580ce5 SDL: better GLES3 support, non-working GLES3 sample app 2016-09-11 03:41:27 +03:00
lubomyr
259e903581 added new screen-mode 480x272 2016-08-25 20:02:19 +03:00
Sergii Pylypenko
ee54f13f75 SDL: added GLES3 support 2016-08-22 21:46:35 +03:00