Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bdumesnil committed Feb 11, 2018
2 parents dbb63c1 + 0907f03 commit 50d77b1
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# XInput-Wrapper-For-UWP
# XInput-Wrapper-For-UWP

**XInput wrapper for UWP** is a xinput-like interface for the UWP gamepad API.\
It provides the ability to use the xbox one controller capabilities ( including trigger vibration ) in a Win32 desktop application while keeping xinput1.3 compatibility for pre-Windows10 systems.

# How to use

You can get a pre-compiled version from [here](https://github.com/bdumesnil/XInput-Wrapper-For-UWP-Gamepads/releases).\
Include ``XInputWrapper.h`` in your code instead of the base ``xinput.h`` and copy ``XInputUWP.dll`` in your application directory ( ``XInputUWP64.dll`` for 64bits application )\
Add calls to ``XInputInit`` and ``XInputDestroy`` functions.

# How to build

Call ``project/GenerateSolution.bat`` to generate a VS2017 solution.\
Use ``MakeRedist.bat`` to automatically generate a release version of the library.

# Differences with xinput

Currently the wrapper only supports gamepads and doesn't support headset and battery functions.
The wrapper adds init and destroy functions.

0 comments on commit 50d77b1

Please sign in to comment.