| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(Old configs don't.)
evdev.c:
Add EvdevParseMapToButton and EvdevParseMapToButtons to evdev_map_parsers.
Add EvdevParseMapOption to search through evdev_map_parsers.
Fix up EvdevTokenize to handle the evdev_option_token_t changes.
EvdevAxesNew0 after BtnNew0 instead of before now.
(This isn't the right fix.)
evdev.h:
EVDEV_MAXBUTTONS -> BTN_MAX.
Redid evdevBtnRec with the new mapping goodness.
Removed v_min and v_max from evdevAbsRec.
Reworked evdev_option_token_t, no union, no is_chain.
If it's a chain, it still has a string, but the chain pointer is set.
EvdevParseMapToButton, EvdevParseMapToButtons, and EvdevParseMapOption.
evdev_axes.c:
Kill off EvdevAxesMapButton, a variant lives in evdev_btn.c now.
Changes for the evdev_option_token_t changes.
Use EvdevParseMapOption instead of repeating the contents twice.
Disable EV_ABS_V_INVERT for the moment. (Better fix maybe needed.)
evdev_btn.c:
s/Ptr /Rec */g
EvdevMapButton and parser.
EvdevMapButtons and parser.
Nuke EvdevBtnCalcRemap as a whole.
Move everything but the alloc to New1 from New0.
New mapping code, same guts os the axes mapping code even.
|
| |
| |
| |
| |
| |
| | |
Make buttons mostly work again. (Short term fix.)
NOTE: Wheel to button remapping is still missing!
|
| |
| |
| |
| | |
Finish merging copyright notices. (evdev_key.c was missed.)
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
Conflicts:
src/evdev.h
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
evdev.h:
Switch to flags in the abs and rel structs.
Add the axes struct, and defines.
Rework the abs and rel structs, moving stuff to the axes struct and moving
everything to the new mapping handling.
Add the structs and function declarations for the new tokenization stuff,
parsing stuff, and mapping stuff.
evdev.c: Add EvdevTokenize, and the evdev_map_parsers list.
evdev_axes.c:
Basicly a full rewrite, big, messy.
We now use a completely different mapping setup for axes, and mapping to
buttons is currently missing.
However we now handle ABS_CALIB and ABS_AREA, including rotation in both
rel and abs modes.
evdev_btn.c:
Disable lots of code and break things horribly, we compile but we don't
work very well.
Fixing this is next on my todo list.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
NOTE: Someone needs to check for memory leaks, I'd be willing to bet
a fair bit that we've got tons in the mouse and xkb code, but.
|
| |
| |
| |
| |
| |
| | |
Fix the crash on device unplug.
NOTE: We still don't properly get rid of ourselves.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the non-functional 2.4 kernel compiling compatibility.
Remove the XInput 1.4+ SendCoreEvents/DontSendCoreEvents define replacements.
Remove evdevDriver, some stuff from evdevDevice, all users.
NOTE: This WILL BREAK all existing configurations.
NOTE: Device read failure segfaults, don't unplug stuff.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This branch is the great xserver input-hotplug rewrite, consider it unstable
but usable with the 'current' (as of this commit) git xserver.
(Once it's more done that is.)
NOTE: This branch will _not_ remain source or binary compatable with
pre-input-hotplug xservers, you have been warned.
|
| |
| |
| |
| |
| | |
This effectively stops the driver from hotplugging new devices. Devices have
to be added with the dbus hotplugging events.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
maxKeyCode of 255. This way keycode range is in sync with core keyboard range.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
this on the same manner.
|
| |
| |
| |
| |
| |
| | |
Do be able to correctly scale absolute inputs, the actual
screen size must be used as this changes when the screen
resizes.
|
| |
| |
| |
| |
| | |
differences between HID and X, pretend a middle button exists
whenever a right button exists.
|
| |
| |
| |
| | |
Support setting keyboard repeat rate/period.
|
| | |
|
| |
| |
| |
| | |
maybe do some conditional stuff later.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Support for ignoring the existance of buttons,
and for not telling X about them.
By default don't tell X about tools and touch as buttons.
TODO: Revisit this choice later.
|
| | |
|
| |
| |
| |
| | |
Make ChangeLog hook as safe as possible.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Use the OS bell-ringing function to ding the bell.
|
| | |
| | |
| | |
| | | |
Use the DIX motion history if we have ABI version 1 or higher.
|
| |\ \
| | | |
| | | |
| | | | |
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
|
| | |\ \
| | | | |
| | | | |
| | | | | |
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Call xf86DeleteInput from evdevRemoveDevice, so it also gets removed from
xf86InputDevs in the DDX.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Right now, bell is a no-op.
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
I don't know how the last parameter got there. Sorry.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Pass a maxval of -1 (i.e., fill this in appropriately), rather than 0 (0).
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is now required with the input-hotplug server.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Remove a device from the device list when we get DEVICE_CLOSE.
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / / |
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Correctly handle emulating relative mode from absolute data in the case where
we do not get X and Y data at the same time on touching.
|
| | | | |
|
| |/ / |
|