On Wed, Oct 09, 2013 at 05:42:39PM -0700, Ping Cheng wrote:
> On Wed, Oct 9, 2013 at 4:59 PM, Peter Hutterer <peter.hutte...@who-t.net> 
> wrote:
> > On Wed, Oct 09, 2013 at 09:19:28AM -0700, Ping Cheng wrote:
> >> On Tue, Oct 8, 2013 at 10:44 PM, Peter Hutterer
> >> <peter.hutte...@who-t.net> wrote:
> >> > so BTN_A through to BTN_D?
> >>
> >> BTN_LEFT, BTN_RIGHT, BTN_FORWARD, BTN_BACKWARD. This is the generic
> >> type of devices, such as Bamboo.
> >>
> >> >> > if it's not providing pointer coordinates, why does it do
> >> >> > BTN_TOUCH?
> >> >>
> >> >> If I do not set BTN_TOUCH, the device goes to joystick driver. We can 
> >> >> not
> >> >> control it any more.
> >> >
> >> > isn't there a blacklist/whitelist facility in the kernel for that?
> >>
> >> It is not the driver in the kernel. it is the joystick driver in X server.
> >
> > heh, funny. we don't even ship that driver in Fedora/RHEL because most of
> > the time it doesn't actually do what users want it to do :) Having said
> > that, this would need an adjustment in the configuration, it's not something
> > we should hack around by setting bits that shouldn't be there.
> 
> Yeah, I see joystick driver was disabled by default in the config file
> [1]. However, we can not assume no one will enable it. The fact is, on
> my testing machine, I did not enable it.

what distribution and version is this?

> > BTN_TOUCH has a specific meaning, we shouldn't set it unless we actually
> > intend to send the events for it.
> 
> Then what solution do you have for us to support this pad without
> interfering with joystick? From kernel input documentation, it looks
> like we are not violating the rules. You have to touch the pad to send
> events ;-).
> 
> I do not have to use BTN_TOUCH. But, please make a suggestion if you
> do not like this one.

it's hard to guess from here, do you have the Xorg.log that shows which
input classes are applied?

50-joystick.conf should sort before 50-wacom.conf so the wacom-specific
configuration should override any joystick configurations. Having said that,
that depends on the device name - what is the name for the device?

Cheers,
   Peter


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to