Daniel Stone
99378b58db
kdrive/tslib: remove vendor-specific hacks
...
Parts of the KDrive merge accidentally contained a bunch of
vendor-specific hacks; sorry.
2006-12-06 23:24:24 +02:00
Daniel Stone
f2903c12bb
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
...
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-06 23:24:23 +02:00
Daniel Stone
738d2e8817
kdrive: move bell ringing into an OS function
...
Move the bell into an OS function, and use that if it's declared; else,
fall back to using the driver's function.
Remove the Linux keyboard bell function; just move it into the OS layer.
Use named initialisers when converting the old structures, and eliminate
unused functions.
2006-10-29 03:48:02 +03:00
Daniel Stone
57f98e2b72
kdrive/tslib: port to new absolute API, remove debugging
...
Port to new absolute device (not touchscreen) API, and remove some
leftover debugging.
2006-10-23 02:55:41 +03:00
Daniel Stone
a6dc629052
kdrive/os: add KdOsAddInputDrivers
...
Add KdOsAddInputDrivers, which adds all relevant input drivers.
Could possibly be refactored to KdAddInputDrivers, which called through
OsFuncs to a new function, if it existed.
2006-10-23 02:54:59 +03:00
Daniel Stone
89d272bb18
[PATCH] kdrive/linux keyboard: remove more debugging spew
2006-08-29 15:18:25 +03:00
Daniel Stone
bd6f539ff9
[PATCH] kdrive/linux keyboard: silence excessive debugging noise
2006-08-29 15:18:23 +03:00
Daniel Stone
4be9abb850
kdrive: remove ddx_DEPENDENCIES
...
Remove foo_DEPENDENCIES as they weren't guaranteed to just be libs,
and loader arguments (-lfoo, -Lfoo) might've crept in.
2006-08-09 07:20:16 +03:00
Daniel Stone
4ea475924c
re-add OpenedHand copyright
...
Ae-add OpenedHand copyright, accidentally dropped in KDrive new world
order patch. Sorry guys.
2006-07-25 20:00:48 +03:00
Daniel Stone
02d0910511
new KDrive input world order
...
Convert KDrive to GPE/GKE interface.
Add first-class drivers and enumerate every device separately through
Xi, instead of lamely attempting to aggregate them.
Add XKB support to the Linux keyboard driver.
Add 'thumb button' support to the tslib driver.
Rejig InitInput, so each DDX has to add a list of drivers it supports.
Support NewInputDeviceRequest, et al.
2006-07-21 15:19:51 -04:00
Alan Coopersmith
b46d6a44fa
Make Xephyr build on Solaris:
...
Add #include <sys/file.h> on Solaris for FNONBLOCK/FASYNC definitions
hw/kdriver/linux/Makefile.am Move agp.c & agp.h to KDRIVE_HW_SOURCES since
they're not needed for Xephyr-only builds
Add -lrt to XEPHYR_LIBS if needed to get nanosleep().
2006-05-03 23:45:16 +00:00
Keith Packard
8987b2c1ef
Make more extensions optional in build (for kdrive). Fix kdrive build for
...
actual hardware. Fix kdrive pointer signed/unsigned types. Add
kdrive-required YX rotation functions. Replace rgb text file loading
with static rgb color table.
2006-02-16 07:17:31 +00:00
Eric Anholt
5f45776ef3
Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screen
...
structure interpretations, and remove a bunch of unused junk from
kdrive-config.h. Xephyr almost works on my amd64.
2006-02-12 10:30:47 +00:00
Eric Anholt
efc3fab7f4
Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
...
without linux VT switching, fbdev, and vm86 support.
2006-02-10 07:52:05 +00:00
Adam Jackson
72817714a0
Remove Imakefiles.
2005-12-27 23:01:27 +00:00
Adam Jackson
7fd73d2953
Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.h
2005-12-27 08:29:50 +00:00
Matthew Allum
a668b6c11a
redo tslib
2005-06-23 16:34:07 +00:00
Matthew Allum
92b3775ae8
TSLib fixes. Add fullscreen support to ephyr
2005-06-09 16:22:27 +00:00
Keith Packard
aab9a8dd99
Add initial evdev framework
2005-02-09 03:56:35 +00:00
Keith Packard
db2c83551c
hw/kdrive/ati/radeon_composite.c Support linear filtering
...
Change how touch screens work -- make them just another 'mouse' device. Add
unfinished (and unused) code to accelerate tiled fills.
2005-02-08 22:43:54 +00:00
Phil Blundell
2620676306
Patch from Florian Boor <florian.boor@kernelconcepts.de>:
...
Check return value from ts_config. (TslibInit): Likewise.
2004-12-01 19:43:29 +00:00
Phil Blundell
636a9e7868
Don't leave stale pointers hanging around after ts_close(). (TslibFini):
...
Likewise.
2004-11-13 18:03:16 +00:00
Phil Blundell
fd594b0559
Call ts_read multiple times, to avoid events getting stuck in the pipeline.
2004-07-02 21:30:00 +00:00
Phil Blundell
6741fadc52
New conditional. (REQUIRED_MODULES): Demand xcalibrateext if building
...
XCalibrate.
New file.
Add xcalibrate.c.
Read raw events if requested.
2004-06-02 20:49:50 +00:00
Keith Packard
f52a4d472d
Follow GLX in setting ARGB visual nplanes to 24.
...
Retry current mouse protocol when sync is lost
2004-05-13 21:25:51 +00:00
Jaymz Julian
bd20c8d340
Polling input mode for the kdrive os layer. And a moose!
2004-02-05 09:09:51 +00:00
Eric Anholt
7abbcce422
- Add PCI information (device/vendor id, bus location) to KdCardAttr to
...
help with ati, and future DRM drivers.
- Add new "ati" kdrive driver. It has ancestry in the r128 driver from
andersca, but took a detour through being the WIP SiS 300 driver on the
way. It supports Radeons (tested on QD VIVO and 7500) and Rage 128.
Current limitations include that it requires depth 16 and that the
other Rage 128 PCI IDs aren't included yet.
2003-11-19 08:32:38 +00:00
Keith Packard
318d525bf2
Have the composite extension tell the damage extension about clients which
...
have redirected subwindows in manual mode. Those clients are marked
Critical and given a significant scheduling boost whenever they receive
a damage notify event. This dramatically improves update frequency.
If the kernel reported a large number of keys, readKernelMapping would walk
off the end of the kdKeysym array.
Fix usage of _IOWR; the 'size' argument is actually a datatype.
2003-11-13 09:14:29 +00:00
Eric Anholt
e9904cefa3
Fix Makefile.am's to include header files needed for distcheck. Remove
...
-Werror default and add --enable-werror switch to add it back.
2003-11-11 05:46:15 +00:00
Phil Blundell
d694b44259
Avoid ugly shell error when libXdmcp isn't present.
...
New functions. (TsInit): Register them.
2003-11-08 18:51:59 +00:00
Keith Packard
1280f79054
Ok, Composite extension is semi-working; when no-one asks for redirection,
...
the server seems to act as before. With RedirectSubwindows (root,
automatic), the server looks just like a regular X server. Now to go
rewrite the (currently lame) compositing manager to get some real
action on the screen.
Some of the fixes here are to make valgrind quiet with various ioctls used
by kdrive/linux.
Also fixed a bug where fbdev initialization was out of order in fbdev.c and
smi.c
2003-11-07 23:29:29 +00:00
Phil Blundell
d319a0a610
Fix warnings.
2003-11-07 23:00:06 +00:00
Matthew Allum
598c5d549a
tslib improvements
2003-11-06 14:01:46 +00:00
Keith Packard
5378236aa6
merge xfixes_2_branch back to HEAD
2003-11-02 19:56:10 +00:00
Phil Blundell
9e94665cf9
try /dev/misc/apm_bios if /dev/apm_bios doesn't exist
2003-10-28 22:28:33 +00:00
Keith Packard
777f31cd0b
-Wall fixes. Add klinux.h to export function declarations
2003-10-14 05:05:28 +00:00
Phil Blundell
f3d8476ced
few more fixes for h3600 ts
2003-10-04 02:56:54 +00:00
Keith Packard
aae3e6dcb3
configure.ac Makefile.am os/oscolor.c Xext/saver.c Xext/Makefile.am
...
hw/kdrive/linux/ts.c hw/kdrive/src/Makefile.am hw/kdrive/src/kdrive.h
hw/kdrive/src/kinput.c hw/kdrive/src/kmap.c Autodetect VM86 (for vesa),
AGPGART, APM, MTRR, tslib and handhelds.org touch screen. Add
USE_RGB_BUILTIN and code for fileless RGB database. Add
MIT-SCREEN-SAVER
2003-10-04 02:43:16 +00:00
Keith Packard
5a21f4f4d0
Add XDM cookies. Fix up support for pkgconfig X bits
2003-10-01 06:43:50 +00:00
Matthew Allum
a42e31b28c
Fixed tslib driver to handle VT switches
2003-09-30 22:14:59 +00:00
Matthew Allum
e8c0229647
Added --enable-tslib configure option
2003-09-30 20:15:14 +00:00
Keith Packard
a42384e935
Use other freedesktop.org packages to build the server
2003-09-29 01:42:40 +00:00
Keith Packard
269b9dac5a
Get Xvesa building
2003-09-11 05:12:51 +00:00
Keith Packard
0d775576b9
Add Makefile.am
2003-09-11 03:26:03 +00:00
Keith Packard
ef8977a30c
More build fixes
2003-09-11 03:23:13 +00:00
Mike A. Harris
8bc8fd8678
POSIX sigaction cleanups - removed act.sa_restorer as it's not in POSIX and
...
is not portable
2003-09-11 02:02:54 +00:00
Anders Carlsson
514ab46ce3
Start autoifying everything.
2003-09-11 00:47:36 +00:00
Keith Packard
283a7f32c4
Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add
...
-rawcoord option to not transform mice on rotate, fix mtrr to use
power-of-two size, add a few vesa options
2003-07-07 19:13:03 +00:00
Egbert Eich
870d0f8752
621. Let kbd driver test if Xserver is in suspend before handling any input
...
events (Egbert Eich).
620. Fixed agp version checking to accept minor versions >= the specified
number (Leif Delgass).
2002-12-12 18:29:05 +00:00
Keith Packard
3eaea6608b
Update ipaq-specific ts driver to match generic tslib version
2002-11-12 22:20:42 +00:00