[HID/Linux] Implement cross platform controller input using SDL2 library.
This commit is contained in:
27
src/xenia/hid/sdl/sdl_hid.h
Normal file
27
src/xenia/hid/sdl/sdl_hid.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2020 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef XENIA_HID_SDL_SDL_HID_H_
|
||||
#define XENIA_HID_SDL_SDL_HID_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "xenia/hid/input_system.h"
|
||||
|
||||
namespace xe {
|
||||
namespace hid {
|
||||
namespace sdl {
|
||||
|
||||
std::unique_ptr<InputDriver> Create(xe::ui::Window* window);
|
||||
|
||||
} // namespace sdl
|
||||
} // namespace hid
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_HID_SDL_SDL_HID_H_
|
||||
Reference in New Issue
Block a user