summaryrefslogtreecommitdiffstats
path: root/platform/android/android_input_handler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove broken scroll gesture on AndroidMarcel Admiraal2022-06-211-10/+0
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-2/+3
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Fix Actions mapped to triggers not using the full rangeMarcel Admiraal2022-01-141-4/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
|
* Use "enum class" for input enumsAaron Franke2021-11-121-37/+37
|
* [android] Fixed wrong button mask for right clickModProg2021-08-161-1/+1
|
* Switch to input buffering on AndroidPedro J. Estébanez2021-08-131-0/+395
Key, touch and joystick events will be passed directly from the UI thread to Godot, so they can benefit from agile input flushing. As another consequence of this new way of passing events, less Java object are created at runtime (`Runnable`), which is good since the garbage collector needs to run less. `AndroidInputHandler` is introduced to have a smaller cross-thread surface. `main_loop_request_go_back()` is removed in favor just inline calling `send_window_event()` at the most caller's convenience (i.e., leveraging the new `p_deferred`` parameter as appropriate). Lastly, `get_mouse_position()` and `get_mouse_button_state()` now just call through `Input` to avoid the need of sync of mouse data tracked on the UI thread.