LibretroAdmin
80b3aefa35
input: a controller's sub-device sensors, from SDL's left-hand sensors
...
The frontend passes a core's sensor calls for a sub-device
(RETRO_SENSOR_SUBDEVICE) on to the drivers with the index kept. It
remembers which sub-device sensors the core enabled, as it does the
controller's own, so one not enabled, or whose enable no driver took,
reads 0 without asking a driver. The controller's own sensors are
handled as before, and sensitivity and orientation apply to both; the
profile's axis remap stays the controller's.
The SDL2 (2.26 and up) and SDL3 joypad drivers answer sub-device 1 from
SDL's _L sensors: a Wii Remote's Nunchuk accelerometer, the left
Joy-Con of a pair. SDL3 restores it on a reconnect as it does the
others. Every other driver already refuses an index it does not know.
samples/input/sensor_subdevice runs the wrappers as they ship.
2026-10-28 16:37:08 +01:00
..
2026-10-22 00:21:53 +02:00
2026-10-13 11:50:11 +02:00
2026-10-24 10:41:49 +02:00
2026-10-13 11:50:11 +02:00
2026-10-27 04:10:15 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-27 04:10:15 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-28 05:43:35 +01:00
2026-10-27 14:20:50 +01:00
2026-10-13 22:34:39 +02:00
2026-10-13 11:50:11 +02:00
2026-10-20 01:52:06 +02:00
2026-10-20 21:53:28 +02:00
2026-10-28 08:02:03 +01:00
2026-10-13 22:34:39 +02:00
2026-10-15 23:42:14 +02:00
2026-10-21 03:30:09 +02:00
2026-10-27 14:20:50 +01:00
2026-10-13 11:50:11 +02:00
2026-10-27 14:20:50 +01:00
2026-10-13 11:50:11 +02:00
2026-10-27 06:00:33 +01:00
2026-10-28 14:48:06 +01:00
2026-10-27 14:20:50 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-28 05:43:35 +01:00
2026-10-13 11:50:11 +02:00
2026-10-27 06:16:53 +01:00
2026-10-24 16:28:43 +02:00
2026-10-20 05:40:35 +02:00
2026-10-20 05:40:35 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-27 17:59:26 +01:00
2026-10-27 17:05:20 +01:00
2026-10-28 05:43:35 +01:00
2026-10-24 10:41:49 +02:00
2026-10-24 10:41:49 +02:00
2026-10-13 22:06:19 +02:00
2026-10-13 21:41:40 +02:00
2026-10-13 21:41:40 +02:00
2026-10-13 17:00:12 +02:00
2026-10-13 22:41:34 +02:00
2026-10-28 14:48:06 +01:00
2026-10-28 05:43:35 +01:00
2026-10-28 16:37:08 +01:00
2026-10-13 11:50:11 +02:00
2026-10-13 11:50:11 +02:00
2026-10-13 23:26:33 +02:00
2026-10-15 23:55:20 +02:00
2026-10-13 11:50:11 +02:00
2026-10-27 12:21:54 +01:00
2026-10-27 12:36:07 +01:00
2026-10-27 12:21:54 +01:00
2026-10-06 18:59:50 +02:00
2026-10-28 05:43:35 +01:00
2026-10-26 05:51:38 +01:00
2026-10-06 03:02:37 +02:00
2026-10-08 03:29:08 +02:00
2026-10-27 13:27:27 +01:00
2026-10-13 11:50:11 +02:00
2026-10-26 06:26:19 +01:00
2026-10-07 17:50:48 +02:00
2026-10-13 11:50:11 +02:00
2026-10-27 14:20:50 +01:00
2026-10-27 14:20:50 +01:00
2026-10-27 14:20:50 +01:00
2026-10-27 14:20:50 +01:00
2026-10-27 13:27:27 +01:00
2026-10-27 14:20:50 +01:00
2026-10-26 06:26:19 +01:00
2026-10-26 06:26:19 +01:00
2026-10-28 05:43:35 +01:00
2026-10-26 06:26:19 +01:00
2026-10-13 11:50:11 +02:00
2026-10-26 06:26:19 +01:00
2026-10-27 14:20:50 +01:00
2026-10-13 11:50:11 +02:00
2026-10-06 17:28:16 +02:00
2026-10-13 22:34:39 +02:00
2026-10-28 08:02:03 +01:00
2026-10-27 14:20:50 +01:00