mpv/input
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
..
cmd.c input: remove now unused "abort command" and cancel infrastructure 2018-05-24 19:56:35 +02:00
cmd.h cmd: do not use a random value for MP_CMD_OPT_ARG 2018-05-25 11:13:44 +02:00
event.c input: ignore empty lines on drag-drop mime data 2019-09-21 15:39:47 +02:00
event.h
input.c input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
input.h input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
ipc-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
ipc-unix.c Merge commit '559a400ac36e75a8d73ba263fd7fa6736df1c2da' into wm4-commits--merge-edition 2018-12-05 19:19:24 +01:00
ipc-win.c player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
ipc.c ipc: cosmetic: switch a negated if/else 2018-05-25 10:46:18 +02:00
keycodes.c input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
keycodes.h input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
pipe-win32.c
sdl_gamepad.c input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00