mpv/test
Stefano Pigozzi 899e0bd16b 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 :)
2019-10-23 09:40:30 +02:00
..
chmap.c
chmap_sel.c
gl_video.c test: fix cmocka assert_float_equal shadowing warnings 2019-09-21 22:11:52 +02:00
input-gamepad.conf input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
json.c json: add some non-standard extensions 2018-05-24 19:56:34 +02:00
linked_list.c test/linked_list: silence nonsense warnings 2019-09-21 22:30:38 +02:00
subtimes.js command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
test_helpers.h test: fix cmocka assert_float_equal shadowing warnings 2019-09-21 22:11:52 +02:00