1
0
Fork 0
Commit Graph

461 Commits

Author SHA1 Message Date
Thaddeus Crews f3d72eb13a
Merge pull request #115266 from Nintorch/fix-joypad-editor-tooltips
Fix editor tooltips disappearing with joypad button presses
2026-02-02 12:57:23 -06:00
Rémi Verschelde 63c78e684b
Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Rémi Verschelde 429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Nintorch a3eb202b25 Add support for joypad motion sensors 2026-01-26 15:49:55 +05:00
Nintorch 008266c4fe Fix editor tooltips disappearing with joypads 2026-01-22 18:51:55 +05:00
Lukas Tenbrink 1825e89787 Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit. 2026-01-21 13:01:23 +01:00
Nintorch 22a4f9fd9c Refactor Input.set_joy_light() 2026-01-11 22:52:40 +05:00
Nintorch d78fdeac13 Fix Android joypad triggers range 2025-12-27 13:35:55 +05:00
carsonuderitz@gmail.com 2fc6e11e31
Fix not releasing action when actions are erased 2025-12-12 16:27:47 +01:00
Rémi Verschelde 40c5b2110e
Merge pull request #112995 from zedzee37/touch_window_fix
Fix emulated touch events using the incorrect window ID
2025-12-09 17:16:54 +01:00
Pāvels Nadtočajevs 36521091aa
Do not show `Physical` in the special key names. 2025-12-04 11:30:57 +02:00
Thaddeus Crews 825d0fe94a
Merge pull request #113418 from Calinou/inputevent-shortcut-physical-unicode-avoid-nested-parentheses
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
2025-12-03 11:42:22 -06:00
David Snopek 308f23f21d Synchronize the names for `RequiredParam<T>` arguments in header files 2025-12-03 04:14:52 -06:00
Thaddeus Crews 9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
David Snopek fc92ce3e7f Use `RequiredParam`/`RequiredResult` in some high value places 2025-12-02 10:44:12 -06:00
Hugo Locurcio e483d2e2d1
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
This was visible in tooltips displayed in shortcuts, including in the editor itself.

For example, "Forward (W (Physical))" is now displayed as "Forward (W - Physical)".
2025-12-02 16:58:24 +01:00
Rémi Verschelde 3d585df89f
Merge pull request #112762 from Benjamin-Dobell/fix/android/dpad-support
Android: Improve D-pad support for Default Android Gamepad.
2025-12-02 14:16:12 +01:00
madsbangh 3fee7c2464 Fix assertions related to buffer overruns in input_event_codec.cpp 2025-11-21 22:55:52 +01:00
carsonuderitz@gmail.com ca45ce91b7 fix emulated touch events using the incorrect window id 2025-11-20 15:26:53 -05:00
kobewi e14263f917 Remove empty constructors and destructors from core/ 2025-11-17 20:09:05 +01:00
Benjamin Dobell 5ac0a57b32 Android: Improve D-pad support for Default Android Gamepad.
Previously the default gamepad wasn't actually setup to handle
regular D-pad keycode events. Instead it had only been hooked up
to hat inputs. Many bluetooth controllers paired with recent
Android versions fire keycode events for their D-pad.
2025-11-15 00:47:05 +11:00
Thaddeus Crews 52e7b970af
Merge pull request #111681 from Nintorch/joypad-led
Add support for setting a joypad's LED light color
2025-11-13 20:52:07 -06:00
Thaddeus Crews 08fb2e61e7
Merge pull request #111503 from JestemStefan/fix_111176
Fix `Input.is_joy_known` response for SDL joypads
2025-11-12 17:26:22 -06:00
Nintorch a55242747a Add support for joypad LED lights 2025-11-12 06:01:03 +05:00
JestemStefan 3f98a5472d Fix Input.is_joy_known response for SDL joypads 2025-11-11 23:23:46 +01:00
Thaddeus Crews 180ccae934
Merge pull request #111707 from Nintorch/joypad-features
Support adding advanced joypad features
2025-11-11 16:07:56 -06:00
kobewi 98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
Thaddeus Crews 38e20331c8
Merge pull request #107303 from passivestar/close-dialog-action
Add support for closing dialog windows with Cmd+W on macOS
2025-10-22 13:48:36 -05:00
passivestar 979f8fa342 Add support for closing dialog windows with Cmd+W on macOS 2025-10-22 09:51:14 +04:00
marwen.azouzi 6dd5266a0e
Removes the need to have a display name for built-in action overrides 2025-10-21 16:45:18 +02:00
Nintorch 7ae67813a1 Support adding advanced joypad features 2025-10-20 19:28:06 +05:00
Thaddeus Crews 60710df3b6
Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
kobewi 263a2bdec6 Rework FileDialog shortcuts 2025-10-11 14:37:40 +02:00
kobewi e6783dbdd1 Improve to_string() and add it to Resource 2025-10-09 00:54:38 +02:00
Thaddeus Crews 6ef2c7b34b
Merge pull request #110823 from Calinou/ui-builtin-actions-all-devices
Allow all gamepad devices for built-in `ui_*` input actions
2025-10-07 17:15:00 -05:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Lukas Tenbrink 9d44b68867 Remove `rw_lock.h` and `rb_map.h` includes from `object.h`. 2025-10-05 23:29:04 +02:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Hugo Locurcio 0dcf28104d
Allow all gamepad devices for built-in `ui_*` input actions
This allows all controllers to navigate the UI, which enhances
compatibility with PC handhelds when external controllers are connected.

Previously, only the first device was allowed to use `ui_*` actions
out of the box, which means that on a PC handheld, external controllers
couldn't navigate the UI (since the first ID is always the built-in controller).
2025-09-23 17:12:56 +02:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews 1e84bc4d9c
Merge pull request #108260 from Silver1063/master
Fix modifier order in keycode string generation
2025-09-18 12:42:20 -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
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -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
风青山 95403207e8
Use `EditorUndoRedoManager` to track the property changes of the
configured `InputEvent` in the plugin

This allows undo and redo, and can mark in time whether the handled
`InputEvent` resource is edited.

`command_or_control_autoremap` needs to be handled separately, as
its value will change the usage of other properties.
2025-07-27 13:57:16 +08:00
Silver1063 00f5b230be Fix modifier order in keycode string generation
Fix the order in which modifier keys are appended in as_text() and keycode_get_string() to ensure consistent and logical ordering (Ctrl, Alt, Shift, Meta). Refactored keycode_get_string() to use a vector for building the key string, improving readability and maintainability.
2025-07-06 14:23:50 -07:00
风青山 efed435fa3
Fix `screen_accum` not being reset when it should be in `Input::VelocityTrack`
Resets `screen_accum` like `accum`.
2025-06-26 20:06:03 +08:00