diff options
| author | 2021-09-20 17:39:58 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:23 -0600 | |
| commit | 6d108f0dcb5b388c3586f90426fc2c832a8bffc0 (patch) | |
| tree | c32a8451e9a87121058d5eb6a7b9aa72fdb99a3c /src/input_common/motion_from_button.h | |
| parent | input_common: Rewrite SDL (diff) | |
| download | yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.gz yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.xz yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.zip | |
input_common: Remove obsolete files
Diffstat (limited to 'src/input_common/motion_from_button.h')
| -rw-r--r-- | src/input_common/motion_from_button.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/input_common/motion_from_button.h b/src/input_common/motion_from_button.h deleted file mode 100644 index a959046fb..000000000 --- a/src/input_common/motion_from_button.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | // Copyright 2020 yuzu 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 "core/frontend/input.h" | ||
| 8 | |||
| 9 | namespace InputCommon { | ||
| 10 | |||
| 11 | /** | ||
| 12 | * An motion device factory that takes a keyboard button and uses it as a random | ||
| 13 | * motion device. | ||
| 14 | */ | ||
| 15 | class MotionFromButton final : public Input::Factory<Input::MotionDevice> { | ||
| 16 | public: | ||
| 17 | /** | ||
| 18 | * Creates an motion device from button devices | ||
| 19 | * @param params contains parameters for creating the device: | ||
| 20 | * - "key": a serialized ParamPackage for creating a button device | ||
| 21 | */ | ||
| 22 | std::unique_ptr<Input::MotionDevice> Create(const Common::ParamPackage& params) override; | ||
| 23 | }; | ||
| 24 | |||
| 25 | } // namespace InputCommon | ||