Convert to using int32_t fixed point values on the wire.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-04-19 22:12:11 +10:00
parent 129ac9a914
commit 54716fd3db
6 changed files with 32 additions and 36 deletions

View File

@@ -28,6 +28,8 @@
#include "input.h"
#include "events.h"
#define FP1616(integral, frac) (integral * (1 << 16) + frac * (1 << 16))
_X_INTERNAL int EventToCore(InternalEvent *event, xEvent *core);
_X_INTERNAL int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
_X_INTERNAL int EventToXI2(InternalEvent *ev, xEvent **xi);