summaryrefslogtreecommitdiff
path: root/hw/kdrive/src
AgeCommit message (Collapse)AuthorFilesLines
2009-09-09kdrive: output meaningful error message for HAL devices.Peter Hutterer1-0/+8
kdrive ignores all devices from hal as they don't have the 'type' option set. Instead of "Unrecognised device identifier!" print out "Ignoring device from HAL." to indicate that the errors surrounding the device don't really matter. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-09-09kdrive: remove xkb member from KdKeyboardInfoPeter Hutterer2-2/+0
Wasn't being used by anyone. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-30include: untangle events.h from the SDK headers.Peter Hutterer1-0/+1
InternalEvents shouldn't be used anywhere outside the X server itself. Split up into events.h for opaque typedefs for the events needed by various headers and eventstr.h for the actual struct definitions. eventstr.h must only be included by code that requires internal events and is not part of the SDK. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-18input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7Peter Hutterer1-2/+43
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-11KDrive: Warning fixesDaniel Stone2-17/+14
xEvent vs. InternalEvent confusion still reigns though. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-06-11KDrive: Warning fixes and cleanupsDaniel Stone5-298/+2
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-06-10kdrive: undef PSEUDO8Adam Jackson1-14/+0
Whatever that was, it no longer is.
2009-06-10kdrive: Remove a lie about PCMCIA support.Adam Jackson1-9/+0
2009-06-03kdrive: add protocol mouse optionOlivier Blin2-0/+4
kdrive probes a lot of PS/2 protocols for the mouse device, which makes the mouse unusable for some seconds after X startup. This new "protocol" option allows forcing the mouse protocol. It can be used this way: Xfbdev -mouse mouse,,protocol=ps/2 -keybd keyboard Signed-off-by: Olivier Blin <blino@mandriva.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-16kdrive: set Activate/Deactivate grab for input devices (#21591)Peter Hutterer1-0/+4
X.Org Bug 21591 <http://bugs.freedesktop.org/show_bug.cgi?id=21591>
2009-04-29Fix most remaining deprecated resource lookups.Eamon Walsh1-1/+2
Callsites updated to use dixLookupResourceBy{Type,Class}. TODO: Audit access modes to make sure they reflect the usage.
2009-04-17[kdrive] Fix rotation of pointerDavid Jander1-2/+2
Rotation matrix for pointer coordinates was incomplete and pointers with absolute coordinates did not work correctly in xserver (kdrive) when the sceen was rotated other than by 0 degrees. Signed-off-by: David Jander <david.jander@protonic.nl> Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-04-09Lift fatal signal handlers from DDX'es up to a common DIX implementationAlan Coopersmith1-30/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-03DPMS: Remove unused DPMSGet()Adam Jackson1-6/+0
2009-04-03kdrive: s/KdSaveString/strdup/gAdam Jackson4-22/+9
This isn't even funny anymore.
2009-02-16kdrive: Nuke dead AGP and VGA code. (#19921)Adam Jackson3-468/+0
2009-01-27Convert kdrive libraries to libtool convenience libraries.Paulo Cesar Pereira de Andrade1-3/+3
Also correct a link failure due to unresolved symbols. This is arguably a libtool/ranlib/ld bug, that "may" be corrected by linking all convenience libraries in a single one. But in this case, it was preferred to just add a linker option to Xfake_LDFLAGS, to force linkage of all libraries. This corrects #19725.
2009-01-22Input: Remove core keysyms from KeyClassRecDaniel Stone1-14/+1
Instead of always keeping two copies of the keymap, only generate the core keymap from the XKB keymap when we really need to, and use the XKB keymap as the canonical keymap. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-22Input: Remove modifierMap from coreDaniel Stone2-83/+0
We already have modmap (in the exact same format!) in XKB, so just use that all the time, instead of duplicating the information. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-22Input: Remove state from KeyClassRecDaniel Stone1-1/+2
We already have state fully stored within XKB, so instead of duplicating it, just generate the values to send to clients when required. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-22Input: Overhaul keyboard initialisation processDaniel Stone1-11/+8
XkbInitKeyboardDeviceStruct is now the only valid keyboard initialisation: all the details are hidden behind here. This now makes it impossible to supply a core keymap at startup. If dev->key is valid, dev->key->xkbInfo->desc is also valid. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-22XKB: Make XKB mandatoryDaniel Stone2-94/+13
No more #ifdef XKB, because you can't disable the build, and no more noXkbExtension either. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-12-12Remove #define NEED_EVENTS and NEED_REPLIESPeter Hutterer1-1/+0
A grep on xorg/* revealed there's no consumer of this define. Quote Alan Coopersmith: "The consumer was in past versions of the headers now located in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h, all the event definitions were only available if NEED_EVENTS were defined, and all the reply definitions required NEED_REPLIES. Looks like Xproto.h dropped them by X11R6.3, which didn't have the #ifdef's anymore, so these are truly ancient now." Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
2008-10-14kdrive: Hardcode a different wrong value for number of mouse buttonsAdam Jackson1-1/+1
This should really come from the input driver directly, but, kdrive.
2008-10-10kdrive: fix dixflags so they're always defined before enqueuing events #17734Peter Hutterer1-6/+10
If absolute events were posted, dixflags got set conditionally on whether the valuators are different from the last posted set of values. If dixflags are undefined however, the DIX interprets them as relative valuators. Fix this by making sure defining dixflags is always defined. X.Org Bug 17724 <http://bugs.freedesktop.org/show_bug.cgi?id=17734>
2008-10-08s/kdDontZap/kdAllowZap/Adam Jackson1-1/+1
2008-10-08Update docs to reflect new DontZap defaultDaniel Stone1-1/+1
2008-10-07-retro enables zappingAdam Jackson1-1/+1
2008-10-08Input: Make DontZap the defaultDaniel Stone2-5/+5
If you need to bail out the server, use Ctrl-Alt-Fx, or enable zapping if it bothers you that much. If Ctrl-Alt-Fx is broken, nag me until it's permanently fixed.
2008-10-06xalloc+memset(0) -> xcallocAdam Jackson1-2/+1
2008-10-06xalloc+bzero -> xcallocAdam Jackson2-7/+3
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky2-4/+6
TODO: static indices can be made just an int; some indices can be combined.
2008-08-13Eviscerate save-under support.Adam Jackson1-13/+0
Use a compositing manager already. Plus I really wanted to use 'eviscerate' in a commit message.
2008-08-05Redefine WindowTable as a fixed arrayTomas Carnecky2-3/+1
Instead of xalloc'ing it every server generation. The array is always the same size (MAXSCREENS), anyway.
2008-07-23Unifdef VXWORKS.Adam Jackson2-17/+0
2008-07-17Remove dead code, useless #defines, et alDaniel Stone1-0/+5
2008-07-17KDrive: Delete rafts of unused codeDaniel Stone9-1106/+0
Most of this stuff was gone with the last real hardware drivers that used it. Au revoir.
2008-07-16OS/KDrive/XFree86: Sanitise colour initialisationDaniel Stone1-881/+0
OsInitColors always just returned TRUE, so just remove calls to it and insane special-case logic. Remove unused kcolor.c implementation, and merge oscolor.h into oscolor.c since it was the only user. Remove open-coded strncasecmp in oscolor.c. Since we no longer need to call OsInitColors after reading the config file, just call PostConfigInit() from one place, and move PM handling to one place so we can install the signal handlers earlier.
2008-07-13Xi: remove ChangeDeviceControl for CoreCtl.Peter Hutterer1-0/+1
If you want to set a device to core, attach it to a master device.
2008-07-02Remove KdOffscreenMarkUsed() as all its callers are gone.Chris Ball2-26/+0
2008-07-01Auf wiedersehen, KAA.Adam Jackson7-2405/+0
2008-06-23kdrive: fix building with --disable-xv (bug#16488)Julien Cristau1-2/+7
2008-06-11kdrive: fix wrong use of &, should be | instead.Peter Hutterer1-1/+1
Fallout from 26e7e69ab893d1f2b35213250ada40ec90944f62
2008-06-02kdrive: don't post motion event if there was no motion. #16179Peter Hutterer1-6/+10
Based on the patch by Tomas Janousek. X.Org Bug 16179 <http://bugs.freedesktop.org/show_bug.cgi?id=16179>
2008-05-31kdrive: fix up callers to KdQueueEvent, need to pass xEvent, not EventListPtrPeter Hutterer1-3/+3
2008-05-26Merge branch 'master' into mpxPeter Hutterer1-2/+0
2008-05-25Remove GetMotionProc from ValuatorClassRec.Peter Hutterer1-1/+0
With the MD/SD device hierarchy we need control over the generation of the motion history as well as the conversion later before posting it to the client. So let's not let the drivers change it. No x.org driver currently uses it anyway, linuxwacom doesn't either so dumping it seems safe enough.
2008-05-21drop xprint remnants: InitGlobalsGeorge Sapountzis1-2/+0
2008-05-20Merge branch 'master' into mpxPeter Hutterer1-6/+0
Conflicts: Xext/xprint.c (removed in master) config/hal.c dix/main.c hw/kdrive/ati/ati_cursor.c (removed in master) hw/kdrive/i810/i810_cursor.c (removed in master) hw/xprint/ddxInit.c (removed in master) xkb/ddxLoad.c
2008-05-11kdrive: allow disabling CompositeJulien Cristau1-6/+0
KdInitOutput() used to enable Composite when it was disabled by default, but now this hack prevents ``-extension Composite'' from working. Remove it, as Composite is enabled by default anyway.