Max Hilbrunner
5f794b05e1
Merge pull request #7441 from br1trs/delete-get-root
2023-08-01 03:31:38 +02:00
Max Hilbrunner
f7611bb4ad
Merge pull request #7200 from MisoMosiSpy/input_example_keymodifiers
2023-05-18 10:49:15 +02:00
Hugo Locurcio
e606097168
Fix missing word in Window focus section of Controllers, gamepads and joysticks
2023-05-08 23:20:26 +02:00
Hugo Locurcio
50b7c155ad
Document focus and sleep caveats in Controllers, gamepads and joysticks
...
- Improve line wrapping for long lines in scripts.
- Remove outdated paragraphs about Godot 3.3 changes.
2023-05-06 02:11:19 +02:00
Calcilore
61b447f4a5
Fix typo in inputevent.rst
...
Indivitual was changed to Individual
2023-04-25 04:04:56 +10:00
Dipal Zambare
2c1554680e
Update custom mouse cursor selection screenshot
2023-04-21 13:11:46 +02:00
Dipal Zambare
6830513c08
Fix Keyboard modifiers example
2023-04-21 12:56:08 +02:00
Hugo Locurcio
1bd3513507
Mention maximum recommended size of 128×128 in Customizing the mouse cursor
...
Sizes larger than 128×128 are not supported in web exports and can exhibit
rendering issues on desktop platforms.
2023-04-21 02:07:01 +02:00
John Veness
05153f071e
Fix backquoted text in Controllers doc
...
It seems the space is required before the backquotes
2023-04-18 20:05:59 +01:00
Yu umo
875df05d40
Update inputevent.rst ( #7126 )
...
A samll spelling mistake.
2023-04-06 14:44:54 -07:00
notPelf
b146d3f359
Updated MouseButton enum values in input examples
...
MouseButton enums were not updated in the input examples page, i.e. BUTTON_LEFT should be MOUSE_BUTTON_LEFT, etc
2023-03-19 12:28:55 -04:00
Tobi-Mob
56ef128796
Fixed NotificationWMCloseRequest c# code
...
With Godot 4.0 the casing seems to have changed from Wm to WM.
2023-03-04 11:34:20 +01:00
Yuri Sizov
d524544e07
Improve naming and organization of some manual articles
...
HTML5/Web moved to their own subfolder
Global Illumination moved to their own subfolder
UI, IO, Inputs sections titles adjusted
2D, 3D tutorials grouped to improve navigation
2023-02-26 22:50:18 +01: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
Hugo Locurcio
6e3881b06a
Fix default deadzone value in Controllers, gamepads and joysticks ( #6701 )
2023-02-01 16:01:54 +01:00
Hugo Locurcio
d15472a7b9
Document vibration in Controllers, gamepads and joysticks
2023-01-30 15:00:10 +01:00
Rudi
f51c77dd7f
Replace ButtonList enum with MouseButton ( #6334 )
...
Replace `ButtonList` enum with `MouseButton`
Switched `ButtonList` enum to `MouseButton` since `MouseButton` is defined in `InputEventMouse`, while `ButtonList` was undefined in `Godot` namespace.
2023-01-28 22:38:23 +03:00
Hana
9e90766a92
update c# class examples
2023-01-12 19:38:20 +01:00
Max Hilbrunner
af8ccbe56b
Merge pull request #6396 from Sauermann/fix-input-event-tutorial
...
Update Input Event Tutorial
2023-01-09 23:03:44 +01:00
Curtis
4342e03419
Update C# code example
...
Use the `Root` property instead of the deprecated `GetRoot` method.
`PropagateNotification` accepts an `int` and not a `long`, and so `NotificationWmCloseRequest` needs to be cast to `int`.
2023-01-03 03:03:14 +10: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
Markus Sauermann
631889be34
Fix usage of NOTIFICATION_WM_CLOSE_REQUEST
...
Propagation now works differently.
Also it no longer causes the application to quit.
2022-10-15 02:52:32 +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
Nicola Baribeau
74b79a439b
Small edit to quit requests handling
...
Hey first edit here,
Here's a quick edit for something I just stumbled upon learning Godot 4, basically the notification MainLoop.NOTIFICATION_WM_QUIT_REQUEST changed to NOTIFICATION_WM_CLOSE_REQUEST.
Would spare some people quite a bit of confusion I basically had to search through the source's commits since it not only moved but changed name.
It *is* already correctly listed in the Node page though.
I'm not really sure about the C# code examples though but I doubt it would be more complicated than this.
2022-08-24 18:43:18 +02:00
Hugo Locurcio
ec88857ba4
Remove outdated notice about lack of controller support on Apple M1
...
This also mentions that overriding force feedback (for steering wheels)
isn't supported yet.
2022-05-11 16:27:03 +02:00
Markus Sauermann
73f57ce0c4
Fix reference to MainLoop
2022-02-11 18:47:41 +01:00
Hugo Locurcio
31746843d0
Document keyboard ghosting caveats in Input examples
2022-01-04 22:37:23 +01:00
Schmake
00fb1025ce
Fix spelling error in Using InputEvent (they -> the) ( #5351 )
2021-10-29 15:35:25 +02:00
Rémi Verschelde
9a05eef561
4.0: Convert Sprite references to Sprite2D
...
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Aaron Franke
5c7f653347
Optimize PNG and SVG images using oxipng and svgcleaner ( #5254 )
2021-09-14 17:50:17 +02:00
Aaron Franke
4060179184
Remove trailing space characters ( #5251 )
2021-09-13 14:52:39 +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
Hugo Locurcio
edb6c31b05
Document updating controller firmware in Controllers, gamepads and joysticks
2021-07-30 17:49:27 +02:00
Hugo Locurcio
b5a7873b42
Update Godot version caveats in Controllers, gamepads and joysticks
...
`Input.get_vector()` and `Input.get_axis()` were backported to the
`3.x` branch.
2021-07-24 08:56:58 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0
Draft: Remove "simple", "simply", "easy", and "just" from the docs ( #4496 )
...
* Various style edits
* Edit out "simple" when possible
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
Co-authored-by: Clay John <claynjohn@gmail.com >
2021-07-11 14:38:53 +02: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
Rémi Verschelde
044b6a74f8
Cleanup uses of double spaces between words or after punctuation
2021-06-07 10:44:02 +02:00
Rémi Verschelde
722df7673d
Merge pull request #4948 from DeeJayLSP/master
...
Give input event flow graph a background to make it visible on dark theme
2021-06-02 11:25:32 +02:00
Douglas
d22be3aeee
Give input event flow graph a background to make it visible on dark theme
2021-06-02 11:22:59 +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
insomniac_lemon
ea1ae27270
Add info on sending quit requests properly in Handling quit requests ( #4911 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-05-14 21:44:40 +02:00
Nathan Lovato
65bdac51d7
Merge pull request #4649 from Calinou/controllers-add-is-action-just-pressed
...
Mention `Input.is_action_just_pressed()` on the Controllers page
2021-02-26 14:43:29 -06:00
Hugo Locurcio
c6fedd287e
Clarify deadzone difference for Input.get_vector() in Controllers ( #4651 )
...
See
https://github.com/godotengine/godot-docs/pull/4620#discussion_r575847917 .
2021-02-16 19:57:03 +01:00
Hugo Locurcio
04d4f2b6f5
Mention Input.is_action_just_pressed() on the Controllers page
2021-02-14 18:04:58 +01:00
Hugo Locurcio
6d45a91d1e
Fix incorrect code block tab syntax in Controllers documentation ( #4643 )
2021-02-13 15:54:55 +01:00
Hugo Locurcio
53c1af720e
Add a page about gamepad/controller support in Godot ( #4620 )
2021-02-13 02:11:07 +01: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