On Sun, Sep 5, 2010 at 1:20 AM, Nikolai Kondrashov <[email protected]> wrote: > On 09/05/2010 12:37 AM, Chris Bagwell wrote: > >> Most dumb devices can get away with single channel but we will >> eventually need to figure out how they report button presses on >> physical tablet because thats what second channel is mostly for. For >> these simple devices, I think there must be some way we can allow >> buttons to be associated with the PEN channel and not required to be a >> fully independent device. > > Wouldn't it be better to route such buttons to a separate /dev/input/event* > and deal with them separately either in the wacom or in some other driver?
Yeah, probably. If you can make the tablet buttons as a separate input device that looks like a touchpad then it may simplify things. > >> The wcmIsValidType is used during initialization time. X driver >> creates internally a device for each of the multiplex tools reported >> over single input device. > > What do you mean by the "X driver" - the wacom driver, or some generic X > code? Sorry, should have be consistent. I meant xf86-input-wacom is the one doing this stuff itself. It calls it internally "hot plugging". > >> The _source helps detect if its a real device or a fake device that X >> created. Your devices will only have BTN_TOOL_PEN/BTN_STYLUS so it won't >> hit the logic to create this other devices... > > Aha, thanks :) > > Sincerely, > Nick > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
