Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-27 | Rename warp mouse functions to warp_mouse | Markus Sauermann | |
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-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-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-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-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: 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 | |
2021-10-22 | Expose Input::flush_buffered_events() | Pedro J. Estébanez | |
2021-10-12 | Exposed setters for sensor values in Input class | Дмитрий Сальников | |
2021-10-04 | GDScript completion: Handle quote style ad-hoc to remove editor dependency | Rémi Verschelde | |
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`. | |||
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-08-16 | Adding InputMap action error suggestion for Input singleton | jmb462 | |
2021-08-13 | Style: Cleanup code using `text_editor/completion/use_single_quotes` | Rémi Verschelde | |
2021-08-13 | Add input buffering framework | Pedro J. Estébanez | |
Input buffering is implicitly used by event accumulation, but this commit makes it more generic so it can be enabled for other uses. For desktop OSs it's currently not feasible given main and UI threads are the same). | |||
2021-08-13 | Improve input event accumulation | Pedro J. Estébanez | |
- API has been simplified: all events now go through `parse_input_event()`. Whether they are accumulated or not depends on the `use_accumulated_input` flag. - Event accumulation is now thread-safe (it was not needed so far, but it prepares the ground for the following changes). - Touch drag events now support accumulation. | |||
2021-08-10 | Use Key enum instead of plain integers | Aaron Franke | |
2021-07-25 | Use const references where possible for List range iterators | Rémi Verschelde | |
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-22 | Fix Input get_action_raw_strength | Aaron Franke | |
2021-07-18 | Optimize StringName usage | reduz | |
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor. | |||
2021-06-20 | Use mouse and joypad enums instead of plain integers | Aaron Franke | |
Also MIDIMessage | |||
2021-06-20 | Move many input enums to their own file | Aaron Franke | |
2021-06-19 | Rename `instance()`->`instantiate()` when it's a verb | Lightning_A | |
2021-06-03 | Add MOUSE_MODE_CONFINED_HIDDEN | Aaron Franke | |
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> | |||
2021-05-20 | Change behavior of String.right | Tomasz Chabora | |
2021-04-17 | Avoid creating joy_names map entries when using Map operator[] | Marcel Admiraal | |
2021-03-23 | Rename some more global enums (Key, Joy, MIDI) | Aaron Franke | |
2021-03-23 | Rename ButtonList enum and members to MouseButton | Aaron Franke | |
2021-03-12 | Fixes small typos and grammar correction | Anshul7sp1 | |
2021-02-24 | Input: Throw error if action doesn't exist | Liz Haas | |
Thow errors if requesting an unexisting InputMap action. Makes `Input.is_action_*` methods consistents with `Event.is_action_*` which already throw errors. fixes #33303 |