Changelog:
r44536 | compyx | 2023-09-19 18:06:23 +0000 (Tue, 19 Sep 2023) | 5 lines
Joystick: add enum `joystick_input_type_t`
Add enum for host input types (axis, button, hat), replace magic numbers in
`joy_arch_mapping_dump()`, rest will follow later.
------------------------------------------------------------------------
r44535 | compyx | 2023-09-19 16:20:27 +0000 (Tue, 19 Sep 2023) | 5 lines
Refactor `joy_arch_mapping_dump()`
Use meaningful variable names, rework copy/pasted code into separate function.
Leave magic numbers as-is (with comment about what they probably mean).
------------------------------------------------------------------------
r44534 | compyx | 2023-09-19 06:50:46 +0000 (Tue, 19 Sep 2023) | 5 lines
Clean up and document linux joystick driver, properly close file descriptors
Try to clean up the code a bit and add comments to make it slightly more
readable. Properly close any file descriptor of devices we reject.
------------------------------------------------------------------------
r44533 | compyx | 2023-09-18 17:16:46 +0000 (Mon, 18 Sep 2023) | 11 lines
Merge branch compyx/sdl-joy-uiactions into trunk
Reworks the joystick mappings to use UI action names instead of menu paths
or numeric literals for the actions to trigger. Any old .vjm files will not
work anymore, although the current joymap file parser will not log any error
or warning about this.
Also makes joy mappings work for Gtk3, although there's no UI support to map
buttons to UI actions, emulated keyboard or emulated joystick actions.
Creating a joy map file with the SDL UI and renaming the file (changing the
"sdl" prefix to "gtk3") does work however.
------------------------------------------------------------------------
r44528 | gpz | 2023-09-17 22:03:47 +0000 (Sun, 17 Sep 2023) | 1 line
fix profiler root context, patch by Oskar Linde
------------------------------------------------------------------------