Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-08-20 Thread David Herrmann
Hi On Tue, Aug 20, 2013 at 12:32 PM, Jiri Kosina wrote: > On Fri, 16 Aug 2013, David Herrmann wrote: > >> Hm, I just noticed that this got merged without the >> Documentation/input/gamepad.txt description. Was this intentional? >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/co

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-08-20 Thread Jiri Kosina
On Fri, 16 Aug 2013, David Herrmann wrote: > Hm, I just noticed that this got merged without the > Documentation/input/gamepad.txt description. Was this intentional? > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d09bbfd2a8408a995419dff0d2ba906013cf4cc9 My git-fu h

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-08-16 Thread David Herrmann
Hi Jiri On Thu, Jun 27, 2013 at 11:47 AM, Jiri Kosina wrote: > On Wed, 26 Jun 2013, Dmitry Torokhov wrote: > >> On Sat, Jun 15, 2013 at 03:32:44PM +0200, David Herrmann wrote: >> > --- a/include/uapi/linux/input.h >> > +++ b/include/uapi/linux/input.h >> > @@ -507,10 +507,14 @@ struct input_keyma

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-28 Thread David Herrmann
Hi On Thu, Jun 27, 2013 at 11:47 AM, Jiri Kosina wrote: > On Wed, 26 Jun 2013, Dmitry Torokhov wrote: > >> On Sat, Jun 15, 2013 at 03:32:44PM +0200, David Herrmann wrote: >> > --- a/include/uapi/linux/input.h >> > +++ b/include/uapi/linux/input.h >> > @@ -507,10 +507,14 @@ struct input_keymap_ent

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-27 Thread Jiri Kosina
On Wed, 26 Jun 2013, Dmitry Torokhov wrote: > On Sat, Jun 15, 2013 at 03:32:44PM +0200, David Herrmann wrote: > > --- a/include/uapi/linux/input.h > > +++ b/include/uapi/linux/input.h > > @@ -507,10 +507,14 @@ struct input_keymap_entry { > > > > #define BTN_GAMEPAD0x130 > > #de

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-26 Thread Dmitry Torokhov
Hi David, Jiri, On Sat, Jun 15, 2013 at 03:32:44PM +0200, David Herrmann wrote: > --- a/include/uapi/linux/input.h > +++ b/include/uapi/linux/input.h > @@ -507,10 +507,14 @@ struct input_keymap_entry { > > #define BTN_GAMEPAD 0x130 > #define BTN_A0x130 > +#defi

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-26 Thread Jiri Kosina
On Wed, 19 Jun 2013, Jiri Kosina wrote: > On Sat, 15 Jun 2013, David Herrmann wrote: > > > Until today all gamepad input drivers report their data differently. It is > > nearly impossible to write applications for more than one device in a > > generic way. Therefore, this patch introduces a unifo

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-18 Thread Jiri Kosina
On Sat, 15 Jun 2013, David Herrmann wrote: > Until today all gamepad input drivers report their data differently. It is > nearly impossible to write applications for more than one device in a > generic way. Therefore, this patch introduces a uniform gamepad API which > will be used for all new dri

[PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-06-15 Thread David Herrmann
Until today all gamepad input drivers report their data differently. It is nearly impossible to write applications for more than one device in a generic way. Therefore, this patch introduces a uniform gamepad API which will be used for all new drivers. Instead of mapping buttons by their labels, w