Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-28 | Input: Make `get_action_raw_strength` print error when the action doesn't exist | Marco F | |
2022-06-11 | Add suffixes to all nodes and resources | FireForge | |
2022-06-04 | Merge pull request #61669 from fire-forge/input | Rémi Verschelde | |
Make Input `mouse_mode` and `use_accumulated_input` properties | |||
2022-06-03 | Make Input mouse_mode and use_accumulated_input properties | FireForge | |
2022-06-03 | Add array element type to `get_connected_joypads` | Raul Santos | |
2022-05-20 | Add a new HashSet template | reduz | |
* Intended to replace RBSet in most cases. * Optimized for iteration speed | |||
2022-05-16 | Replace most uses of Map by HashMap | reduz | |
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated! | |||
2022-05-12 | Add a new HashMap implementation | reduz | |
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<> | |||
2022-05-05 | Sync controller mappings DB with SDL2 community repo | Rémi Verschelde | |
Synced with gabomdq/SDL_GameControllerDB@b7d126eb71fe9354a2b7cf04085a5fff58ed3815 | |||
2022-05-03 | Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>` | Hugo Locurcio | |
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors. | |||
2022-05-02 | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | |
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | |||
2022-04-22 | Use Input::push_input for tests plus extra mouse testing | Paulb23 | |
2022-04-14 | Merge pull request #60208 from Magorx/input-set-custom-mouse-cursor-fix | Rémi Verschelde | |
Added p_shape check to avoid engine crash in DisplayServer | |||
2022-04-13 | Added p_shape check to avoid engine crush | KingCakeTheFruity | |
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-03-28 | String: Remove TTR and DTR defines in non-tools build | Rémi Verschelde | |
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor. | |||
2022-03-27 | Rename warp mouse functions to warp_mouse | Markus Sauermann | |
2022-03-20 | Ensure minimum modifiers are pressed when matching actions | Marcel Admiraal | |
2022-03-02 | Remove `TTRC()` with empty string | Haoyu Qiu | |
Fixes "duplicate message definition" when extracting messages. | |||
2022-02-20 | Sync controller mappings DB with SDL2 community repo | Rémi Verschelde | |
Synced with gabomdq/SDL_GameControllerDB@94b76208bc07a62a63575bc16da99411d325aac8 | |||
2022-02-19 | [HTML5] Add Stadia controller to database | Powerbyte7 | |
Add web support for the Stadia controller. | |||
2022-02-16 | Style: Cleanup single-line blocks, semicolons, dead code | Rémi Verschelde | |
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported. | |||
2022-02-03 | Merge pull request #56764 from madmiraal/fix-45592-2 | Rémi Verschelde | |
2022-01-29 | simplify formatting scripts, add a clang-tidy script, and run clang-tidy | Nathan Franke | |
2022-01-26 | Merge pull request #54173 from nathanfranke/fix-exact-match | Rémi Verschelde | |
2022-01-24 | Fix action exact match | Nathan Franke | |
2022-01-24 | Merge pull request #56754 from madmiraal/fix-45592 | Rémi Verschelde | |
2022-01-20 | Add `Input.is_anything_pressed` method | Andrii Doroshenko (Xrayez) | |
2022-01-14 | Fix Actions mapped to triggers not using the full range | Marcel Admiraal | |
2022-01-13 | Fix mouse velocity not changing fast enough | Marcel Admiraal | |
- Uses all accumulated movements when calculating velocity - Discards old accumulated movements - Sets last mouse velocity to zero when there is no movement | |||
2022-01-13 | Use mouse event relative motion to calculate mouse velocity | Marcel Admiraal | |
2022-01-11 | Merge pull request #56322 from madmiraal/fix-42450 | Rémi Verschelde | |
2022-01-10 | Add joystick button index boundary check. Increase max. button number to 128 ↵ | bruvzg | |
(max. buttons supported by DirectInput). | |||
2022-01-04 | Document InputEventMIDI and add some missing 0xF MIDI messages | Aaron Franke | |
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-29 | Rename speed to velocity when it's a directional Vector | Marcel Admiraal | |
2021-12-17 | Revert "Fixed event spam when using the Nintendo Switch controller" | Marcel Admiraal | |
2021-12-17 | Sync controller mappings DB with SDL2 community repo | Rémi Verschelde | |
Synced with gabomdq/SDL_GameControllerDB@265b43b7895bc5cd5eaf498414e9c62b5152b0fb. | |||
2021-12-16 | Fixed event spam when using the Nintendo Switch controller | Sam Lantinga | |
There is no filtering on the Nintendo Switch Pro controller thumbstick, so there will frequently be events with very slight change. These are turned into "not pressed" events, which cancel "pressed" events from keys and buttons. This change filters out up to 5% jitter, but it might be worth revisiting whether "not pressed" events should cancel "pressed" events. | |||
2021-12-10 | Sync controller mappings DB with SDL2 community repo | Rémi Verschelde | |
Synced with gabomdq/SDL_GameControllerDB@348cfa347f21825e922493e3d15ed1bb3836e6c4. | |||
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-12-06 | Unexpose joy_connection_changed method | kobewi | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-23 | Add Input.is_physical_key_pressed method. | bruvzg | |
2021-11-16 | Rename built-in `SGN()` macro to `SIGN()` | Hugo Locurcio | |
This matches the name of the GDScript function (except it's uppercase here). | |||
2021-11-12 | Use "enum class" for input enums | Aaron Franke | |
2021-11-03 | Sync controller mappings DB with SDL2 community repo | Rémi Verschelde | |
Synced with gabomdq/SDL_GameControllerDB@322aac4bb71d8c62ec7dcd4eb627a9d338b37684. Also improve parser errors to allow identifying the problematic mappings. | |||
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-28 | clang-format: Disable alignment of operands, too unreliable | Rémi Verschelde | |
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`. | |||
2021-10-22 | Merge pull request #53812 from RandomShaper/expose_flush_input | Rémi Verschelde | |