Age | Commit message (Collapse) | Author |
|
consistent with the previous activity based timeline.
|
|
This enables creation and use of a plugin like class by composition rather than inheritance.
|
|
Issues addressed:
a) Axis mappings were including virtual mouse axes on NVIDIA Shield TV.
The virtual mouse axes have the same axis numbers as the normal analog stick numbers. This was completely breaking joypad support on NVIDIA Shield TV.
b) Joypads were being tracked in a List with the index in the list being treated as the Godot device id.
If a device were to be removed, any device later in the list would be shifted, potentially causing future events with the shifted joypads to have incorrect IDs according to the Godot engine.
c) Unnecessary events were being sent to the Godot engine.
A check was added (per Joystick) that will prevent sending events for all axes when only a single axis value changed.
A similar check was added for "HATs".
See #45712
|
|
|
|
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
|
|
|
Fixes #43519.
|
|
|
|
Change android orientations from sensor to user
|
|
# Conflicts:
# platform/android/java/lib/src/org/godotengine/godot/GodotIO.java
|
|
Support mouse events on Android
|
|
|
|
Implement mouse
Move touch to inputManager
Change to use android/input.h
|
|
|
|
|
|
godotengine/revert-40671-virtual-keyboard-height-fix
Revert "Fix virtual keyboard height regression"
|
|
godotengine/revert-40484-android-virtual-keyboard-adjustment
Revert "Disable virtual keyboard focus adjustment on Android"
|
|
|
|
|
|
|
|
|
|
Fix code format scripts compat with non-GNU Unices
|
|
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.
And improve it to also remove trailing tabs, not just spaces.
|
|
Fix virtual keyboard height regression
|
|
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
|
|
Disabling virtual keyboard focus adjustement caused get_keyboard_height
to always return 0 because it was calculated when the view is resized.
In order to fix it, a PopupWindow is now created on top of the main view
and is set for focus adjustments so the keyboard size can be calculated
based on this popup without affecting the main view.
|
|
|
|
Fixes #37190
The default adjustment setting was causing the view to pan down in order
to adjust the focus on the text content.
We don't need any focus adjustment since we're using a fixed size window
for our application.
Documentation:
https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING
|
|
|
|
|
|
command line arguments
|
|
Proper surface reset when resuming app on Android
|
|
Just re-creating the window instead of restarting the app entirely.
|
|
Using int for 64-bit values might cause issues with objects not found
in ObjectDB when the id is truncated.
|
|
Fix Android LineEdit editing bugs
|
|
|
|
|
|
Android: Migrate deprecated support library to AndroidX
|
|
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
Part of #33027, also discussed in #29848.
Enforcing the use of brackets even on single line statements would be
preferred, but `clang-format` doesn't have this functionality yet.
|
|
|
|
|
|
included
|
|
This is the only location in the codebase where it's being used, so no need to make the main lib have a dependency on it.
|
|
Supports registering and emitting signal from a Godot Android plugin
|
|
|
|
|
|
|
|
UTF-8, LF, no BOM, and newlines at the end of files
|