-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/bdumesnil/XInput-Wrapper-…
- Loading branch information
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |