summaryrefslogtreecommitdiffstats
path: root/doc/classes/InputEvent.xml
Commit message (Collapse)AuthorAgeFilesLines
* Clarify behavior of InputEvent.is_match and Shortcut.matches_eventskyler2024-09-171-0/+1
| | | | | - Shortcut: Clarifies how matches_event() method compares events - InputEvent: Clarifies is_match() method does not consider event states
* Add "repeat" keyword alias for InputEvent "echo" in the class referenceHugo Locurcio2024-06-241-2/+3
| | | | | | | "echo" is an uncommon term and the action is most commonly referred to as a "repeated" key press. This also improves the documentation related to echo behavior.
* Update links to outdated asset library demosskyace652024-04-071-2/+2
| | | | | | Update links to outdated asset library demos Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
* Expose `DEVICE_ID_EMULATION` constant in InputEventHugo Locurcio2024-03-161-1/+6
| | | | This also improves the documentation related to emulated InputEvents.
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Overhaul the top sections of the class reference (Core classes)VolTer2023-05-191-3/+3
|
* Augment the `InputEvent` class with a `CANCELED` stateFredia Huya-Kouadio2023-05-151-0/+12
| | | | | | The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field. This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled. To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Clarify return value for InputEvent.is_echo()nobbele2023-02-191-1/+1
|
* [doc] Use "param" instead of "code" to refer to parameters (6)Andy Maloney2022-08-121-8/+8
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-14/+14
|
* Ensure minimum modifiers are pressed when matching actionsMarcel Admiraal2022-03-201-5/+5
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Document keyboard ghosting caveats in Input and InputEventHugo Locurcio2022-01-051-0/+2
| | | | | This also adds recommendations for choosing between `is_physical_key_pressed()` and `is_key_pressed()`.
* Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde2021-11-151-2/+2
|
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-50/+25
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Add Input documentation for `exact_match`Raul Santos2021-07-301-0/+4
|
* Merge pull request #48696 from madmiraal/fix-48692Rémi Verschelde2021-06-201-6/+9
|\ | | | | Fix `InputMap.action_erase_event()` failing to erase events correctly.
| * Fix InputMap.action_erase_event() failing to erase events correctly.Marcel Admiraal2021-05-191-6/+9
| |
* | Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-1/+1
|/
* doc: Sync classref with current sourceRémi Verschelde2021-02-191-0/+8
| | | | And fix various bogus bindings following previous PRs.
* Link to demos from within the class referenceAaron Franke2020-10-011-0/+2
|
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-2/+2
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* doc: Sync classref with StringName/Callable changesRémi Verschelde2020-02-221-4/+4
|
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* doc: Misc updates for AnimationNode* and othersRémi Verschelde2020-01-231-1/+1
| | | | | | | | | | | | | - Add some missing descriptions. - Add links to tutorials for ARVR and AnimationTree. - Style fixes. - Engine changes: * Make `AnimationNodeTransition.input_<number>` properties internal so that they don't appear in the docs. They still appear in the inspector based on the actual number of inputs requested. * Drop unimplemented `CPUParticles.flatness`. It's only used for 3D particles in `ParticlesMaterial`, and thus only relevant for `CPUParticles3D`.
* Document how to distinguish emulated mouse events from physical onesHugo Locurcio2019-12-301-0/+1
| | | | | Mouse events emulated from a touchscreen will always have a device ID of -1.
* doc: Sync classref with current sourceRémi Verschelde2019-11-081-1/+3
| | | | Fix incomplete binding.
* Added missing InputEvent documentationFlamyAT2019-07-181-0/+5
|
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-1/+1
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinksRémi Verschelde2019-06-271-5/+5
|
* doc: Drop unused <demos> tagRémi Verschelde2019-04-191-2/+0
|
* Merge pull request #27465 from ↵Rémi Verschelde2019-04-051-1/+1
|\ | | | | | | | | neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough EditorHelp: Improve enum ref resolving and add constant ref support
| * ClassRef: Replace [code]CurrentClass[/code] with [CurrentClass]Ignacio Etcheverry2019-03-291-1/+1
| | | | | | | | Modified makerst to generate code tags for these to avoid hyperlinks to the same class.
* | doc: Bump version to 3.2Rémi Verschelde2019-04-011-1/+1
|/
* doc: Sync classref with current sourceRémi Verschelde2019-03-071-0/+8
|
* doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde2018-11-051-2/+2
| | | | Fixes #23509.
* Add support for tutorial links to makerst.pyrobojumper2018-06-121-2/+2
| | | | Also change the <tutorials> structure to make use of individual <link> tags
* Sync classref with current sourceRémi Verschelde2018-05-121-8/+7
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|
* doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde2018-01-251-2/+2
|
* doc: Sync with current sourceRémi Verschelde2018-01-251-1/+1
| | | | | | Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
* Filled tutorial field in most relevent classes.Juan Linietsky2018-01-151-1/+2
| | | | Added tutorial display in doc.
* doc: Update version string in XMLRémi Verschelde2018-01-131-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2018-01-031-15/+0
|
* doc: Remove setters and getters now exposed via properties/membersRémi Verschelde2017-11-241-15/+0
|