summaryrefslogtreecommitdiffstats
path: root/src/input_common/motion_from_button.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-21 00:39:58 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:23 +0100
commit6d108f0dcb5b388c3586f90426fc2c832a8bffc0 (patch)
treec32a8451e9a87121058d5eb6a7b9aa72fdb99a3c /src/input_common/motion_from_button.h
parentinput_common: Rewrite SDL (diff)
downloadyuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.gz
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.bz2
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.lz
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.xz
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.tar.zst
yuzu-6d108f0dcb5b388c3586f90426fc2c832a8bffc0.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/motion_from_button.h25
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 @@
-// Copyright 2020 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#pragma once
-
-#include "core/frontend/input.h"
-
-namespace InputCommon {
-
-/**
- * An motion device factory that takes a keyboard button and uses it as a random
- * motion device.
- */
-class MotionFromButton final : public Input::Factory<Input::MotionDevice> {
-public:
- /**
- * Creates an motion device from button devices
- * @param params contains parameters for creating the device:
- * - "key": a serialized ParamPackage for creating a button device
- */
- std::unique_ptr<Input::MotionDevice> Create(const Common::ParamPackage& params) override;
-};
-
-} // namespace InputCommon