zoltanvb
e5e7e66199
Add sensor function placeholders for all joypad drivers. ( #16812 )
...
In some cases, set_sensor_state and get_sensor_input are
more related to the joypad driver, e.g. in desktop platforms
where sensors are associated rather with the joypad.
If input driver supports the sensors, it is still preferred.
Placeholder inserted for all input drivers, no functionality
added yet.
2024-07-24 15:13:16 -07:00
zoltanvb
89c6e23f5f
Fixes for linuxraw driver ( #16330 )
...
Triggered by #16320 , a few things are adjusted:
- device name is shown correctly (this was preventing config save)
- driver name fixed in autoconfig related calls
- hotplug reconnect was not working
- some logging added
2024-03-06 09:08:21 -08:00
libretroadmin
31d8f4fd51
Cut down on more strlcat calls
2023-06-18 22:53:13 +02:00
sonninnos
c4f43ff28b
Linux input driver fix 8+ joypads ( #15374 )
2023-06-14 04:43:45 +02:00
Rob Loach
b6dc368827
Fix linuxraw_joypad snprintf warning
2023-05-16 12:55:52 +02:00
libretroadmin
e7e647d181
(Joypad drivers) Simplifications - put char string outside loop
2023-05-01 20:33:38 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
twinaphex
bb30dc3dee
After gblues' change, the rest of the button function callbacks
...
for the other joypad drivers still had int16_t as the return type
instead of int32_t - fix this
2021-08-08 21:48:19 +02:00
twinaphex
236622ffa6
(Joypad driver) Init function - return void pointer
2020-09-22 02:30:47 +02:00
twinaphex
4676e102d0
(input/drivers_joypad) Add TODO/FIXME notes
2020-08-03 17:31:22 +02:00
twinaphex
ed3ee2511f
Cleanups - add local variable
2020-07-29 05:31:23 +02:00
rsn8887
78c9dbbd20
Fix input port assignments
2020-07-28 16:35:16 -05:00
twinaphex
897a9de5be
(drivers_joypad) Cleanup axis functions
2020-07-19 18:51:05 +02:00
twinaphex
d97e590aaf
Reimplement multi button state functions
2020-07-19 03:18:12 +02:00
twinaphex
cb5b22b6ac
(Android) Refactor axis functions
2020-07-18 22:38:23 +02:00
twinaphex
08ad00f5d3
Start preparing for being able to grab multiple buttons at the same time
2020-07-18 19:51:14 +02:00
twinaphex
8b078662cd
Change function signature of joypad driver's 'button'
2020-07-18 18:07:57 +02:00
jdgleaver
84a71ea133
Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation
2020-07-14 17:46:58 +01:00
twinaphex
79cc4f9c4f
Revert "Start going through wrapper functions for access to input_device_names"
...
This reverts commit 92293525c130f202604bcf078f38426c7090d2e0.
2020-07-05 16:41:55 +02:00
twinaphex
92293525c1
Start going through wrapper functions for access to input_device_names
2020-07-05 10:33:21 +02:00
twinaphex
b363ed7d79
(drivers_joypad) get rid of excessive logging
2020-06-11 04:06:33 +02:00
twinaphex
0257e01bee
Refactor input_autoconfigure_connect - don't return
...
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
orbea
cb602c190d
Some C89_BUILD fixes.
2019-01-20 14:03:42 -08:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
twinaphex
f0c143766e
Change to 256bit macros
2017-12-05 12:07:35 +01:00
twinaphex
6c09661a64
Move defines to retro_miscellaneous.h
2017-12-05 10:42:37 +01:00
twinaphex
e94300a581
Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
...
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
David Walters
c5bdc02d6f
replace uint64_t with retro_bits_t* for pad buttons state
2017-11-28 10:04:34 +00:00
twinaphex
e16371b8a5
Merge input_config.c and input_driver.c
2017-08-31 02:25:04 +02:00
twinaphex
a41b8bc199
Direct usage of epoll
2017-06-11 20:51:21 +02:00
twinaphex
84f5fa1f26
(epoll_common.c) Cleanups; don't use verbosity logging inside
2017-06-10 12:07:01 +02:00
twinaphex
8980f8c1ea
Get rid of useless wrapper function epoll_waiting
2017-06-08 21:52:50 +02:00
twinaphex
ab087faa2a
Try to move access call to maybe prevent 'time of check time of use'
...
coverity error
2017-06-07 23:29:29 +02:00
twinaphex
5c84f9158e
Try to prevent out-of-bounds write
2017-06-07 23:03:08 +02:00
twinaphex
a371815efd
Try to null-terminate string
2017-06-07 22:47:07 +02:00
twinaphex
afa07219cd
(linuxraw_joypad.c) Cleanups
2017-06-07 20:58:46 +02:00
twinaphex
1bf7cbccbe
input_device_names no longer part of settings struct
2017-04-27 21:35:46 +02:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
ea3dd6a95b
Set device name when autoconfig connect task fails for all
...
other input drivers too
2017-01-13 05:00:13 +01:00
twinaphex
103042de96
Rewrite task_autodetect.c
2016-12-31 07:43:34 +01:00
twinaphex
aafae944cb
Don't memset autoconfig_params_t
2016-12-17 14:26:13 +01:00
twinaphex
021559a877
Get rid of runloop.h dependencies inside input/ dir
2016-12-02 06:07:45 +01:00
twinaphex
d3c22cb0e4
Move input/input_autodetect.c to tasks/task_autodetect.c
2016-12-01 20:38:20 +01:00
twinaphex
76d0380e45
Rename input_autoconfigure_joypad to input_autoconfigure_connect
2016-12-01 18:57:44 +01:00
twinaphex
e689d55414
Rename autoconfig functions
2016-12-01 18:52:34 +01:00
twinaphex
793519eb61
(linuxraw_joypad.c) Cleanups
2016-12-01 16:44:47 +01:00
twinaphex
b63b675274
(linuxraw_joypad.c) Cleanups
2016-12-01 16:42:21 +01:00
twinaphex
d7f7d5f99a
Rewrite epoll_common
2016-12-01 16:40:04 +01:00
twinaphex
6310f53587
Prevent some implicit memsets and reduce the size of some
...
char variables
2016-10-27 10:45:53 +02:00