[Linux] Correctly set evdev packet number

This commit is contained in:
thefiddler 2014-08-10 03:01:49 +02:00
parent 129fb81224
commit 21deea87d8

View file

@ -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);
}
}
}