summaryrefslogtreecommitdiffstats
path: root/editor/input_event_configuration_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-201-8/+7
|\
| * Revert "Fix InputEvent device id clash" and add a compatibility functionMarkus Sauermann2024-11-201-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 916d480686e339746ac4fc89079c26fe72caad53. Revert "Fix InputEvent crash when opening project" This reverts commit abb9c0f171c7150a510ca2c2a744534f1746635d. Introduce a compatibility function for projects affected by the device id clash reversal Since the reverted PR introduced changes in the project.godot file, it seems prudent to introduce a compatibility function for such affected projects.
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-221-7/+8
|\|
| * Fix InputEvent device id clashMarkus Sauermann2024-10-201-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the same value `-1`. Change value of `InputMap::All_DEVICES` so that it's different from `InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION` is part of the API and can't be changed without potentially breaking projects. Gather all special device constants in a single location inside `InputEvent`. Add a converter to project settings, that takes care of adjusting project files during loading.
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* [Scene] Add SceneStringName::toggledYuri Rubinsky2024-08-281-2/+2
|
* [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-1/+1
|
* [Scene] Add `SceneStringNames::item_selected`A Thousand Ships2024-06-191-4/+4
|
* [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-2/+2
|
* Merge pull request #83248 from pkowal1982/event_configurationRémi Verschelde2024-05-291-0/+6
|\ | | | | | | (Un)Fold event categories by double click
| * (Un)Fold event categories by double clickPaweł2024-05-111-0/+6
| |
* | Use Core/Scene stringnames consistentlykobewi2024-05-131-2/+2
|/
* [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-4/+4
|
* Fix input map shortcuts incorrectly edited on cancel.bruvzg2024-04-181-1/+1
|
* Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+1
|
* Remove unnecessary focus methods and directly bind to 'set_close_on_escape'Robert Yevdokimov2024-02-021-10/+2
|
* Add InputEventKey.location to tell left from rightMel Collins2024-01-261-2/+44
| | | | | | | | | | This adds a new enum `KeyLocation` and associated property `InputEventKey.location`, which indicates the left/right location of key events which may come from one of two physical keys, eg. Shift, Ctrl. It also adds simulation of missing Shift KEYUP events for Windows. When multiple Shifts are held down at the same time, Windows natively only sends a KEYUP for the last one to be released.
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Add input action name to window title in input map editorHugo Locurcio2023-12-181-2/+7
|
* Fix size and visuals of the InputEventConfigurationDialogYuri Sizov2023-12-051-3/+3
|
* Add EditorStringNames singletonkobewi2023-09-031-9/+10
|
* [Input Map] Generate missing values instead of disabling options.bruvzg2023-06-061-0/+27
|
* Fix `InputEventConfigurationDialog` modifies original eventDanil Alexeev2023-03-131-1/+1
|
* Fix wrong font in Event Configurationkobewi2023-02-161-1/+2
|
* Fix various typos with codespellRémi Verschelde2023-01-301-1/+1
| | | | | | And include #72377. Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
* Fix typos in input action editor key type namesHugo Locurcio2023-01-271-3/+3
| | | | This also makes those strings localizable.
* Cleanup and unify keyboard input.bruvzg2023-01-231-47/+109
| | | | | | | | | | - Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-1/+1
|
* Propagate allowed input types to `event_listener` when setting them on ↵Eric M2023-01-101-0/+1
| | | | `InputEventConfigurationDialog`
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Refactor `get_event_text` to a static method, remove high deadzone from ↵Eric M2022-11-181-78/+7
| | | | | | | event configuration. * `get_event_text` and `get_device_string` are now static methods (they always could have been) * Applied 90% deadzone on joypad motion inputs in the configurator had the effect of ignoring most joypad motion inputs. Low ones do not need to be filtered out as JoypadMotion is only considered 'pressed' if it as above 50% strength - and that works well.
* Focus EventListener when InputEventConfigurationDialog is opened.Eric M2022-10-141-0/+4
|
* Split `action_map_editor` file into one file per class it contained.Eric M2022-10-061-0/+700
* ActionMapEditor * EventListenerLineEdit * InputEventConfigurationDialog