linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
@ 2012-02-14  4:12 Chase Douglas
  2012-02-21 10:52 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Chase Douglas @ 2012-02-14  4:12 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
---
 drivers/hid/hid-magicmouse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
index 2ab7175..7cf3ffe 100644
--- a/drivers/hid/hid-magicmouse.c
+++ b/drivers/hid/hid-magicmouse.c
@@ -418,6 +418,8 @@ static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
 		__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
 		__set_bit(BTN_TOOL_QUADTAP, input->keybit);
 		__set_bit(BTN_TOUCH, input->keybit);
+		__set_bit(INPUT_PROP_POINTER, input->propbit);
+		__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
 	}
 
 	if (report_touches) {
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
  2012-02-14  4:12 [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad Chase Douglas
@ 2012-02-21 10:52 ` Jiri Kosina
  2012-02-21 11:17   ` Chase Douglas
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2012-02-21 10:52 UTC (permalink / raw)
  To: Chase Douglas; +Cc: linux-input

On Mon, 13 Feb 2012, Chase Douglas wrote:

> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
> ---
>  drivers/hid/hid-magicmouse.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
> index 2ab7175..7cf3ffe 100644
> --- a/drivers/hid/hid-magicmouse.c
> +++ b/drivers/hid/hid-magicmouse.c
> @@ -418,6 +418,8 @@ static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
>  		__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
>  		__set_bit(BTN_TOOL_QUADTAP, input->keybit);
>  		__set_bit(BTN_TOUCH, input->keybit);
> +		__set_bit(INPUT_PROP_POINTER, input->propbit);
> +		__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
>  	}
>  
>  	if (report_touches) {

Applied, although a bit more verbose commit message would be welcome next 
time :)

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
  2012-02-21 10:52 ` Jiri Kosina
@ 2012-02-21 11:17   ` Chase Douglas
  2012-02-21 13:22     ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Chase Douglas @ 2012-02-21 11:17 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

On 02/21/2012 11:52 AM, Jiri Kosina wrote:
> On Mon, 13 Feb 2012, Chase Douglas wrote:
> 
>> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
>> ---
>>  drivers/hid/hid-magicmouse.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
>> index 2ab7175..7cf3ffe 100644
>> --- a/drivers/hid/hid-magicmouse.c
>> +++ b/drivers/hid/hid-magicmouse.c
>> @@ -418,6 +418,8 @@ static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
>>  		__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
>>  		__set_bit(BTN_TOOL_QUADTAP, input->keybit);
>>  		__set_bit(BTN_TOUCH, input->keybit);
>> +		__set_bit(INPUT_PROP_POINTER, input->propbit);
>> +		__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
>>  	}
>>  
>>  	if (report_touches) {
> 
> Applied, although a bit more verbose commit message would be welcome next 
> time :)

Will you push this for 3.3, or keep it for 3.4?

-- Chase

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
  2012-02-21 11:17   ` Chase Douglas
@ 2012-02-21 13:22     ` Jiri Kosina
  2012-02-21 20:53       ` Chase Douglas
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2012-02-21 13:22 UTC (permalink / raw)
  To: Chase Douglas; +Cc: linux-input

On Tue, 21 Feb 2012, Chase Douglas wrote:

> >> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
> >> ---
> >>  drivers/hid/hid-magicmouse.c |    2 ++
> >>  1 files changed, 2 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
> >> index 2ab7175..7cf3ffe 100644
> >> --- a/drivers/hid/hid-magicmouse.c
> >> +++ b/drivers/hid/hid-magicmouse.c
> >> @@ -418,6 +418,8 @@ static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
> >>  		__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
> >>  		__set_bit(BTN_TOOL_QUADTAP, input->keybit);
> >>  		__set_bit(BTN_TOUCH, input->keybit);
> >> +		__set_bit(INPUT_PROP_POINTER, input->propbit);
> >> +		__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
> >>  	}
> >>  
> >>  	if (report_touches) {
> > 
> > Applied, although a bit more verbose commit message would be welcome next 
> > time :)
> 
> Will you push this for 3.3, or keep it for 3.4?

As the old set of properties has been there since 2.6.37, I wasn't 
considering pushing this for 3.3 still. Do you feel otherwise?

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad
  2012-02-21 13:22     ` Jiri Kosina
@ 2012-02-21 20:53       ` Chase Douglas
  0 siblings, 0 replies; 5+ messages in thread
From: Chase Douglas @ 2012-02-21 20:53 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

On 02/21/2012 02:22 PM, Jiri Kosina wrote:
> On Tue, 21 Feb 2012, Chase Douglas wrote:
> 
>>>> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
>>>> ---
>>>>  drivers/hid/hid-magicmouse.c |    2 ++
>>>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>>>
>>>> diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
>>>> index 2ab7175..7cf3ffe 100644
>>>> --- a/drivers/hid/hid-magicmouse.c
>>>> +++ b/drivers/hid/hid-magicmouse.c
>>>> @@ -418,6 +418,8 @@ static void magicmouse_setup_input(struct input_dev *input, struct hid_device *h
>>>>  		__set_bit(BTN_TOOL_TRIPLETAP, input->keybit);
>>>>  		__set_bit(BTN_TOOL_QUADTAP, input->keybit);
>>>>  		__set_bit(BTN_TOUCH, input->keybit);
>>>> +		__set_bit(INPUT_PROP_POINTER, input->propbit);
>>>> +		__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
>>>>  	}
>>>>  
>>>>  	if (report_touches) {
>>>
>>> Applied, although a bit more verbose commit message would be welcome next 
>>> time :)
>>
>> Will you push this for 3.3, or keep it for 3.4?
> 
> As the old set of properties has been there since 2.6.37, I wasn't 
> considering pushing this for 3.3 still. Do you feel otherwise?

My concerns are:

1. I have a branch for xf86-input-synaptics that makes clickpads work as
they are meant to. It uses the buttonpad property to detect a clickpad.
I hope it will be merged for the next release, which is very soon.

2. I plan on pushing the clickpad stuff into Ubuntu Precise, which is
based on 3.2. We prefer to cherry-pick from mainline. If it's going into
3.3, we can wait until it gets there and cherry-pick. If not, then I can
manually get the patch applied. I just need to know which route to take.

I feel it should be pushed for 3.3. However, I have views that are far
different from some others on the list about when properties should be
added to the kernel.

-- Chase

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-21 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14  4:12 [PATCH] hid-magicmouse: Add pointer and buttonpad properties for Magic Trackpad Chase Douglas
2012-02-21 10:52 ` Jiri Kosina
2012-02-21 11:17   ` Chase Douglas
2012-02-21 13:22     ` Jiri Kosina
2012-02-21 20:53       ` Chase Douglas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).