summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-11-09 23:34:51 +0100
committerGitHub <noreply@github.com>2019-11-09 23:34:51 +0100
commiteebc64aaf872917c4a7d480026545fe8a87d662f (patch)
tree1d9246ad8a7ca0a2e28815f64ae14341c9c88648 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
parent07e2e1ca5a385cdab7bcf8ba8a9307b8c1805f6e (diff)
parent1180c231a697297f468020a56db236ef795101e5 (diff)
Merge pull request #8460 from jordan-woyak/evdev-motion-data
InputCommon: Detect when evdev exposes acceleration/gyroscope data.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
index 9f2996b420..f4b095558b 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
@@ -19,34 +19,6 @@ void Shutdown();
class evdevDevice : public Core::Device
{
private:
- class Button : public Core::Device::Input
- {
- public:
- std::string GetName() const override;
- Button(u8 index, u16 code, libevdev* dev) : m_index(index), m_code(code), m_dev(dev) {}
- ControlState GetState() const override;
-
- private:
- const u8 m_index;
- const u16 m_code;
- libevdev* m_dev;
- };
-
- class Axis : public Core::Device::Input
- {
- public:
- std::string GetName() const override;
- Axis(u8 index, u16 code, bool upper, libevdev* dev);
- ControlState GetState() const override;
-
- private:
- const u16 m_code;
- const u8 m_index;
- int m_range;
- int m_base;
- libevdev* m_dev;
- };
-
class Effect : public Core::Device::Output
{
public: