diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-30 16:05:46 -0600 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-30 16:05:46 -0600 |
commit | ebdc8ce5c108dc3b6b0004e7c7939d1a5bef8676 (patch) | |
tree | c57b62a810836dd460009e97a3b3a2c724022809 /hw/dmx/dmxinput.h | |
parent | 3c7413e0c2f87e154aa8aa4a83bd585a6d1091e8 (diff) |
Checkpoint DMX updates: things are working much better now, but still not 100% right.
Use new dmxCoreMotion2() function which enqueues motion events with
GetPointerEvents()/mieqEnqueue().
The clipAxis() code in GetPointerEvents() is causing some grief. The
limits seem to have always been (0,0) according to the original calls
to InitValuatorAxisStruct() in dmxinputinit.c.
Terrible hack for now: Call InitValuatorAxisStruct() with hard-coded max
values of 1280 (my screen width).
Diffstat (limited to 'hw/dmx/dmxinput.h')
-rw-r--r-- | hw/dmx/dmxinput.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxinput.h b/hw/dmx/dmxinput.h index 59fa823d3..3fb587086 100644 --- a/hw/dmx/dmxinput.h +++ b/hw/dmx/dmxinput.h @@ -154,7 +154,7 @@ typedef enum { extern void dmxGetGlobalPosition(int *x, int *y); extern DMXScreenInfo *dmxFindFirstScreen(int x, int y); -extern void dmxCoreMotion(int x, int y, int delta, +extern void dmxCoreMotion(DevicePtr pDev, int x, int y, int delta, DMXBlockType block); /* Support for dynamic addition of inputs. This functions is defined in |