Commit Graph

41 Commits

Author SHA1 Message Date
Hana - Piralein
cd3e94b4a1 add missing brackets in c sharp code 2025-07-14 20:29:57 +02:00
willnationsdev
91932021ee Fix missing apostrophe. 2025-05-03 17:54:37 -05:00
Artsiom Babukh
bbb720ec7f Add missing InputEvent.is_echo()
Seems that it was accidentally removed in 4b8ffe3600
2025-02-15 10:10:11 +01:00
Mark Wilson
1fe10df90d Fix description of GUI input propagation (#7899)
* Fix: Propagation of _gui_input()

_gui_input() calls only propagate up the scene tree for mouse events
with appropriate filter flags. Keyboard and controller events do not
propagate through _gui_input().

Places entire description of _gui_input() propagation in one location,
marks it as a note to separate it from surrounding input propagation,
and updates the description to include behavior of keyboard and
controller events.
2025-01-25 11:51:36 -05:00
gomakappa
7d38ce8fef upload images and edit pages 2025-01-04 16:20:39 -03:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
tetrapod
f0b5879b85 Link to Getting Started Input tutorial from Input examples page (#10200)
* Link to Getting Started Input tutorial from Input examples page

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-11-05 00:38:49 +01:00
Srđan Jokić
14e03b981f Docs - Fixed input action C# issue
The `SetAction` and `SetPressed` are internal methods and can't be invoked directly outside of that assembly. However, the `Action` and `Pressed` property setters invoke them instead.
2024-07-14 10:27:30 +02:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
Emily
e6990c1339 Removed the part about areas not having the input event function called by default, it's not true 2023-12-11 17:09:46 -08:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Markus Sauermann
512a675e10 Update input event tutorial
Update input event flow graphic based on recent changes.
Made some descriptions more precise.

Input Event table:
- Added missing InputEvents Gesture, MIDI and Shortcut
- Removed unused Type Index column
2023-08-20 16:17:48 +02:00
Calcilore
61b447f4a5 Fix typo in inputevent.rst
Indivitual was changed to Individual
2023-04-25 04:04:56 +10:00
Yu umo
875df05d40 Update inputevent.rst (#7126)
A samll spelling mistake.
2023-04-06 14:44:54 -07:00
Raul Santos
b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Markus Sauermann
d2a75723da Update Input Event Tutorial 2022-11-29 16:34:25 +01:00
Max Hilbrunner
99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner
198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
takkun324
5401294067 Clearification of what an action actually is. (#6200)
* Clearification of what an action actually is.

There was no definition of an action itself. I also simplified the sentence, "An InputEvent may or may not represent a predefined action" to say that actions are not required but useful (combining with the next sentence).

Without the definition, I had thought actions were pre-defined input *conditions* (input states, rather than the input itself, since an action must have it's input defined). That mess of inquiry can be read here: https://www.reddit.com/r/godot/comments/xfvmg8/can_we_define_our_own_inputanalysis_for_inputmap/ Skip to first part of my last post to see the wording that corrected my understanding of what actions were.

This is my first-ever proposal. Thank you for the opportunity to contribute to the docs and help everyone understand things a little easier.
-- Kevin
2022-10-05 13:11:48 +02:00
Markus Sauermann
73f57ce0c4 Fix reference to MainLoop 2022-02-11 18:47:41 +01:00
Schmake
00fb1025ce Fix spelling error in Using InputEvent (they -> the) (#5351) 2021-10-29 15:35:25 +02:00
luzpaz
d9bc787dd9 Fix various typos (#5215)
Fix various typos

Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
cosmicr
9b2d058da2 Update inputevent.rst (#5043)
* Update inputevent.rst

Added object picking must be turned on in viewport properties

Add project settings reference

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2021-07-06 03:23:53 +02:00
Hugo Locurcio
6babc68649 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.
2021-05-26 16:59:08 +02:00
Beuc
cdb9024360 inputevent: Fix/update default signal name (#4634)
See
5260b6e046/scene/gui/control.cpp (L3038)
5260b6e046/scene/main/viewport.cpp (L2373)
2021-02-08 13:19:09 +01:00
Nathan Lovato
ac3cbb8195 Merge branch 'master' into InputEventKey.keycode 2020-11-05 10:08:37 -06:00
Robert Colton
79c1ae2777 Update the Input Map tab name in the InputEvent documentation (#4257)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-11 20:26:24 +02:00
Michael Alexsander
1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
Paul Joannon
a19d7496d6 rename InputEventKey.scancode into keycode
This change was introduced in godotengine/godot@1af06d3d.

As I was editing the tutorials/inputs/input_examples.rst file I noticed that some C# snippets were triggering lexer errors. It was because they were using string interpolation (with $"") so I changed that as well.
2020-06-16 19:37:19 +02:00
Yuri Sizov
135b33b768 Replace British spelling and fix various typos 2020-04-27 12:18:52 +03:00
Hugo Locurcio
046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Hearto
faa17097c3 Updated set_as_action code
Fixed code example using set_as_action.
Issue fixed:
https://github.com/godotengine/godot-docs/issues/2435
2019-05-20 18:38:35 -04:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
Rémi Verschelde
4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Romløk
52cdb43359 Explain order in which nodes receive input events (#1706)
* Explain order in which nodes receive input events

* Remove some rogue close-parens
2018-08-28 16:55:02 +02:00
Paul Joannon
111161a153 Translate Tutorials/Inputs to C# 2018-04-04 12:58:18 +02:00
Max Hilbrunner
7ccdf3b022 Update input event to 3.0 2018-03-30 22:44:43 +02:00
Unknown
66c073e899 Fix broken links in docs 2018-02-07 14:55:12 +01:00
Michael Alexsander Silva Dias
8f3cb902e8 Various small fixes for the docs. 2018-01-29 21:00:02 -02:00
Nathan
18f889b6a4 Improve docs structure
Change Step by Step in Getting Started
Remove Engine Features category, move into a new Tutorials top-level section
2018-01-25 08:54:27 +01:00