diff options
| author | 2021-09-20 17:36:23 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:23 -0600 | |
| commit | 59b995a9e53f09b9831b03608cfe5ce27c3e3485 (patch) | |
| tree | 54cf3df8ed6ef572d754267be8339c9a8f25b203 /src/input_common/sdl/sdl.h | |
| parent | input_common: Rewrite udp client (diff) | |
| download | yuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.tar.gz yuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.tar.xz yuzu-59b995a9e53f09b9831b03608cfe5ce27c3e3485.zip | |
input_common: Rewrite SDL
Diffstat (limited to 'src/input_common/sdl/sdl.h')
| -rw-r--r-- | src/input_common/sdl/sdl.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/input_common/sdl/sdl.h b/src/input_common/sdl/sdl.h deleted file mode 100644 index b5d41bba4..000000000 --- a/src/input_common/sdl/sdl.h +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | // Copyright 2018 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <memory> | ||
| 8 | #include <vector> | ||
| 9 | #include "common/param_package.h" | ||
| 10 | #include "input_common/main.h" | ||
| 11 | |||
| 12 | namespace InputCommon::Polling { | ||
| 13 | class DevicePoller; | ||
| 14 | enum class DeviceType; | ||
| 15 | } // namespace InputCommon::Polling | ||
| 16 | |||
| 17 | namespace InputCommon::SDL { | ||
| 18 | |||
| 19 | class State { | ||
| 20 | public: | ||
| 21 | using Pollers = std::vector<std::unique_ptr<Polling::DevicePoller>>; | ||
| 22 | |||
| 23 | /// Unregisters SDL device factories and shut them down. | ||
| 24 | virtual ~State() = default; | ||
| 25 | |||
| 26 | virtual Pollers GetPollers(Polling::DeviceType) { | ||
| 27 | return {}; | ||
| 28 | } | ||
| 29 | |||
| 30 | virtual std::vector<Common::ParamPackage> GetInputDevices() { | ||
| 31 | return {}; | ||
| 32 | } | ||
| 33 | |||
| 34 | virtual ButtonMapping GetButtonMappingForDevice(const Common::ParamPackage&) { | ||
| 35 | return {}; | ||
| 36 | } | ||
| 37 | virtual AnalogMapping GetAnalogMappingForDevice(const Common::ParamPackage&) { | ||
| 38 | return {}; | ||
| 39 | } | ||
| 40 | virtual MotionMapping GetMotionMappingForDevice(const Common::ParamPackage&) { | ||
| 41 | return {}; | ||
| 42 | } | ||
| 43 | }; | ||
| 44 | |||
| 45 | class NullState : public State { | ||
| 46 | public: | ||
| 47 | }; | ||
| 48 | |||
| 49 | std::unique_ptr<State> Init(); | ||
| 50 | |||
| 51 | } // namespace InputCommon::SDL | ||