Another try for buttons

smart-pointers
Phil Taylor 2023-02-07 20:59:53 +00:00
rodzic 4fc37290e5
commit 63b8a356e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -492,7 +492,7 @@ void usbController::runTimer()
0000000000000100 = button2
0000000000000010 = button1
*/
quint16 tempButtons = (data[1] << 8) | (data[0] & 0xff);
quint16 tempButtons = (data[2] << 8) | (data[1] & 0xff);
if (buttons != tempButtons)
{