mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
899e0bd16b
The code is very basic: - only handles gamepads, could be extended for generic joysticks in the future. - only has button mappings for controllers natively supported by SDL2. I heard more can be added through env vars, there's also ways to load mappings from text files, but I'd rather not go there yet. Common ones like Dualshock are supported natively. - analog buttons (TRIGGER and AXIS) are mapped to discrete buttons using an activation threshold. - only supports one gamepad at a time. the feature is intented to use gamepads as evolved remote controls, not play multiplayer games in mpv :) |
||
---|---|---|
.. | ||
chmap_sel.c | ||
chmap.c | ||
gl_video.c | ||
input-gamepad.conf | ||
json.c | ||
linked_list.c | ||
subtimes.js | ||
test_helpers.h |