Skip to content

Instantly share code, notes, and snippets.

using System;
using XInputDotNetPure;
public sealed class XInputWrapper
{
private PlayerIndex _playerIndex;
private bool _playerIndexSet;
private GamePadState _state, _prevState;
private const int kPadCount = 4;