Commit Graph
4 Commits
Author SHA1 Message Date
AustenandColby Klein 631523ace3 XInput support for the DirectInput driver (#1443)
* XInput support for the DirectInput driver

The XBox360 controller driver for windows has a flaw where the DirectInput backwards-compatible driver registers dance pad arrows as a hat and will not allow opposite arrows to be pressed at the same time. This is not a problem in the XInput interface since the arrows are registered as a DPad and each arrow is a button.

This patch adds XInput support for the DirectInput driver. On initialization XInput controllers will be detected and registered first, followed by enumerating DirectInput devices. During DirectInput enumeration any XInput-capable controllers will be bypassed so that they aren't registered twice.

* Fix joystick input for xinput driver

Needed to compensate for deadzones, magnitude of the inputs, and that the Y axis was reversed.

* Remove unnecesarry using statement for vectors
2017-05-23 14:57:55 -07:00
Austen Dicken df32fc663d More FFMpeg adjustments
Since many distros don't have packages for FFMpeg 0.10 yet, allow a static
prebuilt package to be specifiec with --with-static-ffmpeg=/path/to/ffmpeg.

Also recreate the functionality of ./Utils/build.sh to now pull FFMpeg 0.10.2
from the web, statically build it, and link it into Stepmania.
2012-03-30 18:05:58 -05:00
Austen Dicken 0c94594541 remove the need for libtheora since we have ffmpeg to handle
theora videos
2012-03-12 23:26:34 -05:00
Austen Dicken 220a23f452 Update ffmpeg support to 0.10 2012-03-10 18:45:31 -06:00