[D3D12] Create the project and link D3D libraries
This commit is contained in:
@@ -20,6 +20,10 @@ namespace xe {
|
||||
namespace hid {
|
||||
namespace xinput {
|
||||
|
||||
// TODO(Triang3l): Find why XInputEnable is deprecated on Windows 10.
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4995)
|
||||
|
||||
XInputInputDriver::XInputInputDriver(xe::ui::Window* window)
|
||||
: InputDriver(window) {
|
||||
XInputEnable(TRUE);
|
||||
@@ -27,6 +31,8 @@ XInputInputDriver::XInputInputDriver(xe::ui::Window* window)
|
||||
|
||||
XInputInputDriver::~XInputInputDriver() { XInputEnable(FALSE); }
|
||||
|
||||
#pragma warning(pop)
|
||||
|
||||
X_STATUS XInputInputDriver::Setup() { return X_STATUS_SUCCESS; }
|
||||
|
||||
X_RESULT XInputInputDriver::GetCapabilities(uint32_t user_index, uint32_t flags,
|
||||
|
||||
Reference in New Issue
Block a user