On Mon, Nov 15, 2010 at 2:56 PM, Ping Cheng <pingli...@gmail.com> wrote: > On Mon, Nov 15, 2010 at 7:19 AM, Chris Bagwell <ch...@cnpbagwell.com> wrote: >> I'd really prefer to solve these issues within the confines of events sent >> by what I'm calling "generic" touchpads, touchscreens, and pen tablets. As >> an example, I plan to use my synaptics touchpad with MT events to test out >> xf86-input-wacom's Bamboo touchpad logic. :-) > > Sounds like we are trying to cover all input devices with one driver. > Hope we have enough "manpower" here ;). > >> Its getting hard to keep our heads around all the combination of possible >> events for different kinds of devices. Perhaps I should break >> usbParseKeyEvent() into two functions? >> >> usbParseGenericKeyEvent() - set up channel for generic touchpads, >> touchscreens, and tablets. >> usbParseProtocol45KeyEvent() - set up channel for pre-existing wacom >> tablets, touchscreens and touchpads (although touchscreens and tablets look >> the same in this case). >> >> There will be a small bit of code duplication but we can get rid of all >> those if/else logic. > > I don't worry about this. I guess I should not worry about your > comment change either. My concern was about the pad tool. My testing > result told me that somehow only two of the four Bamboo buttons work > with the new driver. Since I don't have time to look into the code, I > can not submit a patch yet....
Stealing this from Favux's Ubuntu thread: WinXP 1. Touch toggle 2. BackSpace 3. Right click 4. Left click Linux 1. Middle Click 2. Right click 3. Pg Up 4. Pg Dn Linux 2.6.37-rc1 (new behavior) 1. Left Click 2. BTN_BACK from kernel -> ignored because not in padkeys[]? 3. BTN_FORWARD from kernel -> ignored because not in padkeys[]? 4. Right Click Maybe better behavior defaults? We were missing left click which seems pretty strange. Also, I see now a bug were npadkeys is set higher then 4 because it bases it off BTN_FORWARD. Chris > > For the comment change, > > Acked-by: Ping Cheng <pingli...@gmail.com> > > Thank you Chris, > > Ping > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel