summaryrefslogtreecommitdiff
path: root/doc/classes/Input.xml
AgeCommit message (Collapse)Author
2022-12-16Silence `Input.vibrate_handheld()` warning as it's already documentedHugo Locurcio
The warning causes messages to be spammed if you are calling this method in a game that runs on both desktop and mobile platforms, unless you guard all calls to `Input.vibrate_handheld()` with `OS.has_feature("mobile") or OS.has_feature("web")`. Since the limitation is already documented (and is obvious enough given the method's name), the warning message is redundant.
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-10-27Document the DisplayServer classHugo Locurcio
This also adds a link to the Command line tutorial on pages that reference command line arguments, as the page covers some general usage tips for CLI arguments (especially on macOS).
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-12[doc] Use "param" instead of "code" to refer to parameters (6)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-07-27HTML5: Add support for `Input.vibrate_handheld()`pattlebass
2022-07-03Input: Re-enable input accumulation by defaultRémi Verschelde
I turned it off by mistake in #38697. See also #62664 for details on this boolean's complex history :)
2022-06-04Merge pull request #61669 from fire-forge/inputRémi Verschelde
Make Input `mouse_mode` and `use_accumulated_input` properties
2022-06-03Make Input mouse_mode and use_accumulated_input propertiesFireForge
2022-06-03Add array element type to `get_connected_joypads`Raul Santos
2022-05-14Swap the meaning of CURSOR_WAIT and CURSOR_BUSYHaoyu Qiu
2022-04-27doc: Update iOS hint for Input.vibrate_handheld after #60397Rémi Verschelde
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-20Ensure minimum modifiers are pressed when matching actionsMarcel Admiraal
2022-02-15Add an XML schema for documentationHugo Locurcio
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.
2022-02-03Merge pull request #56764 from madmiraal/fix-45592-2Rémi Verschelde
2022-02-03Expand description for warp_mouse_position methodTechnicalSoup
Add more detail to the description for the warp_mouse_position method, clarifying that the vector is in screen coordinates and relative to an origin at the top of the game window.
2022-01-20Add `Input.is_anything_pressed` methodAndrii Doroshenko (Xrayez)
2022-01-13Fix mouse velocity not changing fast enoughMarcel 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-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-05Document keyboard ghosting caveats in Input and InputEventHugo Locurcio
This also adds recommendations for choosing between `is_physical_key_pressed()` and `is_key_pressed()`.
2021-12-29Rename speed to velocity when it's a directional VectorMarcel Admiraal
2021-12-06Unexpose joy_connection_changed methodkobewi
2021-11-23Add Input.is_physical_key_pressed method.bruvzg
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-12Use "enum class" for input enumsAaron Franke
2021-10-22Merge pull request #53812 from RandomShaper/expose_flush_inputRémi Verschelde
2021-10-22Expose Input::flush_buffered_events()Pedro J. Estébanez
2021-10-12Exposed setters for sensor values in Input classДмитрий Сальников
2021-10-06Merge pull request #53472 from akien-mga/doc-update-tutorial-linksRémi Verschelde
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-10-06Change dragging cursor on Windowskobewi
2021-08-10Use Key enum instead of plain integersAaron Franke
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
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.
2021-07-30Add Input documentation for `exact_match`Raul Santos
2021-07-22Fix miscellaneous doc typos and inconsistenciesNicholas Huelin
This pull request fixes an assortment of typos, improves conciseness, and enhances clarity.
2021-06-20Use mouse and joypad enums instead of plain integersAaron Franke
Also MIDIMessage
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-03Add MOUSE_MODE_CONFINED_HIDDENAaron Franke
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-23Rename some more global enums (Key, Joy, MIDI)Aaron Franke
2021-03-19class reference proofreadingPaul Joannon
2021-03-17Converted sensor acceleration units to m/s^2 on iOS and UWPMarcus Brummer
This is beacuse on Android these values are already in m/s^2 while on iOS and UWP they are in g. This just makes the behaviour consistent on all platforms.
2021-03-16Document different unit of measurement for sensor data on iOS and AndroidMarcus Brummer
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2020-11-27doc: Mention iOS support for Input gravity/gyroscope sensorsRémi Verschelde
It has been implemented for iOS a long time ago already with #7127.
2020-11-25Docs: Port Code Examples to C# (F, G, H, I, J, K, L)HaSa1002
Includes: * File * Geometry2D * HashingContext * HTTPClient * HTTPRequest * Image * Input * int * ItemList * JSONParseResult * KinematicBody2D * LineEdit Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-23doc: Sync classref with current sourceRémi Verschelde
2020-11-11Allow getting Input axis/vector values by specifying multiple actionsAaron Franke
For get_vector, use raw values and handle deadzones appropriately
2020-10-01Link to demos from within the class referenceAaron Franke