linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remap micmute to F20
@ 2012-08-28 23:32 James M Leddy
  2012-08-28 23:36 ` Bastien Nocera
  0 siblings, 1 reply; 5+ messages in thread
From: James M Leddy @ 2012-08-28 23:32 UTC (permalink / raw)
  To: linux-input; +Cc: 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 <james.leddy@canonical.com>
---
 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


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

* Re: [PATCH] Remap micmute to F20
  2012-08-28 23:32 [PATCH] Remap micmute to F20 James M Leddy
@ 2012-08-28 23:36 ` Bastien Nocera
  2012-08-29 15:43   ` James M Leddy
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2012-08-28 23:36 UTC (permalink / raw)
  To: James M Leddy; +Cc: linux-input

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] Remap micmute to F20
  2012-08-28 23:36 ` Bastien Nocera
@ 2012-08-29 15:43   ` James M Leddy
  2012-08-29 15:52     ` James M Leddy
  2012-08-29 15:56     ` Bastien Nocera
  0 siblings, 2 replies; 5+ messages in thread
From: James M Leddy @ 2012-08-29 15:43 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-input

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] Remap micmute to F20
  2012-08-29 15:43   ` James M Leddy
@ 2012-08-29 15:52     ` James M Leddy
  2012-08-29 15:56     ` Bastien Nocera
  1 sibling, 0 replies; 5+ messages in thread
From: James M Leddy @ 2012-08-29 15:52 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-input

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] Remap micmute to F20
  2012-08-29 15:43   ` James M Leddy
  2012-08-29 15:52     ` James M Leddy
@ 2012-08-29 15:56     ` Bastien Nocera
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien Nocera @ 2012-08-29 15:56 UTC (permalink / raw)
  To: James M Leddy; +Cc: linux-input

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2012-08-29 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28 23:32 [PATCH] Remap micmute to F20 James M Leddy
2012-08-28 23:36 ` Bastien Nocera
2012-08-29 15:43   ` James M Leddy
2012-08-29 15:52     ` James M Leddy
2012-08-29 15:56     ` Bastien Nocera

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).