Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-22 Thread Peter Hutterer
On Fri, Mar 20, 2015 at 09:54:30AM +0100, Hans de Goede wrote: > Hi, > > On 20-03-15 01:38, Peter Hutterer wrote: > >On Fri, Mar 20, 2015 at 10:19:06AM +1000, Peter Hutterer wrote: > >[...] > >>>5) If a device has multiple axes of the same type, is the order > >>>supposed to be ABI? Example: gamep

Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-20 Thread Hans de Goede
Hi, On 20-03-15 01:38, Peter Hutterer wrote: On Fri, Mar 20, 2015 at 10:19:06AM +1000, Peter Hutterer wrote: [...] 5) If a device has multiple axes of the same type, is the order supposed to be ABI? Example: gamepads tend to have two analog-sticks. How do applications reliably find the left and

Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-19 Thread Peter Hutterer
On Fri, Mar 20, 2015 at 10:19:06AM +1000, Peter Hutterer wrote: [...] > > 5) If a device has multiple axes of the same type, is the order > > supposed to be ABI? Example: gamepads tend to have two analog-sticks. > > How do applications reliably find the left and right stick? > > well, our promise

Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-19 Thread Peter Hutterer
On Thu, Mar 19, 2015 at 01:15:01PM +0100, David Herrmann wrote: > Hi > > On Wed, Mar 18, 2015 at 7:58 AM, Peter Hutterer > wrote: > > > > This is a re-vamped version of the buttonset interface. Still WIP but I'd > > like to get some comments on the API. > > > > Changes to the last version: > > Th

Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-19 Thread David Herrmann
Hi On Wed, Mar 18, 2015 at 7:58 AM, Peter Hutterer wrote: > > This is a re-vamped version of the buttonset interface. Still WIP but I'd > like to get some comments on the API. > > Changes to the last version: > This version now uses numbered axes instead of typed axes. Previously the > interface

Re: [RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-18 Thread Hans de Goede
Hi, On 18-03-15 07:58, Peter Hutterer wrote: This is a re-vamped version of the buttonset interface. Still WIP but I'd like to get some comments on the API. Changes to the last version: This version now uses numbered axes instead of typed axes. Previously the interface used a unique axis type t

[RFC v2 libinput 0/2] Buttonset interface - numbered axes

2015-03-17 Thread Peter Hutterer
This is a re-vamped version of the buttonset interface. Still WIP but I'd like to get some comments on the API. Changes to the last version: This version now uses numbered axes instead of typed axes. Previously the interface used a unique axis type to deal with axes (e.g. LIBINPUT_BUTTONSET_AXIS_