diff --git a/ControllerUSB/include/IController.h b/ControllerUSB/include/IController.h index 5420b1c..6a47ed3 100644 --- a/ControllerUSB/include/IController.h +++ b/ControllerUSB/include/IController.h @@ -17,10 +17,6 @@ protected: std::unique_ptr m_device; public: -#ifdef __APPLET__ - uint8_t m_inputData[64]; - bool m_UpdateCalled = false; -#endif IController(std::unique_ptr &&interface) : m_device(std::move(interface)) { } diff --git a/ControllerUSB/source/Controllers/Dualshock4Controller.cpp b/ControllerUSB/source/Controllers/Dualshock4Controller.cpp index a333236..f95da65 100644 --- a/ControllerUSB/source/Controllers/Dualshock4Controller.cpp +++ b/ControllerUSB/source/Controllers/Dualshock4Controller.cpp @@ -122,12 +122,6 @@ Result Dualshock4Controller::GetInput() if (R_FAILED(rc)) return rc; -#ifdef __APPLET__ - for (int i = 0; i != 64; ++i) - m_inputData[i] = input_bytes[i]; - m_UpdateCalled = true; -#endif - if (input_bytes[0] == 0x01) { m_buttonData = *reinterpret_cast(input_bytes);