Skip to content

coraxcorvidae/SharpDX.XInput-StandAlone

Repository files navigation

SharpDX.XInput-StandAlone

SharpDX.XInput-StandAlone is a standalone version of the SharpDX.XInput library version 4.2.0 in a form ready to use to add game controller support to an application.

Examples

On creation connect to the first plugged in controller:

Controller controller = new Controller(UserIndex.One);
Controller.SetReporting(true);

During the gameplay loop you can get the current controller state:

var state = controller.GetState();

Acknowledgments

SharpDX.XInput was originally developed by the Alexandre Mutel as part of SharpDX.

About

SharpDX.XInput-StandAlone is a standalone version of the SharpDX.XInput library version 4.2.0 in a form ready to use to add game controller support to an application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages