Open jurassicjordan opened 1 year ago
Find this function in HidJoystick.h:
byte getButtons() {
return m_button1.isLow() | m_button2.isLow() << 1 | m_button3.isLow() << 2 | m_button4.isLow() << 3;
}
Replace with
byte getButtons() {
return m_button1.isHigh() | m_button2.isHigh() << 1 | m_button3.isHigh() << 2 | m_button4.isHigh() << 3;
}
buttons appear as being pressed when released and released when pressed