Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-28 Thread Peter Hutterer
On Thu, Feb 18, 2016 at 12:00:09PM +, Daniel Stone wrote: > Hi, > No real opinion on the angles/units thing, and indeed we can't really > add native 64-bit integers now (even if we did, it rapidly descends > into a padding/alignment nightmare; much easier to keep _everything_ > on the wire as 3

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-18 Thread Daniel Stone
Hi, No real opinion on the angles/units thing, and indeed we can't really add native 64-bit integers now (even if we did, it rapidly descends into a padding/alignment nightmare; much easier to keep _everything_ on the wire as 32-bit units for that reason). Aside from that: On 29 January 2016 at 04

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-04 Thread Bill Spitzak
On Tue, Feb 2, 2016 at 2:37 PM, Jason Gerecke wrote: > > > I think a lot of software treats the tilt information as actually the > > position of a point some distance up the pen relative to the tip. I would > > That's certainly true for GIMP and Krita at least (see [1] and [2]). > Its incorrect,

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-02 Thread Peter Hutterer
On Fri, Jan 29, 2016 at 11:40:44AM -0800, Jason Gerecke wrote: > On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutterer > wrote: > > Signed-off-by: Peter Hutterer > > --- > > Changes to v2: > > - renamed hwserial to hardware_serial > > - renamed to hwid event to a hardware_id_wacom. no-one else uses thi

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-02 Thread Jason Gerecke
On Tue, Feb 2, 2016 at 1:12 PM, Bill Spitzak wrote: > > > On Mon, Feb 1, 2016 at 6:38 PM, Jason Gerecke wrote: >> >> >> Ultimately, the tilt information is almost universally used by >> applications to set brush orientation. To do that, you have to use >> some trig to transform the X and Y tilt v

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-02 Thread Bill Spitzak
On Mon, Feb 1, 2016 at 6:38 PM, Jason Gerecke wrote: > > Ultimately, the tilt information is almost universally used by > applications to set brush orientation. To do that, you have to use > some trig to transform the X and Y tilt values into something like > Alt-Az form. Tilt on a scale of 0-1 i

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-01 Thread Jason Gerecke
On Mon, Feb 1, 2016 at 4:55 PM, Peter Hutterer wrote: > On Mon, Feb 01, 2016 at 04:12:24PM -0800, Jason Gerecke wrote: >> On Sun, Jan 31, 2016 at 2:27 PM, Peter Hutterer >> wrote: >> > On Fri, Jan 29, 2016 at 11:40:44AM -0800, Jason Gerecke wrote: >> >> On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutt

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-01 Thread Peter Hutterer
On Mon, Feb 01, 2016 at 04:12:24PM -0800, Jason Gerecke wrote: > On Sun, Jan 31, 2016 at 2:27 PM, Peter Hutterer > wrote: > > On Fri, Jan 29, 2016 at 11:40:44AM -0800, Jason Gerecke wrote: > >> On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutterer > >> wrote: > >> > Signed-off-by: Peter Hutterer > >>

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-02-01 Thread Jason Gerecke
On Sun, Jan 31, 2016 at 2:27 PM, Peter Hutterer wrote: > On Fri, Jan 29, 2016 at 11:40:44AM -0800, Jason Gerecke wrote: >> On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutterer >> wrote: >> > Signed-off-by: Peter Hutterer >> > --- >> > Changes to v2: >> > - renamed hwserial to hardware_serial >> > - r

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-01-31 Thread Peter Hutterer
On Fri, Jan 29, 2016 at 11:40:44AM -0800, Jason Gerecke wrote: > On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutterer > wrote: > > Signed-off-by: Peter Hutterer > > --- > > Changes to v2: > > - renamed hwserial to hardware_serial > > - renamed to hwid event to a hardware_id_wacom. no-one else uses thi

Re: [PATCH v3 wayland-protocols] Add the tablet protocol

2016-01-29 Thread Jason Gerecke
On Thu, Jan 28, 2016 at 8:32 PM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > Changes to v2: > - renamed hwserial to hardware_serial > - renamed to hwid event to a hardware_id_wacom. no-one else uses this ID > type, so having a generic event with a wacom-specific type + enum is

[PATCH v3 wayland-protocols] Add the tablet protocol

2016-01-28 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v2: - renamed hwserial to hardware_serial - renamed to hwid event to a hardware_id_wacom. no-one else uses this ID type, so having a generic event with a wacom-specific type + enum is optimistic. The next company may use a string instead, so it'll b