Commit Graph

131 Commits

Author SHA1 Message Date
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
Keith Packard
612e82053d Clean up touch screen hacks for controlling pointer on alternate screen 2002-11-05 05:28:34 +00:00
Keith Packard
358d887cbe Add support for ARM linux TS lib (disabled by default) in kdrive 2002-11-01 22:27:49 +00:00
Keith Packard
b5d1c53862 Add vtxx option to kdrive servers 2002-10-08 21:28:05 +00:00
Keith Packard
2698ee9f29 Prefer touchscreen to mouse 2002-08-15 18:07:57 +00:00
Keith Packard
fe477855d7 Fix for iPaq IOCTL changes 2002-08-02 16:30:50 +00:00
Keith Packard
cf49ce6f26 Allow both touchscreen and mouse at the same time 2002-08-02 16:15:02 +00:00
Keith Packard
88810cfc02 kdrive/linux/mouse.c: convert mouse data to signed values for compilers
with default unsigned chars
2001-12-20 16:47:30 +00:00
Keith Packard
4646a6c3b9 kdrive: work around ipaq touch screen compile problems 2001-12-07 02:19:04 +00:00
Keith Packard
54feb8a4c8 kdrive: missing registration for mouse input type 2001-12-07 02:18:19 +00:00
Keith Packard
636390fb9d kdrive: initialize all Linux mouse driver fields 2001-11-22 23:38:21 +00:00
Keith Packard
668c25a769 kdrive: fix ALTGR keyboard mappings 2001-11-08 10:26:24 +00:00
Keith Packard
e76c6b2aca kdrive/linux: update ps/2 mouse detection/configuration code from FreeBSD
bits
2001-11-08 09:35:08 +00:00
Keith Packard
6fafe3b092 kdrive: Open APM device r/w for kernel 2.4.14 2001-11-08 09:33:51 +00:00
Keith Packard
28fd5f7525 kdrive: add new auto-detecting and auto-switching mouse driver 2001-10-12 06:33:12 +00:00
Keith Packard
5f310d7f8b kdrive: restructure APM/VT switch support to reset keyboard state and flush
buffer on APM resume
2001-09-29 04:16:39 +00:00
David Dawes
f856b952ec 187. Add an MS mouse driver for KDrive (#4754, Juliusz Chroboczek). 2001-08-09 20:45:15 +00:00
Keith Packard
958c0374a6 kdrive: add apm support, fix MTRR unmapping bug 2001-07-24 21:26:17 +00:00
Keith Packard
562474091a Fix TOUCHSCREEN support in kdrive 2001-07-11 02:58:19 +00:00
Keith Packard
67cd53abfc Rework kdrive input fd handling, enable multiple simultaneous mice 2001-06-29 14:00:41 +00:00
Alan Hourihane
85d827f532 Add PCMCIA server for HP VGA Out PC Card and the Voyager VGA Card. Use on
the Compaq IPAQ. Use -listmodes to see supported modes. Hack the
    touchscreen driver to work as a mouse pad for the VGA screen. Fixup key
    bindings so xmodmap can remap IPAQ's buttons as mouse buttons.
2001-05-23 08:56:09 +00:00
Marc Aurele La France
dc383e8f77 317. glxinfo needs libGLU (Marc La France).
316. Rage128 fix to Cards database (Marc La France).
315. Minor fix to PCI resource overlap handling (Marc La France).
314. Loader code simplification and IA-64 cache flushes (Marc La France).
313. Workaround in the ATI driver for troublesome interaction between
    loader and compiler optimisation (Marc La France).
312. Warning fixes for `gcc -fno-builtin`, which appears to be the default
    on some systems (Marc La France).
more of #301, tags, warnings and build fixes.
2001-04-01 14:00:04 +00:00
Keith Packard
eb3da37564 Add files for Xmuu and i810 driver 2001-03-30 02:18:41 +00:00
Keith Packard
f39a62d122 Add Xmuu library to remove requirement for Xt/Xaw from most X utilities Add
i810 and Xv support to kdrive
2001-03-30 02:15:20 +00:00
Keith Packard
ec4916836c kdrive: dont try MTRR on non-x86, fix backspace mapping 2000-12-08 23:04:57 +00:00
Marc Aurele La France
d579bd5676 Static build fix and ident lines. 2000-10-10 14:05:48 +00:00
Keith Packard
fb8b58270f kdrive: support jgs new linux keysyms 2000-10-06 22:13:40 +00:00
Marc Aurele La France
367cab99ec 721. PCI chip ID updates to ATI driver (Marc La France).
720. Fix i810 driver for -probe and -configure (Marc La France).
719. Change message when default modes are deleted (Marc La France).
718. Fix Xinerama byte swapping bug (Marc La France).
717. IA-64 and Alpha fixes for pswrap, Mesa, DRI, Xpm, libX11, Xt, Xaw,
    Xmu, dps, Type1 fonts, cfb24, most output drivers, ELF loader, ramdac
    module, xf4bpp and xf86cfg (Marc La France).
716. Improve IA-64 support by removing a plethora of 32-bit'isms (Marc La
    France).
715. Default HasLinuxDoc to NO (Marc La France).
ident lines and warning fixes.
2000-09-26 15:57:04 +00:00
Keith Packard
94368c3b92 kdrive: Add iPAQ and Touch screen support 2000-09-26 04:31:23 +00:00
Keith Packard
2bbb90ebd9 Changes for PPC support under linux and a few overlay additions 2000-09-22 06:25:29 +00:00
Keith Packard
c97fb611dd Rework vesa driver for shadowing and multiple screen support. Allow enable
to fail and avoid crashing
2000-09-03 05:11:46 +00:00
Marc Aurele La France
f324486791 Ident lines 2000-08-28 02:43:14 +00:00
Keith Packard
83a388c96d Try to avoid hitting hardware during server reset when not active, add
KdPicture code
2000-08-26 00:24:38 +00:00
David Dawes
4b54f22b6a remove/disable standard RCS ident lines that are in some files some bindist
updates don't define noPanoramiXExtension when Xinerama is not enabled
    Add xfontsel to programs/Imakefile
2000-02-23 20:30:15 +00:00
Robin Cutshaw
30e35cb44b 3516. Jumbo Tiny-X patch with Itsy support (#3527, Keith Packard). 1999-12-30 03:03:21 +00:00