libretroadmin
b5887d9857
change bsv_key_data back in case struct layout matters
2023-08-30 18:20:58 +02:00
libretroadmin
712b821f78
Reorder
2023-08-30 11:11:04 +02:00
libretroadmin
c82401dcb4
input_device_info - slim down - we don't need config_path and some of
...
the char arrays can be much smaller
2023-08-30 08:34:21 +02:00
libretroadmin
8debf4b88e
(wiiu_joypad.c) Small cleanups
2023-08-20 04:06:48 +02:00
sonninnos
c708187cd2
Search box usability improvements ( #15617 )
2023-08-18 12:38:29 -07:00
libretroadmin
e5ef309b58
get_bind_string_joyaxis - small simplification
2023-08-16 20:29:40 +02:00
libretroadmin
d6ae25d980
Don't add to len variable if not used
2023-08-16 20:26:15 +02:00
sonninnos
de45fc2f5f
Input binding rework ( #15603 )
...
* Input binding rework
* Controller info logging cleanup
2023-08-16 11:13:14 -07:00
libretroadmin
e407d9a7b2
(Udev) style nits/cleanups
2023-08-16 15:45:50 +02:00
Max Kupriianov
2f16e115a7
[android] fix d-pad regression introduced in abcd42777f
( #15601 )
2023-08-16 05:58:44 -07:00
libretroadmin
0a96f9595c
Explicit typecasts to bools for flags
2023-08-16 04:18:55 +02:00
libretroadmin
f51b49f213
More explicit typecasts to bools
2023-08-16 03:22:02 +02:00
libretroadmin
bd7a0f7f0a
Explicit typecast to bool for some flag to bool conversions
2023-08-16 00:16:03 +02:00
Max Kupriianov
abcd42777f
refactor: rewrite input handling to better support AINPUT_SOURCE_STYLUS ( #15597 )
...
Resolves issues with S-Pen on Samsung devices, also adds support for S-Pen button
that is handled as r-mouse click now.
2023-08-15 11:13:53 -07:00
libretroadmin
c8e6506687
Fix --disable-menu errors
2023-08-14 23:36:19 +02:00
sonninnos
d8f9310100
(DINPUT) Mouse flag cleanup ( #15575 )
2023-08-11 07:17:07 -07:00
neil4
fbd8498686
Overlays: Apply range_mod only for the touch inputs that trigger it ( #15534 )
2023-07-30 09:49:59 +02:00
Colin Kinloch
2cb787c5bf
(Wayland) Apply output scale to touch inputs
2023-07-21 22:31:51 +02:00
Eric Warmenhoven
286ce51277
iOS: use haptic engine instead of feedback generator for device rumble
2023-07-19 22:13:35 +02:00
sonninnos
c798cbaf3f
Enable overlay by default only on mobile + winraw overlay fix
2023-07-18 21:26:23 +02:00
libretroadmin
aeff636a0f
Minor cleanups to config_file.c
2023-07-17 09:45:52 +02:00
libretroadmin
98ee9a753c
Cut down on some implicit strlens
2023-07-15 09:10:16 +02:00
sonninnos
ab4debec01
All Users Control Menu fixes
2023-07-15 06:28:51 +02:00
Eric Warmenhoven
e943ea71e7
Fix #15459 - add HAVE_STDIN_CMD to macos
2023-07-09 09:31:08 +02:00
nfore
bf0de45ec4
Build fix
2023-07-09 09:30:48 +02:00
nfore
9ca5c5e623
Revive/rewrite Keyboard Overlay and OSK Toggle
...
Add keyboard overlay preset, keyboard submenu, and osk_toggle hotkey. Use overlay caching for osk_toggle.
For now, keyboard menu has only preset path, auto-scale toggle, and opacity.
Related fixes:
- input_keyboard_event: Don't check hotkey binds when device is RETRO_DEVICE_POINTER
- Add input_keymaps_translate_rk_to_ascii() for correct character input to input_keyboard_event
- input_overlay_poll: Delay clearing INPUT_OVERLAY_BLOCKED flag until there is no overlay input (Avoids stray input after osk_toggle)
- Send keyboard events for modifiers before other keys (for correct modifier+key input if hitboxes overlap)
2023-07-09 04:42:49 +02:00
nfore
8a81d39437
Overlay Caching
...
Adds overlay_cache_ptr to keep a disabled overlay in memory when it's expected to be shown again.
Most input_overlay_deinit calls are replaced with input_overlay_unload, which caches the overlay unless initing/deiniting core or disabling overlays.
Loading a cached overlay is done as a swap, intended for osk_toggle.
Related updates:
- Fewer parameters for the overlay loading task. Use current settings when enabling an overlay
- Add input_overlay_check_mouse_cursor() to preserve show/hide mouse behavior
- Don't apply input_overlay_show_mouse_cursor in windowed mode (controlled by mouse grab only)
- Remove some dead code
2023-07-09 04:42:49 +02:00
Eric Warmenhoven
280dcb32f9
Fix several warnings
2023-07-02 05:46:45 +02:00
sonninnos
7922e45607
Combo hold + 'enable_hotkey' correction
2023-07-01 20:12:13 +02:00
Eric Warmenhoven
ce49bd6dcc
Enable option to rumble iOS device instead of controller ( #14734 ).
2023-07-01 19:24:40 +02:00
libretroadmin
22dc6aff5a
Rework some snprintf/strlcat calls
2023-06-21 09:25:04 +02:00
libretroadmin
bdc398d79f
- Safer code - use strlcpy where possible instead of manual character
...
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin
31d8f4fd51
Cut down on more strlcat calls
2023-06-18 22:53:13 +02:00
sonninnos
b92540b24d
(udev) Log mouse devices in info level
2023-06-18 19:43:38 +02:00
libretroadmin
97deec44f4
Remove unused variable warning
2023-06-18 13:55:39 +02:00
sonninnos
8a862bf20e
Keyboard mapping bit fix ( #15392 )
2023-06-18 08:09:34 +02:00
libretroadmin
fc06e2f84f
Simplify core_serialize_size and core_serialize_size_special
2023-06-16 17:20:27 +02:00
libretroadmin
410242c164
(input_driver.c) Don't keep regrabbing the same pointers in input_state_internal function
2023-06-15 14:26:41 +02:00
libretroadmin
426ba5382c
C89 buildfix and other small cleanup
2023-06-15 01:58:23 +02:00
libretroadmin
975d613fbb
(input_driver.c) Small cleanups - input_driver_state_internal
...
return type is int16_t so don't use float value for analog_x/analog_y
variables
2023-06-15 01:52:24 +02:00
Grisly Glee
de0c6d5cd1
Trivial warnings fixes ( #15383 )
...
* Trivial graphics context drivers fix
* Assorted minor warnings fixes
2023-06-14 23:46:27 +02:00
libretroadmin
246cceeb27
Silence more signedness warnings
2023-06-14 19:51:31 +02:00
sonninnos
c4f43ff28b
Linux input driver fix 8+ joypads ( #15374 )
2023-06-14 04:43:45 +02:00
Grisly Glee
4202f8650d
Fix trivial signedness warnings ( #15377 )
...
* Fix trivial signedness warnings
* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
jiangxiaogang
44142ceeb8
Fixed android gamepad binds
2023-06-06 01:52:39 +02:00
Eric Warmenhoven
6c831b25a6
Restore "macOS Cocoa: fix mouse grab in windowed mode."
...
This reverts commit 269c902429
, with a
build fix.
2023-06-06 01:52:13 +02:00
libretroadmin
269c902429
revert
2023-06-04 16:28:59 +02:00
libretroadmin
63bf68d616
Cover both HAVE_COCOA and HAVE_COCOA_METAL for now
2023-06-04 16:09:49 +02:00
libretroadmin
794b430bac
cocoa_input_grab_mouse - compile it in only for regular Cocoa, not CocoaTouch
2023-06-04 16:08:24 +02:00
libretroadmin
1352036133
(cocoa_input.m) Cleanups
2023-06-04 16:03:55 +02:00