1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-25 09:14:35 +00:00

Remove debug variables

This commit is contained in:
cathery 2019-12-04 20:31:18 +03:00
parent cdc8ed5d51
commit 7e4fea0d10
2 changed files with 0 additions and 10 deletions

View File

@ -17,10 +17,6 @@ protected:
std::unique_ptr<IUSBDevice> m_device; std::unique_ptr<IUSBDevice> m_device;
public: public:
#ifdef __APPLET__
uint8_t m_inputData[64];
bool m_UpdateCalled = false;
#endif
IController(std::unique_ptr<IUSBDevice> &&interface) : m_device(std::move(interface)) IController(std::unique_ptr<IUSBDevice> &&interface) : m_device(std::move(interface))
{ {
} }

View File

@ -122,12 +122,6 @@ Result Dualshock4Controller::GetInput()
if (R_FAILED(rc)) if (R_FAILED(rc))
return 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) if (input_bytes[0] == 0x01)
{ {
m_buttonData = *reinterpret_cast<Dualshock4USBButtonData *>(input_bytes); m_buttonData = *reinterpret_cast<Dualshock4USBButtonData *>(input_bytes);