10 Jul, 2007
19 commits
-
Signed-off-by: Ping Cheng
Signed-off-by: Dmitry Torokhov -
Update credits and version number to 2.3
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Function keys (also called macro keys) code corrected. Using a
lastMacro variable to keep track of key currently pressed. This
ensures proper resetting when dragging the pen in the drawing
area or to another key. Also suppress sending pressure reports
when over the macro key area.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Now echo "some value" > /sys/......./somefile is also acceptable.
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Now the old tool is remembered, and reset when a new tool is
selected via the sysfs files.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
To get an on - off reporting for proximity, absolute misc reports are
used. The mixture of absolute and relative reports is awkwardSigned-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Added warnings to the points where the tablet probe may fail
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Have to use set_bit since some bit values are over 32, and bitwise or
won't work on these. To be safe for the future too, use set_bit for all
input dev capabilitiesSigned-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Corrections to relative mode, was looking at wrong byte
Signed-off-by: Mark Vytlacil
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Mouse button defines tested the wrong bits, now fixed
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Calculation of proximity bit and of data valid bits were reversed for
stylus reports.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Small fix that corrects the documentation on the report byte
format produced by the mouseSigned-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
When setting up input device use an array to list all the buttons
instead of setting every bit separately.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
There is no reason to do that, just tell the compiler that
we are dealing with signed values in buffer, that's it.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Use maps to convert for strings to internal constants and vice versa
in aiptek's sysfs attribute methods instead of open-coding it. This
results in smaller code that is also easier to maintain.[Rene: fix a typo - stylys instead of stylus]
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
It makes no sense to check for NULL in attribute methods -
we do usb_set_intfdata before creating attributes and once
attributes have been removed we are guaranteed to not be
called.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Use attribute group to simplify error handling and reduce code.
[Rene: add missing NULL to properly terminate aiptek_attributes]
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
They are already exported by input core; there is no need to do it twice.
Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov -
Do not try to export via sysfs associated event device - it does not
work when evdev is a module that is loaded after aiptek; also it pokes
too deply into input core internals.Userspace should rely on udev to set up permanent device name for
the tablet.Signed-off-by: Rene van Paassen
Signed-off-by: Dmitry Torokhov
16 May, 2007
1 commit
-
stuff that does select USB should depend on USB_ARCH_HAS_HCD, or we'll
end up with unbuildable configs.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
08 May, 2007
1 commit
-
This will allow concentrating all input devices in one place
in {menu|x|q}config.Signed-off-by: Dmitry Torokhov
Acked-by: Greg Kroah-Hartman