Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-27 Thread David Herrmann
Hi Peter On Mon, May 27, 2013 at 12:35 PM, Peter Hutterer wrote: > On Fri, May 24, 2013 at 05:07:14PM +0200, David Herrmann wrote: > [...] >> >> This library is intended to solve the classification/detection >> >> problem. While the kernel evdev-interface provides us a bunch of >> >> information

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-27 Thread Peter Hutterer
On Fri, May 24, 2013 at 05:07:14PM +0200, David Herrmann wrote: [...] > >> This library is intended to solve the classification/detection > >> problem. While the kernel evdev-interface provides us a bunch of > >> information for each device, it doesn't provide any classification of > >> the device

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-24 Thread David Herrmann
Hi On Thu, May 23, 2013 at 7:32 AM, Peter Hutterer wrote: > On Tue, May 21, 2013 at 04:30:03PM +0200, David Herrmann wrote: >> Hi Peter >> >> On Tue, May 21, 2013 at 6:37 AM, Peter Hutterer >> wrote: >> > On Thu, May 16, 2013 at 03:16:11PM +0200, David Herrmann wrote: >> >> Hi Peter >> >> >> >>

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-22 Thread Peter Hutterer
On Tue, May 21, 2013 at 04:30:03PM +0200, David Herrmann wrote: > Hi Peter > > On Tue, May 21, 2013 at 6:37 AM, Peter Hutterer > wrote: > > On Thu, May 16, 2013 at 03:16:11PM +0200, David Herrmann wrote: > >> Hi Peter > >> > >> On Thu, May 16, 2013 at 7:37 AM, Peter Hutterer > >> wrote: > >> > O

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-22 Thread Peter Hutterer
On Wed, May 22, 2013 at 12:25:19AM -0400, Rick Yorgason wrote: > On 2013-05-20 23:56, Peter Hutterer wrote: > >what I am wondering is whether that difference matters to the outside > >observer (i.e. the compositor). a gamepad and a joystick are both gaming > >devices and with the exception of the o

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-21 Thread Rick Yorgason
On 2013-05-20 23:56, Peter Hutterer wrote: what I am wondering is whether that difference matters to the outside observer (i.e. the compositor). a gamepad and a joystick are both gaming devices and with the exception of the odd need to control the pointer it doesn't matter much which type they ar

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-21 Thread David Herrmann
Hi Peter On Tue, May 21, 2013 at 6:37 AM, Peter Hutterer wrote: > On Thu, May 16, 2013 at 03:16:11PM +0200, David Herrmann wrote: >> Hi Peter >> >> On Thu, May 16, 2013 at 7:37 AM, Peter Hutterer >> wrote: >> > On Sun, May 12, 2013 at 04:20:59PM +0200, David Herrmann wrote: >> [..] >> >> So what

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-20 Thread Peter Hutterer
On Thu, May 16, 2013 at 03:16:11PM +0200, David Herrmann wrote: > Hi Peter > > On Thu, May 16, 2013 at 7:37 AM, Peter Hutterer > wrote: > > On Sun, May 12, 2013 at 04:20:59PM +0200, David Herrmann wrote: > [..] > >> So what is the proposed solution? > >> My recommendation is, that compositors sti

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-20 Thread Peter Hutterer
On Thu, May 16, 2013 at 08:38:44AM -0400, Todd Showalter wrote: > On Thu, May 16, 2013 at 1:37 AM, Peter Hutterer > wrote: > > > why are gamepads and joysticks different? buttons, a few axes that may or > > may not map to x/y and the rest is device-specific. > > this may be in the thread, but I s

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-16 Thread David Herrmann
Hi Bill On Thu, May 16, 2013 at 7:48 PM, Bill Spitzak wrote: > David Herrmann wrote: > >> /** >> * @INMAP_CAP_ACCELEROMETER >> * Accelerometer interface >> * >> * Accelerometer devices report linear acceleration data as ABS_X/Y/Z >> * and rotational acceleration as ABS_RX/Y/Z. >> * >> * @TODO thi

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-16 Thread Bill Spitzak
David Herrmann wrote: /** * @INMAP_CAP_ACCELEROMETER * Accelerometer interface * * Accelerometer devices report linear acceleration data as ABS_X/Y/Z * and rotational acceleration as ABS_RX/Y/Z. * * @TODO this collides with ABS_X/Y of absolute pointing devices * introduce ABS_ACCELX/Y/Z */

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-16 Thread David Herrmann
Hi Peter On Thu, May 16, 2013 at 7:37 AM, Peter Hutterer wrote: > On Sun, May 12, 2013 at 04:20:59PM +0200, David Herrmann wrote: [..] >> So what is the proposed solution? >> My recommendation is, that compositors still search for devices via >> udev and use device drivers like libxkbcommon. So l

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-16 Thread Todd Showalter
On Thu, May 16, 2013 at 1:37 AM, Peter Hutterer wrote: > why are gamepads and joysticks different? buttons, a few axes that may or > may not map to x/y and the rest is device-specific. > this may be in the thread, but I still haven't gone through all msgs here. Joysticks are designed for a d

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-15 Thread Peter Hutterer
On Sun, May 12, 2013 at 04:20:59PM +0200, David Herrmann wrote: > [bcc to gnome-shell-list and kwin, to keep discussion on wayland-devel] > Without a generic graphics-server like xserver, compositors need to > handle input devices themselves if run as wayland compositors. To > avoid having severa

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-12 Thread Todd Showalter
On Sun, May 12, 2013 at 10:20 AM, David Herrmann wrote: > So what is the proposed solution? > My recommendation is, that compositors still search for devices via > udev and use device drivers like libxkbcommon. So linux evdev handling > is still controlled by the compositor. However, I'd like to

[RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-12 Thread David Herrmann
[bcc to gnome-shell-list and kwin, to keep discussion on wayland-devel] Hi Without a generic graphics-server like xserver, compositors need to handle input devices themselves if run as wayland compositors. To avoid having several different conflicting implementations, I wrote up a small proposal