Commit Graph

15 Commits

Author SHA1 Message Date
dd5e6b19df Fix warning on clang. 2023-04-16 15:39:48 +02:00
17a4e4b28f Ported: Change message of unknown joypad property from error to warning.
- rsubtil and akien-mga
e814861950
2023-03-12 19:09:39 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
a3f2631d59 Ported: Add double_tap attribute to InputEventScreenTouch
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
- m4gr3d
be4b07c3e4
2022-11-13 01:29:17 +01:00
Michael Alexsander
a3ed238e40 Port Input.action_press/release() changes 2022-10-08 17:02:11 +02:00
Marcel Admiraal
8e94d451b4 Fix axis mapped to DPad buttons not releasing opposite button 2022-09-16 12:33:18 +02:00
e2d42db711 Also renamed the files. 2022-08-19 21:24:36 +02:00
59f4eb55d9 Ported: Fix mouse speed not changing fast enough
- Uses all accumulated movements when calculating speed
- Discards old accumulated movements
- Sets last mouse speed to zero when there is no movement
- madmiraal
3d96d7d9fb
2022-08-19 02:46:03 +02:00
99e94b08c4 Moved base input related classes to core/input. 2022-08-17 17:02:24 +02:00
3fb2c16ba0 Ported: Input: Re-enable input accumulation disabled by error in 3.4
Input accumulation was implemented and enabled by default in 3.1, and
I don't recall major complaints around it (or bugs were fixed).
In 3.4, #42220 added input buffering and apparently toggled input
accumulation off by mistake.
This led to multiple bug reports about degraded performance on Windows,
or simply unexpected behavior change (see linked issues in #55037).
Fixes #55037.
- akien-mga
d6bcdd18c3
2022-07-29 20:50:00 +02:00
942b6d9938 Ported: Make Input mouse_mode and use_accumulated_input properties - fire-forge, timothyqiu
53c01540d9
2022-07-28 18:54:48 +02:00
KingCakeTheFruity
be66ed9679 Added p_shape check to avoid engine crush
(cherry picked from commit 29a2809d2120bc740f948e4134e839557e689724)
2022-07-26 14:58:57 +02:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
a1f9614c07 Backported: Fix crash on get index for non-existing string
As _buttons and _axes have both valid string and nullptr.
When iterating over them, if given key exists it will work correctly.
But if given key does not exist, it will end up with
String::operator=(nullptr). As String constructor from nullptr exists, I
use it. - Snowapril - c77b710035
2022-03-20 20:28:50 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00