raylib/src
Doyle 01e035e28b
Android: Track touch motion across screen (#1137)
This was working in 2.6 but no longer does in current git tree.
It appears touch position is only tracked on
AMOTION_EVENT_ACTION_[DOWN|UP], which only registers the initial touch
on the screen. Subsequent movement is not tracked into CORE.

Touch position and the Gesture System appears to be updated twice in
AndroidInputCallback in what looks like perhaps a copy paste error (code
is identical) with the exception of tracking AMOTION_EVENT_ACTION_UP in
the 2nd copy of the code (but this is not necessary to track).

If you need to track the first touch or release touch position, you can
do so with checking IsMouseButton[Pressed|Released] on the same frame.

This patch makes it so the touch position is always updated, and merges the
duplicated code into 1 singular code path.
2020-03-19 16:56:48 +01:00
..
external Update miniaudio.h 2020-02-19 12:19:41 +01:00
camera.h Review libc dependencies and remove when possible 2020-02-04 16:55:24 +01:00
CMakeLists.txt Update project version for release 2020-02-03 18:21:37 +01:00
CMakeOptions.txt Add config SUPPORT_SSH_KEYBOARD_RPI 2019-05-21 20:59:13 +02:00
config.h Review default config flags 2020-02-27 16:14:31 +01:00
config.h.in ADDED small compression API 2019-09-09 21:56:16 +02:00
core.c Android: Track touch motion across screen (#1137) 2020-03-19 16:56:48 +01:00
easings.h Replace tabs with spaces and update year of copyright notices (#927) 2019-08-03 11:07:41 +02:00
gestures.h Review GetCurrentTime() 2020-02-04 17:06:08 +01:00
Makefile Reviewed and Updated Android compilation scripts 2020-03-05 12:25:39 +01:00
models.c Replace external libraries custom allocators by raylib ones #1074 2020-03-17 13:40:07 +01:00
physac.h Review DEBUG trace log and custom allocators 2020-02-10 10:56:39 +01:00
raudio.c Replace external libraries custom allocators by raylib ones #1074 2020-03-17 13:40:07 +01:00
raudio.h Add function prototype 2020-02-14 23:10:02 +01:00
raylib.dll.rc Develop branch integration (#1091) 2020-02-03 18:31:30 +01:00
raylib.dll.rc.data Update resource files 2020-02-06 16:37:38 +01:00
raylib.h ADDED: LoadFileText() and SaveFileText() 2020-03-04 00:21:46 +01:00
raylib.ico Updated icon data 2018-09-26 16:02:42 +02:00
raylib.rc Develop branch integration (#1091) 2020-02-03 18:31:30 +01:00
raylib.rc.data Update resource files 2020-02-06 16:37:38 +01:00
raymath.h Update raymath.h (#1118) 2020-03-02 10:22:08 +01:00
rglfw.c Update year to 2020 2020-01-05 20:01:54 +01:00
rlgl.h Replace external libraries custom allocators by raylib ones #1074 2020-03-17 13:40:07 +01:00
rmem.h Minor format tweaks 2020-02-06 16:44:04 +01:00
rnet.h [rnet] Renamed some functions 2020-02-20 13:46:33 +01:00
shapes.c Replaced fabs() by fabsf() when required 2020-02-28 12:54:39 +01:00
shell.html Avoid icons in shell 2020-03-03 15:53:13 +01:00
text.c Added security check in case init fails #1135 2020-03-17 20:57:01 +01:00
textures.c Replace external libraries custom allocators by raylib ones #1074 2020-03-17 13:40:07 +01:00
utils.c Android: Support file saving to internal data storage 2020-03-05 18:12:41 +01:00
utils.h Android: Support file saving to internal data storage 2020-03-05 18:12:41 +01:00