Re: [RFC v2 wayland-protocols] tablet: define our own enum for tablet tool buttons

2016-11-22 Thread Ping Cheng
On Tuesday, November 22, 2016, Peter Hutterer wrote: > On Tue, Nov 22, 2016 at 09:03:52AM -0800, Ping Cheng wrote: > > On Tuesday, November 22, 2016, Daniel Stone > wrote: > > > > > Hey, > > > > > > On 21 November 2016 at 23:13, Peter Hutterer >

Re: [RFC v2 wayland-protocols] tablet: define our own enum for tablet tool buttons

2016-11-22 Thread Ping Cheng
On Tuesday, November 22, 2016, Daniel Stone wrote: > Hey, > > On 21 November 2016 at 23:13, Peter Hutterer > wrote: > > On Mon, Nov 21, 2016 at 12:42:36PM +, Daniel Stone wrote: > >> Concretely though, reusing BTN_* codes where possible would make it > >> easier for clients to transition bet

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Ping Cheng
On Mon, Feb 15, 2016 at 9:47 PM, Peter Hutterer wrote: > Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the > underlying display. Clamp any data outside the screen area to the screen > area. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 27

Re: [PATCH libinput 6/8] tablet: support tool-specific pressure offsets

2015-12-14 Thread Ping Cheng
e is no logical change in this version. So, it is still Reviewed-by: Ping Cheng Ping --- > Changes to v2: > - rather than using offset != INT_MIN everywhere, add a has_pressure_offset > boolean and check that. Makes the code much nicer > > doc/tablet-supp

Re: [PATCH v2 libinput] tablet: support tool-specific pressure offsets

2015-12-10 Thread Ping Cheng
ion, similar to what the X.Org wacom > driver does. On proximity-in, check the pressure and if the distance is above > 50% of the range and the pressure is nonzero but below 20% of the range, use > that value as pressure offset. > > Signed-off-by: Peter Hutterer Patch looks good t

Re: [PATCH libinput 1/5] util: allow list_remove() on a NULL node

2015-06-29 Thread Ping Cheng
On Mon, Jun 29, 2015 at 3:09 PM, Peter Hutterer wrote: > On Mon, Jun 29, 2015 at 12:37:26PM -0700, Bill Spitzak wrote: > > On Sun, Jun 28, 2015 at 8:49 PM, Peter Hutterer < > peter.hutte...@who-t.net> > > wrote: > > > > > > > > + if (elm->next == NULL && elm->prev == NULL) > > > +

Re: [PATCH libinput] tablet: ignore tools already in proximity at startup

2015-02-26 Thread Ping Cheng
On Thu, Feb 26, 2015 at 1:31 PM, Benjamin Tissoires wrote: > On Thu, Feb 26, 2015 at 12:05 AM, Peter Hutterer > wrote: >> Require a tool to be moved into proximity before we handle any events from >> it. >> This requires the user to lift the tool for first use but a tool that's >> already on the

Re: Comments about adding tablet support to Wayland

2014-07-01 Thread Ping Cheng
On Tue, Jul 1, 2014 at 10:47 AM, Ping Cheng wrote: > On Mon, Jun 30, 2014 at 1:03 AM, Dmitry Kazakov wrote: >> Hi, all! >> >> I'd like to add about mapping of the tablet input. >> >> In XInput one can assign a matrix transfromation for each tablet device

Re: Comments about adding tablet support to Wayland

2014-07-01 Thread Ping Cheng
On Mon, Jun 30, 2014 at 10:36 PM, Dmitry Kazakov wrote: > >> > The situation is getting even worse if you look at the feature which >> > Windows' Wacom driver has (I'm not sure whether this feature is >> > available >> > in X11 Wacom driver, but it is highly requested by the painters). On >> > Win

Re: Comments about adding tablet support to Wayland

2014-07-01 Thread Ping Cheng
On Mon, Jun 30, 2014 at 1:03 AM, Dmitry Kazakov wrote: > Hi, all! > > I'd like to add about mapping of the tablet input. > > In XInput one can assign a matrix transfromation for each tablet device, > which is exactly what people need. If we support matrix transformation in libinput/Wayland, all "

Re: wl_tablet specification draft

2014-06-26 Thread Ping Cheng
On Thursday, June 26, 2014, Peter Hutterer wrote: > On Thu, Jun 26, 2014 at 09:48:37AM +0300, Pekka Paalanen wrote: > > Hi, > > > > it seems you forgot to reply-to-all, so I have re-added everyone and > > not trimmed the quotation. > > > > On Wed, 25 Jun 2014 18:37:08 -0400 > > Lyude > wrote: > >

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Thu, May 22, 2014 at 4:55 PM, Carlos Garnacho wrote: > Hi Ping! > > On lun, 2014-04-21 at 18:03 -0700, Ping Cheng wrote: >> Benjamin is right. Those are absolute values. Most Linux applications >> do not use those extra values. But, there are in-house applications >&

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Wed, May 21, 2014 at 10:17 PM, Chandler Paul wrote: > Hi! Sorry this took so long to write, I've been spending a lot of my > time recently trying to understand the libinput code and all of that > good stuff, and I wanted to make sure I had a decent understanding of it > before I actually wrote

Re: [PATCH libinput 0/24] Tablet support

2014-04-21 Thread Ping Cheng
On Mon, Apr 21, 2014 at 4:40 PM, Benjamin Tissoires wrote: > Hi Carlos, > > [Adding a few people to the conversation] > > I am working a little bit on the wacom.ko kernel driver and I can give > you some hints on the oddness around the events. > > On Mon, Apr 21, 2014 at 1:11 PM, Carlos Garnacho

Re: libinput requirements for feature parity with X

2014-01-30 Thread Ping Cheng
On Thu, Jan 30, 2014 at 1:42 PM, Bill Spitzak wrote: > Ping Cheng wrote: > > graphics tablets: >> * extended axis event support >> * tool change notification (could be just button events? not sure) >> >> >> Will tool id, serial

Re: libinput requirements for feature parity with X

2014-01-30 Thread Ping Cheng
On Tue, Jan 28, 2014 at 6:18 PM, Peter Hutterer wrote: > Here's a list of features I consider the minimum to get something akin to > feature-parity with the current X.Org-based stack. This is not a wishlist > for features, it's a list of minimum requirements that covers 90% of the > user base. > >