Commit Graph

  • 1a8cea3dc4 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev Daniel Stone 2006-11-02 03:42:13 +02:00
  • ef01c2ef65 key: use os bell-ringing function Use the OS bell-ringing function to ding the bell. Daniel Stone 2006-11-02 03:41:48 +02:00
  • 036b457c1b support new DIX motion history API Use the DIX motion history if we have ABI version 1 or higher. Daniel Stone 2006-10-25 02:22:46 +03:00
  • 79eb7dcac8 Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug Daniel Stone 2006-10-17 11:32:39 +03:00
  • d7f686bfa3 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug Daniel Stone 2006-10-17 11:31:58 +03:00
  • ec09e0d55d brain: call xf86DeleteInput when removing device Call xf86DeleteInput from evdevRemoveDevice, so it also gets removed from xf86InputDevs in the DDX. Daniel Stone 2006-10-15 19:37:46 +03:00
  • 4c72fb7b76 Bump to 1.1.3 xf86-input-evdev-1.1.3 Adam Jackson 2006-10-13 18:25:10 -04:00
  • 77cbbc20b6 key: remove usage of OS keyboard layer for bell Right now, bell is a no-op. Daniel Stone 2006-10-08 16:14:12 +03:00
  • 5c5ef3fbd6 m68k support (thanks Geert Uytterhoeven for the inotify codes). Drew Parsons 2006-10-06 10:56:24 +10:00
  • a96b048e56 Make some debugging messages optional. Zephaniah E. Hull 2006-10-02 17:50:55 -04:00
  • d8ea40dc4a Use XORG_VERSION_CURRENT in the module version struct. Zephaniah E. Hull 2006-10-02 17:49:20 -04:00
  • ab65184d47 Fix compilation. Zephaniah E. Hull 2006-09-10 06:47:15 -04:00
  • 63f7edf786 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug Zephaniah E. Hull 2006-07-25 16:00:44 -04:00
  • 771eee9682 Replace the old two buffer approach to handling rel emulation of abs axes, should help with some of the reported jitter problems. Zephaniah E. Hull 2006-07-23 22:40:51 -04:00
  • e468150448 fix InitValuatorClassDeviceStruct call I don't know how the last parameter got there. Sorry. Daniel Stone 2006-07-21 14:38:12 -04:00
  • fa03de438e Move the axis to button map code back into the rel code. Zephaniah E. Hull 2006-07-19 23:06:23 -04:00
  • 7b91f9277a pass maxval correctly to xf86InitValuatorAxisDeviceStruct Pass a maxval of -1 (i.e., fill this in appropriately), rather than 0 (0). Daniel Stone 2006-07-19 19:45:27 -04:00
  • 7defeb0aef pass number of axes to InitValuatorClassDeviceStruct This is now required with the input-hotplug server. Daniel Stone 2006-07-19 19:43:08 -04:00
  • 1cb568c0a6 prune device list on DEVICE_CLOSE Remove a device from the device list when we get DEVICE_CLOSE. Daniel Stone 2006-07-19 19:41:54 -04:00
  • dc88668839 Split the New functions so that structs can be allocated and buttons detected, and then stuff that depends on _other_ areas. (Specificly, axes and btn have a circular dependency on which one has to run first, this solves that.) Zephaniah E. Hull 2006-07-13 11:59:25 -04:00
  • 090d43acf3 Update the .gitignore files to remove some more noise. Zephaniah E. Hull 2006-07-11 16:47:15 -04:00
  • 1b9a9599a4 Rename .cvsignore to .gitignore. Zephaniah E. Hull 2006-07-11 16:44:43 -04:00
  • f7a9c74fbc Grab the ChangeLog generation rule from libX11. Zephaniah E. Hull 2006-07-11 16:42:41 -04:00
  • 9cb7c3dbad (Hope this works.) Remove the ChangeLog file, as the entire contents can be gotten via 'git log'. Zephaniah E. Hull 2006-07-11 12:48:10 -04:00
  • eba5ea8d5a Set pInfo->fd to -1 when we close it in EvdevProc. Zephaniah E. Hull 2006-07-11 03:08:30 -04:00
  • 51d21a3694 remove XFree86LOADER usage Build evdevModuleData, et al, unconditionally. Daniel Stone 2006-07-09 18:08:50 +01:00
  • 4645247d45 MIPS support. (Joshua Kinard) xf86-video-impact-0_2_0 Adam Jackson 2006-06-22 21:16:44 +00:00
  • 57a7f28441 Fix an obvious bogon to avoid crashing on absolute axis setup. Adam Jackson 2006-06-02 19:39:52 +00:00
  • 1b03250797 Hopefully fix the bitops stuff to actually _work_. Zephaniah E. Hull 2006-05-15 22:47:23 +00:00
  • e9c60da89a Tweak credits and references. Change the longs to unsigned longs in the bitfields. Cleanup our includes. Stop pulling in asm/types.h and asm/bitops.h. Conditionally define the stuff that used to come from the above, including our own test_bit, set_bit and clear_bit. Change the longs to unsigned longs in the bitfields. Change the longs to unsigned longs in the bitfields. Use the bitop defines in evdev.h properly. Change the longs to unsigned longs in the bitfields. Change the longs to unsigned longs in the bitfields. Use the bitop defines in evdev.h properly. Change the longs to unsigned longs in the bitfields. Use the bitop defines in evdev.h properly. Add HPPA/HPPA64 entries. (Thanks to Fabio M. Di Nitto <fabbione@ubuntu.com>) Zephaniah E. Hull 2006-05-14 11:55:50 +00:00
  • eca922bd95 xf86-input-evdev v1.1.2 Bugzilla #6734 <https://bugs.freedesktop.org/show_bug.cgi=6734> Apply patch from Philip Langdale which causes us to make sure that O_NONBLOCK is set on the inotify device. xf86-input-evdev-1_1_2 Zephaniah E. Hull 2006-04-30 21:39:08 +00:00
  • f75aadfd62 xf86-input-evdev v1.1.1 xf86-input-evdev-1_1_1 Zephaniah E. Hull 2006-04-15 13:01:36 +00:00
  • cffc51e04a evdevAbsRec: Remove the scale bool, rename scale_x and scale_y to scale[2]. evdevAxesRec: Make btnMap an int array instead of a Card8 array. Make abs support and non-core stuff actually work. Relative emulation for abs mode is still a bit broken, but that's far less critical. How many buttons we've registered is configuration information, not an error message. Zephaniah E. Hull 2006-04-14 07:01:37 +00:00
  • c968040cde Remove a debugging message. Actually, well, _work_. Note, abs support still segfaults, I'll debug it after I've slept. But I should get it tomorrow. Zephaniah E. Hull 2006-04-09 00:41:42 +00:00
  • 880879015b Dropped the xorg-xserver 1.0.99.901 requirement. (Things were tweaked to mostly work for older servers again.) Close the device properly on read errer. Minimal inotify support, not ideal yet, but... Minimal inotify support, not ideal yet, but... Minimal inotify support, not ideal yet, but... Zephaniah E. Hull 2006-04-08 21:55:17 +00:00
  • c97fdb4449 Remove evdev_abs.c and evdev_rel.c. Added evdev_axes.c. Change the calls to refer to EvdevAxes instead of Abs and Rel. Include mipointer.h. (Fixes a compile error.) Remove an unused variable from EvdevReadInput. Removed evdev_abs.c and evdev_rel.c, added evdev_axes.c. Added count to rel and abs. Moved btnMap from rel to the new axes. Shuffle some includes, and include stdarg.h. Removed. New, a mix of rel and abs that should actually work in the rel case. Rearrange include order. btnMap was moved from being part of rel to being part of axes. Removed. Rearrange include order. Rearrange include order. NOTE: This commit has been compile tested, not run tested. I have some other changes to make before I can do more heavy testing. Zephaniah E. Hull 2006-04-08 17:23:06 +00:00
  • ad4d62e1d3 Unlibcwrap. Bump server version requirement. Bump to 1.1.0. Adam Jackson 2006-04-07 17:30:27 +00:00
  • e9a6f6d1a0 Fix the fd pointer leak reported by primer. (Not the same patch.) Disable the undocumented xkb guts options in the key driver. (Requested by Daniel Stone.) Zephaniah E. Hull 2006-03-31 18:11:52 +00:00
  • 05b56eeb5c Switch from my own globbing function to fnmatch. Detect keys numbered higher then buttons. Remove the (depreciated since long before xkb support was added to evdev) XkbKeymap option. Zephaniah E. Hull 2006-03-16 13:09:19 +00:00
  • a3149dc44a Update to include all the new device matching options. Zephaniah E. Hull 2006-03-16 13:05:04 +00:00
  • 9972f2b1c7 Don't leave keys in the down state when we get turned off. (VT switching, getting unplugged, that sort of stuff.) Zephaniah E. Hull 2006-02-27 13:22:35 +00:00
  • 94cb4aa1f8 Better error reporting if the read fails. Work properly if we're defining entirely by capability maps. Zephaniah E. Hull 2006-02-27 10:48:40 +00:00
  • 47482dad76 Compile with -Wall now. Add evdev.h to the sources so that make distcheck gets it. Bugzilla #5943 <https://bugs.freedesktop.org/show_bug.cgi=5943> Make sure we include errno.h. Reduce EVDEV_MAXBUTTONS to 96. Split up evdevStateRec into a struct with pointers to new structs for btn, abs, rel, and key. New structure type for handling the device capability bitmaps. Add device bits and struct input_id to evdevDeviceRec. Add matching device bits, struct input_id, and pass number to evdevDriverRec. Prototype for evdevGetBits from evdev_brain.c. Conversion for the evdevStateRec split. Remove the errno.h include, it's in evdev.h for now. Move the bit getting from the drivers to here, into evdevDeviceRec. Fix a rare case of fd leakage. Add several new (and somewhat ugly) device matching options: <map>Bits: Where map is one of ev, key, rel, abs, msc, led, snd, or ff. In the format of '+0 +3 -1-2 ~5-10', requires bits 0 and 3 be set, bits 1 and 2 to not be set, and at least one bit in the range of 5 to 10 be set. bustype, vendor, product, and version: Simple integer options for matching the struct device_id fields, must be 0 (the default) or the exact value you wish to match against. pass: Bounded to 0-3, devices are matched to the first matching entry found, order for multiple matching entries in the same pass is undefined, but it starts with pass 0 and goes to pass 3. Adaptation for the evdevStateRec split and the change in capability bitmap handling. Add evdevGetBits to fill the new evdevBitsRec struct type. Lots of somewhat ugly code for matching by capability bits. Split out of evdevRescanDevices to smaller handling functions. The new design should be better if I decide to handle arbitrary Device fields again. Adaptation for the evdevStateRec split and the change in capability bitmap handling. Handle all buttons, no button compression at this time, however we reorder things so that BTN_MOUSE comes before BTN_MISC, somewhat evily. Support for the new btn->state[] array of int pointers. Adaptation for the evdevStateRec split and the change in capability bitmap handling. Adaptation for the evdevStateRec split and the change in capability bitmap handling. I really hope I didn't miss any changes. Zephaniah E. Hull 2006-02-24 13:44:56 +00:00
  • 739a0f51b0 include errno.h to make it compile. Lars Knoll 2006-02-24 12:14:32 +00:00
  • 763edd3730 Bugzilla #5950 <https://bugs.freedesktop.org/show_bug.cgi=5950> Possible (maybe) fix for bug #5950. Though, I'm not convinced and still don't see how this bug could be happening, especially if this doesn't do it. Zephaniah E. Hull 2006-02-20 09:18:56 +00:00
  • c6dbf89d9d Add bell support. Zephaniah E. Hull 2006-02-19 19:11:04 +00:00
  • 28ee08ef08 Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914> Stupid little bug, properly handle wheels on 3 button mice. Zephaniah E. Hull 2006-02-17 01:17:41 +00:00
  • e7d4e6b11e Bugzilla #5696 <https://bugs.freedesktop.org/show_bug.cgi?id=5696> Slightly updated version of the patch listed. Basicly a rewrite of the driver, with a few pieces of the old. XKB support, proper device matching, basic absolute pointer support. Lots more, will require some user config changes. Zephaniah E. Hull 2006-02-14 14:57:37 +00:00
  • edbe44da9a Add evdev manpage gravity 2006-01-09 05:19:26 +00:00
  • 6808674886 Update package version for X11R7 release. Kevin E Martin 2005-12-21 02:29:56 +00:00
  • 5ae3abc1b3 Stub COPYING files Adam Jackson 2005-12-19 16:25:50 +00:00
  • c58133445e Update package version number for final X11R7 release candidate. Kevin E Martin 2005-12-15 00:24:14 +00:00
  • b82e57a082 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. Kevin E Martin 2005-12-06 22:48:29 +00:00
  • f56f4462f6 Update package version number for X11R7 RC3 release. Kevin E Martin 2005-12-03 05:49:30 +00:00
  • 36fc29d010 Remove extraneous AC_MSG_RESULT. Kevin E Martin 2005-12-02 02:16:05 +00:00
  • 27690c112a Only build dlloader modules by default. Adam Jackson 2005-11-29 23:29:55 +00:00
  • a8ca6bc2d4 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) Alan Coopersmith 2005-11-28 22:04:06 +00:00
  • 753e3320af Add .cvsignores for drivers. Eric Anholt 2005-11-21 10:49:03 +00:00
  • abcef33758 Update package version number for X11R7 RC2 release. Kevin E Martin 2005-11-09 21:15:11 +00:00
  • e7fa7d71e5 Update pkgcheck depedencies to work with separate build roots. Kevin E Martin 2005-11-01 15:08:49 +00:00
  • f8c131fff1 Update package version number for RC1 release. Kevin E Martin 2005-10-19 02:48:00 +00:00
  • b543623997 Do the following to make the drivers pass distcheck: - Only define EXTRA_DIST when there are actually man pages to be processed - Add missing man pages to keyboard and ati drivers EXTRA_DIST Kevin E Martin 2005-10-18 15:46:36 +00:00
  • efcacda000 Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro substitutions to work better with BSD make Alan Coopersmith 2005-10-18 00:01:51 +00:00
  • 1d4cfdd373 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead of indirectly Adam Jackson 2005-10-17 22:57:27 +00:00
  • ae0f105709 Use sed & cpp to substitute variables in driver man pages Alan Coopersmith 2005-10-17 00:08:55 +00:00
  • ce0cafa115 Bug #3913: Suppress kernel-generated repeat events for chording keys. Adam Jackson 2005-09-23 22:32:23 +00:00
  • 7d5839eb99 Update autogen.sh to one that does objdir != srcdir. Daniel Stone 2005-08-18 09:03:38 +00:00
  • 88befc6f4b Don\'t lose existing CFLAGS in all the input drivers and some of the video drivers Søren Sandmann Pedersen 2005-08-10 14:07:22 +00:00
  • 8c4fcc1acd Various changes preparing packages for RC0: - Verify and update package version numbers as needed - Implement versioning scheme - Change bug address to point to bugzilla bug entry form - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) - Fix makedepend to use pkgconfig and pass distcheck - Update build script to build macros first - Update modular Xorg version Kevin E Martin 2005-07-29 21:22:40 +00:00
  • b446f59cc5 Yet more 2.4 build fixes, this time for BTN_TASK. Adam Jackson 2005-07-28 01:48:14 +00:00
  • f745d59b6c Handle BTN_TASK too (#3859). Kristian Høgsberg 2005-07-25 16:07:34 +00:00
  • 0656b4a517 Make the module dir configurable Kevin E Martin 2005-07-13 20:03:21 +00:00
  • d1dd2dfe4d Update all input drivers to pass distcheck Kevin E Martin 2005-07-13 02:20:59 +00:00
  • 29621860ab Build skeletons for input drivers. Should basically work. Adam Jackson 2005-07-12 06:15:08 +00:00
  • 74021126a6 Prep input drivers for modularizing by adding guarded #include "config.h" Adam Jackson 2005-07-11 02:37:59 +00:00
  • 672f8cd661 Add some build compatibility for 2.6 linux systems with 2.4 kernel headers installed. Allow the use of evdev for mice on 2.4 kernels. Adam Jackson 2005-07-03 00:06:01 +00:00
  • 0145e216a7 Bug #3626: _X_EXPORT tags for video and input drivers. Adam Jackson 2005-06-25 21:17:01 +00:00
  • df1b2f476d Bug #968: Grab the event device used by the evdev driver to avoid weird issues when input goes to multiple places. Restrict building the evdev driver to 2.6 kernels since EVIOCGRAB didn't exist in 2.4. Adam Jackson 2005-05-11 00:13:15 +00:00
  • 319e1b28a3 Handle horizontal wheel events and move mapping of extra buttons up so they don't overlap the wheel buttons. Patch from Alan Swanson (#968). Kristian Høgsberg 2005-01-18 20:18:09 +00:00
  • 4ada85ef11 Build fixes for static server. Adam Jackson 2005-01-14 17:14:07 +00:00
  • bdd94f37b3 Add new evdev input driver. This driver uses the linux input layer directly and can handle both mice and keyboards. Convert this to UTF-8 again. The ChangeLog should be kept in UTF-8. Kristian Høgsberg 2005-01-12 20:15:52 +00:00