aboutsummaryrefslogtreecommitdiff
path: root/src/evdev_key.c
Commit message (Collapse)AuthorAge
* Options: Accept differently-named optionsDaniel Stone2007-08-07
| | | | | Take some differently-named options for device and the XKB options. These should really be better-handled, but eh.
* evdev.c:Zephaniah E. Hull2007-06-11
| | | | | | | | | | | | | | | | | | | | | Set and use the X mode control, letting XInput see it properly. Kill some cruft. evdev.h: Set and use the X mode control, letting XInput see it properly. evdev_axes.c: Set and use the X mode control, letting XInput see it properly. evdev_key.c: Remove some cruft, the bell func can be NULL now, so do so. Don't bother looking for keys above 0xF7 until we can actually do something with them.
* Update the copyright notices for me to include 2007.Zephaniah E. Hull2007-06-05
| | | | Finish merging copyright notices. (evdev_key.c was missed.)
* Kill some more unused bits.Zephaniah E. Hull2007-04-24
|
* Key: Remove duplicate of keycode 0x6f, remove index 0xf8 to get aPeter Hutterer2007-03-25
| | | | maxKeyCode of 255. This way keycode range is in sync with core keyboard range.
* Key: Force maximum keycode to be 255Daniel Stone2007-03-21
| | | | | | Even though we don't have keycodes for anything above 127, make sure our map always covers up to 255. This ensures that the keycode range never changes.
* Fix a bug where we potentially wrote garbage events when LEDs change.root2007-01-13
| | | | Support setting keyboard repeat rate/period.
* No more call to xf86OSRingBell in any cases,root2007-01-11
| | | | maybe do some conditional stuff later.
* key: use os bell-ringing functionDaniel Stone2006-11-02
| | | | Use the OS bell-ringing function to ding the bell.
* key: remove usage of OS keyboard layer for bellDaniel Stone2006-10-08
| | | | Right now, bell is a no-op.
* Tweak credits and references.Zephaniah E. Hull2006-05-14
| | | | | | | | | | | | | | | | | | 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>)
* Remove evdev_abs.c and evdev_rel.c. Added evdev_axes.c.Zephaniah E. Hull2006-04-08
| | | | | | | | | | | | | | | | | | 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.
* Unlibcwrap. Bump server version requirement. Bump to 1.1.0.evdev-1_1_0Adam Jackson2006-04-07
|
* Fix the fd pointer leak reported by primer. (Not the same patch.)Zephaniah E. Hull2006-03-31
| | | | | Disable the undocumented xkb guts options in the key driver. (Requested by Daniel Stone.)
* Switch from my own globbing function to fnmatch.Zephaniah E. Hull2006-03-16
| | | | | Detect keys numbered higher then buttons. Remove the (depreciated since long before xkb support was added to evdev) XkbKeymap option.
* Don't leave keys in the down state when we get turned off. (VT switching,Zephaniah E. Hull2006-02-27
| | | | getting unplugged, that sort of stuff.)
* Compile with -Wall now. Add evdev.h to the sources so that make distcheckZephaniah E. Hull2006-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add bell support.Zephaniah E. Hull2006-02-19
|
* Bugzilla #5696 <https://bugs.freedesktop.org/show_bug.cgi?id=5696> SlightlyZephaniah E. Hull2006-02-14
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.