Dnia 2010-01-10, nie o godzinie 19:53 +0000, Przemysław Firszt pisze:
> Dnia 2010-01-10, nie o godzinie 11:40 -0800, Ping pisze:
> > Shouldn't we consider Meta_R as well?
[..]
> I'll do it, but I won't be able to test it- my keyboard seems to
> generate the same code (on xorg/gnome level) after left and right meta
> keys.
[..]
A new patch with left/right meta keys attached. Can you test it?
--
Przemo

>From c473ac5dd0191d95fb072e9f9d2310df2b240d90 Mon Sep 17 00:00:00 2001
From: Przemo Firszt <[email protected]>
Date: Sat, 9 Jan 2010 17:18:01 +0000
Subject: [PATCH 14/14] Add Meta keys to xsetwacom

Signed-off-by: Przemo Firszt <[email protected]>
---
 tools/xsetwacom.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index ca19948..f0e4773 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -1025,6 +1025,10 @@ static char *convert_specialkey(const char *modifier)
 		{"lctrl", "Control_L"},
 		{"rctrl", "Control_R"},
 
+		{"meta", "Meta_L"},
+		{"lmeta", "Meta_L"},
+		{"rmeta", "Meta_R"},
+
 		{"alt", "Alt_L"},
 		{"lalt", "Alt_L"},
 		{"ralt", "Alt_R"},
@@ -1066,6 +1070,8 @@ static int is_modifier(const char* modifier)
 		"Alt_R",
 		"Shift_L",
 		"Shift_R",
+		"Meta_L",
+		"Meta_R",
 		NULL,
 	};
 
-- 
1.6.5.7

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to