From 1180c231a697297f468020a56db236ef795101e5 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 8 Nov 2019 18:23:22 -0600 Subject: InputCommon: Detect when evdev exposes acceleration/gyroscope data. --- .../InputCommon/ControllerInterface/evdev/evdev.h | 28 ---------------------- 1 file changed, 28 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h') 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: -- cgit v1.2.3