mirror of
https://github.com/cathery/sys-con.git
synced 2024-12-25 00:13:52 +00:00
Remove debug variables
This commit is contained in:
parent
cdc8ed5d51
commit
7e4fea0d10
@ -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))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user