[Linux] Correctly set evdev packet number
This commit is contained in:
parent
129fb81224
commit
21deea87d8
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ namespace OpenTK.Platform.Linux
|
|||
int packet =
|
||||
((sec & 0x00ffffff) << 24) |
|
||||
Common.HidHelper.ScaleValue(msec, 0, 1000, 0, 255);
|
||||
js.State.SetPacketNumber(unchecked((int)e->Time.Seconds));
|
||||
js.State.SetPacketNumber(packet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue