kopia lustrzana https://gitlab.com/eliggett/wfview
Another try for buttons
rodzic
4fc37290e5
commit
63b8a356e8
|
@ -492,7 +492,7 @@ void usbController::runTimer()
|
||||||
0000000000000100 = button2
|
0000000000000100 = button2
|
||||||
0000000000000010 = button1
|
0000000000000010 = button1
|
||||||
*/
|
*/
|
||||||
quint16 tempButtons = (data[1] << 8) | (data[0] & 0xff);
|
quint16 tempButtons = (data[2] << 8) | (data[1] & 0xff);
|
||||||
|
|
||||||
if (buttons != tempButtons)
|
if (buttons != tempButtons)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue