Re: [PATCH] Remap micmute to F20

2012-08-29 Thread Bastien Nocera
On Wed, 2012-08-29 at 11:43 -0400, James M Leddy wrote:
> On 08/28/2012 07:36 PM, Bastien Nocera wrote:
> > Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
> >> Because of a limitation of the X11 protocol, we can't use micmute in
> >> it's current mapping. I've chosen to map this to F20, since we do
> >> similar things with the touchpad buttons for the same reason. Whatever
> >> we use, we will have to agree with xkeyboard-config.
> >>
> >> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
> > 
> > Feel free to implement this once you're done :)
> > https://bugzilla.gnome.org/show_bug.cgi?id=651051
> 
> Already ahead of you :) Just have to make sure the patch applies cleanly
> upstream. Thanks for the bug number.

I can tell you it won't, as your copy of gnome-settings-daemon has been
atrociously mutilated by notify-osd patches.

I'll add a reference to the patch in the upstream bug, if somebody wants
to use it as an example.

> https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch



--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Remap micmute to F20

2012-08-29 Thread James M Leddy
On 08/29/2012 11:43 AM, James M Leddy wrote:
> On 08/28/2012 07:36 PM, Bastien Nocera wrote:
>> Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
>>> Because of a limitation of the X11 protocol, we can't use micmute in
>>> it's current mapping. I've chosen to map this to F20, since we do
>>> similar things with the touchpad buttons for the same reason. Whatever
>>> we use, we will have to agree with xkeyboard-config.
>>>
>>> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
>>
>> Feel free to implement this once you're done :)
>> https://bugzilla.gnome.org/show_bug.cgi?id=651051
> 
> Already ahead of you :) Just have to make sure the patch applies cleanly
> upstream. Thanks for the bug number.
> 
> https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch

Just realized this is unity specific, I'll work on a gnome-shell version
this week or next.

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Remap micmute to F20

2012-08-29 Thread James M Leddy
On 08/28/2012 07:36 PM, Bastien Nocera wrote:
> Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
>> Because of a limitation of the X11 protocol, we can't use micmute in
>> it's current mapping. I've chosen to map this to F20, since we do
>> similar things with the touchpad buttons for the same reason. Whatever
>> we use, we will have to agree with xkeyboard-config.
>>
>> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html
> 
> Feel free to implement this once you're done :)
> https://bugzilla.gnome.org/show_bug.cgi?id=651051

Already ahead of you :) Just have to make sure the patch applies cleanly
upstream. Thanks for the bug number.

https://bazaar.launchpad.net/~jm-leddy/ubuntu/quantal/gnome-settings-daemon/micmute/view/head:/debian/patches/micmute.patch
> 
> Cheers
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Remap micmute to F20

2012-08-28 Thread Bastien Nocera
Em Tue, 2012-08-28 às 19:32 -0400, James M Leddy escreveu:
> Because of a limitation of the X11 protocol, we can't use micmute in
> it's current mapping. I've chosen to map this to F20, since we do
> similar things with the touchpad buttons for the same reason. Whatever
> we use, we will have to agree with xkeyboard-config.
> 
> http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html

Feel free to implement this once you're done :)
https://bugzilla.gnome.org/show_bug.cgi?id=651051

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Remap micmute to F20

2012-08-28 Thread James M Leddy
Because of a limitation of the X11 protocol, we can't use micmute in
it's current mapping. I've chosen to map this to F20, since we do
similar things with the touchpad buttons for the same reason. Whatever
we use, we will have to agree with xkeyboard-config.

http://lists.freedesktop.org/archives/xorg-devel/2012-August/033442.html

Signed-off-by: James M. Leddy 
---
 keymaps/module-lenovo |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/keymaps/module-lenovo b/keymaps/module-lenovo
index 8e38883..f94678d 100644
--- a/keymaps/module-lenovo
+++ b/keymaps/module-lenovo
@@ -14,4 +14,4 @@
 0x15 volumedown
 0x16 mute
 0x17 prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor")
-0x1A micmute # Microphone mute
+0x1A f20 # Microphone mute
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html