summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2019-11-08 18:23:22 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2019-11-09 13:34:29 -0600
commit1180c231a697297f468020a56db236ef795101e5 (patch)
treeca014c368b1bbb8ad003c459385c337ab481a51f /Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
parentd8c62b5965df694fb5f93b617e356cae1f9441b7 (diff)
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: