Thaddeus Crews
f47b9bd6e9
Merge pull request #117933 from Nintorch/is-key-just-pressed-alternative
...
Document alternatives to `Input.is_key_just_pressed()`
2026-04-16 21:46:55 -05:00
Nintorch
c5991e33e7
Document alternatives to Input.is_key_just_pressed()
...
This PR documents alternative ways to simulate a behavior of `Input.is_key_just_pressed()` from the proposal. This PR also documents the same approaches for other devices, i.e. joypads and mice.
2026-04-15 10:08:12 +05:00
Danil Alexeev
32d1f518fa
Improve editor-only class checking
2026-03-25 17:07:39 +03:00
Nintorch
d418d692b9
Project setting to ignore joypads on unfocused app
...
Co-Authored-By: Christoph Taucher <4498502+chtau@users.noreply.github.com >
2026-03-03 11:03:37 +05:00
Thaddeus Crews
ef21cbeab2
Merge pull request #114372 from Nintorch/document-joypad-id-order
...
Clarify `Input.get_connected_joypads()` order
2026-02-26 08:15:21 -06:00
Nintorch
3353040766
Clarify Input.get_connected_joypads() order
2026-02-26 13:52:12 +05:00
Thaddeus Crews
5e10528397
Merge pull request #114895 from Nintorch/is-joy-vibrating
...
Add support for joypad vibration checking
2026-02-19 20:29:13 -06:00
Nintorch
c83c672d61
Add support for joypad vibration checking
2026-02-19 21:34:06 +05:00
Nintorch
73fcc0d645
Add SDL joystick input for iOS
2026-02-18 20:37:22 +05:00
Thaddeus Crews
e0971e6349
Merge pull request #116241 from Nintorch/joy-motion-sensors-cs-docs-fix
...
Fix joypad motion sensors example for C#
2026-02-17 14:03:57 -06:00
Rémi Verschelde
ed9c865e9b
Sync controller mappings DB with SDL community repo
...
Synced with: https://github.com/mdqinc/SDL_GameControllerDB/commit/c9e695ef7709d9f2e5d8e44e36e27b56b881366f
Clarify that Godot contributors should not interact with the upstream project.
2026-02-16 18:07:03 +01:00
Nintorch
7e2a4f008a
Fix joypad motion sensors example for C#
2026-02-13 15:17:25 +05:00
Thaddeus Crews
ea6fec22ef
Input: Added serial number to joy_info
...
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Co-Authored-By: RyanVail <111651152+ryanvail@users.noreply.github.com >
2026-02-03 07:37:15 -06:00
Thaddeus Crews
38b84e9c0e
Merge pull request #115203 from lazaromenezes/vibrate_handheld-doc-update
...
Add notice about device settings for `vibrate_handheld` method
2026-01-28 17:57:50 -06:00
Thaddeus Crews
77579f93e6
Merge pull request #111679 from Nintorch/joypad-motion-sensors
...
Add support for joypad motion sensors
2026-01-27 15:18:37 -06:00
Thaddeus Crews
d97000d7d1
Merge pull request #114918 from Nintorch/xbox-cant-vibrate
...
Document joypad vibration support over USB on macOS
2026-01-26 15:01:55 -06:00
Nintorch
a3eb202b25
Add support for joypad motion sensors
2026-01-26 15:49:55 +05:00
Lázaro Menezes
07547be180
Add notice about device settings for vibrate_handheld method
2026-01-21 09:29:11 -03:00
Nintorch
1af0627886
Document wired vibration for controllers on macOS
2026-01-15 16:12:09 +05:00
Nintorch
22a4f9fd9c
Refactor Input.set_joy_light()
2026-01-11 22:52:40 +05:00
Nintorch
a55242747a
Add support for joypad LED lights
2025-11-12 06:01:03 +05:00
Thaddeus Crews
52a5644b5f
Merge pull request #108214 from Nintorch/fix-joypad-vendor-product
...
Fix `Input.get_joy_info()` regression after the SDL input driver PR
2025-09-01 11:14:12 -05:00
Nintorch
f28acf97d0
Fix Input.get_joy_info() regression
...
SDL input driver did not have the "xinput_index", "raw_name", "vendor_id" and "product_id" fields for this method and exposed an additional, essentially useless for the users "mapping_handled" field. This commit fixes these issues.
2025-08-29 22:13:40 +05:00
Pāvels Nadtočajevs
10fd7163d4
Add methods to check which event first triggered "just pressed/released" state.
2025-08-12 16:25:23 +03:00
Haoyu Qiu
1e82bafa3a
Remove redundant info on the enum types used
2025-06-04 08:21:47 +08:00
Anish Mishra
93bababb8c
Android: Inform that sensors must be enabled in ProjectSettings
2025-02-21 23:04:01 +05:30
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
...
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
MJacred
8e75fae49e
Ue an array removed_idx
2025-01-14 12:09:16 +01:00
MJacred
40832387ce
Fix Input::remove_joy_mapping
...
Erasing a joypad mapping can invalidate other attached joypads and the fallback mapping guid
2024-12-16 20:27:33 +01:00
MJacred
01a2726c59
Get joypad's vendor ID, product ID, and name on Windows
2024-12-15 23:59:11 +01:00
Rémi Verschelde
4a798ad85d
Merge pull request #95749 from Mickeon/documentation-example-pruning
...
Remove empty `[b]Example:[/b]` lines from the class reference
2024-08-26 23:29:00 +02:00
Micky
4ce5856384
Remove empty [b]Example:[/b] lines from the class reference
2024-08-19 01:00:52 +02:00
Joanna May
bebf2e87f2
docs: highlight lack of joystick info on majority of platforms
2024-08-18 14:47:32 -05:00
Haoyu Qiu
2ab9344b3b
Fix description for Input.vibrate_handheld()
2024-06-12 17:42:25 +08:00
Radiant
789c6ebdfd
Implement amplitude to Input.vibrate_handheld
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com >
2024-05-02 19:09:42 +03:00
skyace65
c83718624f
Update links to outdated asset library demos
...
Update links to outdated asset library demos
Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com >
2024-04-07 16:59:43 +02:00
A Thousand Ships
24c9d442e9
[Doc] Fix some incorrect uses of a/an
2024-03-13 21:20:28 +01:00
Rémi Verschelde
34effe41dc
Merge pull request #89036 from Mickeon/documentation-uncommon-words-2
...
Overhaul some "uncommon" wording in class reference
2024-03-01 17:22:18 +01:00
Micky
c54e09a5a3
Overhaul some "uncommon" wording in class reference
2024-03-01 15:32:38 +01:00
Markus Sauermann
8121446385
Document that parse_input_event doesn't influence the OS
2024-02-29 18:59:04 +01:00
kobewi
3aeb4a5542
Improve cursor_set_custom_image() method
2024-02-28 20:32:25 +01:00
Hugo Locurcio
f781571d07
Add keywords to improve search in the class reference
2024-02-22 16:16:49 +01:00
Jezer Mejía
07313a08f4
Migrate macos controller API to GameController.h
...
This should fix a lot of issues regarding to old controller API, such as vibration
Haptics (vibrations) are only available in macOS 11+, so haptics are now
processed in macOS 11+ only. Also, this doesn't interfere with
controller's input as controller support is available in macOS 10.9+.
Added a Note for macOS regarding vibration support
2024-02-20 08:13:05 -06:00
Markus Sauermann
2235a1cbd0
Add screen-related attributes to mouse input events
2024-02-05 23:30:15 +01:00
CaTaTo
075a54bbcf
Add bindings for setting and getting emulation mouse from touch and touch from mouse in input
2023-12-13 08:07:36 +03:00
Markus Sauermann
0baebed41a
Document that Input.is_action_* should not be used during input-handling
...
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2023-11-10 21:34:50 +01:00
Emily
3f7025b2ed
Fixed a missing word
2023-10-05 16:19:48 -07:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
...
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.
So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
kobewi
ad1abca668
Fix action state when multiple events are assigned
2023-08-25 23:10:27 +02:00
Álex Román Núñez
3aa340d081
Add the ability to get per-platform information for joypads.
...
This adds the ability for games to obtain platform-specific information about joypads such as their vendor/product ID, their XInput gamepad index or the real name of the device before it gets swapped out by the gamecontrollerdb's name.
This PR also includes a rebased version of #76045 , this is because this PR is intended to be mainly to help people implementing Steam Input, as having the gamepad index is essential.
2023-08-02 22:30:30 +02:00