summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPL
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2019-10-22 16:41:19 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2019-10-22 16:41:19 +0200
commit0f8bfa6ae7fc865f2ed50ce5b3ca83ca964f9c94 (patch)
tree91305a9479afcbb782e0f1927a77783dd4c91fef /LICENSE.LGPL
parentf7881ea573ca2dd0ad2f65d70c1398076c7a41e3 (diff)
downloadmpv-0f8bfa6ae7fc865f2ed50ce5b3ca83ca964f9c94.tar.bz2
mpv-0f8bfa6ae7fc865f2ed50ce5b3ca83ca964f9c94.tar.xz
input: add gamepad support through SDL2
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 :)
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions