Age | Commit message (Collapse) | Author | Files | Lines |
|
Also, move configInitialise to after OsInit, since the next commit will
make it use a timer.
|
|
Always chase a DeviceMotionNotify event with a DeviceValuator, which is
not required in the spec, but will silently break the lib if you don't
include.
|
|
Fix typo that resulted in inverted axes when using an absolute positioning
device that didn't report y, and thus relied on the previous value.
|
|
|
|
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
|
|
|
|
|
|
automake will not stop whining about the *.O files not being in normal library
name format, so just tell automake they are PROGRAMS so it builds them without
bitching.
|
|
Conflicts:
dix/events.c
dix/getevents.c
hw/xfree86/common/xf86Mode.c
hw/xfree86/dri/Makefile.am
hw/xfree86/os-support/drm/xf86drm.c
hw/xfree86/os-support/xf86drm.h
|
|
This ensures that all calls to FatalError() will shutdown the input devices.
|
|
Fixes Xdmx problems when the input device has been initialized
and the keyboard map has been destroyed.
|
|
Handle an argument of 0 in ffs(), instead of looping indefinitely.
Add an ffs prototype to dix.h, and add includes to ffs.c.
(cherry picked from 34164e551e4c3909322d50b09835ca4ac1d49d68 commit)
|
|
Whitespace police in full effect.
|
|
Reorganise the code logically, and put more comments in.
Clip valuators in proximity calls.
|
|
|
|
Dear SGI,
No.
Scant regards,
Daniel
|
|
Fix up prototypes for PrintChildren and PrintWindowTree in the dix.
Make miPrintRegion be unconditionally defined, and move the prototype into
regionstr.h.
Change a bunch of ScreenPtr pScreen = foo; to
ScreenPtr pScreen; pScreen = foo; in window.c, so we avoid unused variable
references (as inline REGION_* doesn't reference pScreen).
|
|
Add missing prototype for ffs, and include headers from ffs.c.
Move PostSyntheticMotion prototype to input.h.
|
|
|
|
|
|
Return BadMatch when an unsupported visual type is given, not BadValue --
this is correct according to the spec.
|
|
|
|
With Xinerama support built into the X server but not in use,
sprite.screen is NULL and yet the SyntheticMotion
macro would dereference it. Avoid that by just passing sprite.screen
to PostSyntheticMotion which can then dereference it when Xinerama is
enabled.
Also, define PostSyntheticMotion in dixevents.h and include dixevents.h in
getevents.c
|
|
instead of serverClient. Also don't use totalClientSize as it is not
initialized until after the first call to InitClient.
|
|
See http://people.freedesktop.org/~alanc/dtrace/ for more details
|
|
|
|
Add a generic 'ring the bell' function (console bell on Linux and BSD,
/dev/audio on Solaris), and add DDX functions for this. Make this the
core keyboard's bell.
Port Xvfb and Xnest to this.
Port XFree86 to this, with OS-specific hooks for Linux, BSD, and Solaris
taken from foo_io.c in the old layer.
|
|
Setting an empty keymap by default isn't wildly useful.
|
|
SetKeySymsMap does a copy here, so try not to leak them.
|
|
Make sure we put MORE_EVENTS in with the device id if there are, in fact,
more valuator events coming.
|
|
Ensure correct number of valuator events are returned, and that we always
increment events correctly.
|
|
Port KDrive, Xvfb, and Xnest, as well as the virtual core devices, to the
new motion history API. Make GetPointerEvents also update the history.
|
|
Add motion history support (sort of based on the XFree86 DDX's
implementation) to the DIX.
|
|
Use the correct type for time, and fix the mi prototype of EnqueueEvent.
|
|
Add untested first guess at what GetProximityEvents should look like.
|
|
Break out clipAxis, clipValuators, and getValuatorEvents, into
separate functions, to be used by the proximity event code.
|
|
Mostly, this is just a cheesy hack to ensure that getevents.o gets
included when linking. Sigh.
|
|
Remove keymap copy from GetKeyboardValuatorEvents, as
SwitchCoreKeyboard now takes care of this for us.
Remove unused variable and function prototype.
Update comments to be as informative as possible.
|
|
Use the deviceid and control fields in DevicePresenceNotify since
the last push to inputproto to send a DPN whenever a control changes
on a device.
|
|
|
|
|
|
Update the DEVICE_ABS_CALIB stuff to include the new elements.
New DEVICE_ABS_AREA support.
dev->touchscreen becomes dev->absolute, with _CALIB and _AREA stuff in it.
Update xfree86 to compile with this, kdrive needs an update too.
|
|
Move the keymap copying to event processing time (in
ProcessInputEvents), instead of being at event enqueuing time.
Break SetCore{Pointer,Keyboard} out into separate functions.
Change mieqEnqueue to take a device pointer, that asks for the
_original_ device associated with this event.
|
|
Add DEVICE_ENABLE control, which allows runtime enabling and disabling
of specific devices.
|
|
Add devices in forward order with the normal linked list convention.
Previously, AddInputDevice would add all the devices in reverse order to
off_devices, before they were added again in reverse order to devices with
EnableDevice.
This just makes both work in forward order, which provides the ordering as
you'd expect when hotplugging devices (i.e. adds them to the head, not the
tail).
|
|
Move GKE and GPE to a separate file, to help stem the events.c explosion.
Mark GKE/GKVE/GPE as _X_EXPORT.
|
|
|
|
input-hotplug
|
|
|
|
Take a first_valuator parameter, which specifies the first valuator.
|