/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #ifndef XENIA_HID_XINPUT_XINPUT_DRIVER_H_ #define XENIA_HID_XINPUT_XINPUT_DRIVER_H_ #include #include #include namespace xe { namespace hid { namespace xinput { class XInputInputDriver : public InputDriver { public: XInputInputDriver(InputSystem* input_system); virtual ~XInputInputDriver(); virtual X_STATUS Setup(); virtual XRESULT GetCapabilities( uint32_t user_index, uint32_t flags, X_INPUT_CAPABILITIES& out_caps); virtual XRESULT GetState( uint32_t user_index, X_INPUT_STATE& out_state); virtual XRESULT SetState( uint32_t user_index, X_INPUT_VIBRATION& vibration); protected: }; } // namespace xinput } // namespace hid } // namespace xe #endif // XENIA_HID_XINPUT_XINPUT_DRIVER_H_