Re: [ibm-acpi-devel] [PATCH 10/10] thinkpad-acpi: sync input device EV_SW state directly

2009-12-10 Thread Dmitry Torokhov
On Thu, Dec 10, 2009 at 10:46:02PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 10 Dec 2009, Dmitry Torokhov wrote: > > Right, input_set_abs_params()... No, I don't really want to go through > > all touchpad, touchscreen and joystick drivers at once, thank you vey > > much ;) Besides, for th

Re: [ibm-acpi-devel] [PATCH 10/10] thinkpad-acpi: sync input device EV_SW state directly

2009-12-10 Thread Henrique de Moraes Holschuh
On Thu, 10 Dec 2009, Dmitry Torokhov wrote: > Right, input_set_abs_params()... No, I don't really want to go through > all touchpad, touchscreen and joystick drivers at once, thank you vey > much ;) Besides, for the vast majority of uses 0 is the proper initial > value for absolute axis. Heh. > >

Re: [ibm-acpi-devel] [PATCH 10/10] thinkpad-acpi: sync input device EV_SW state directly

2009-12-10 Thread Dmitry Torokhov
On Thu, Dec 10, 2009 at 11:19:18AM -0200, Henrique de Moraes Holschuh wrote: > On Wed, 09 Dec 2009, Dmitry Torokhov wrote: > > > Still, please look at the patch below... Would something like this be a > > > cleaner API? It is certainly more obvious, and it is cleaner on the > > > driver > > > si

Re: [ibm-acpi-devel] [PATCH 10/10] thinkpad-acpi: sync input device EV_SW state directly

2009-12-10 Thread Henrique de Moraes Holschuh
On Wed, 09 Dec 2009, Dmitry Torokhov wrote: > > Still, please look at the patch below... Would something like this be a > > cleaner API? It is certainly more obvious, and it is cleaner on the driver > > side (one function call does everything, instead of a call to > > input_set_capability plus a