Linux Input/HID development
 help / color / mirror / Atom feed
* Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE)
@ 2011-02-14 18:53 Steffen Barszus
  2011-02-15  9:30 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Barszus @ 2011-02-14 18:53 UTC (permalink / raw)
  To: linux-input, Jiri Kosina

Dear List/Jiri,

This patch adds support for 5 keys which can be found
only on the EU version of the gyration remote, which has been not
mapped before. 

Signed-off-by: Steffen Barszus <steffenbpunkt[AT]googlemail[DOT]com>
--- linux-2.6/drivers/hid/hid-gyration.c.orig	2010-09-13 08:16:36.353369149 +0200
+++ linux-2.6/drivers/hid/hid-gyration.c	2010-09-13 08:17:56.629965460 +0200
@@ -43,6 +43,11 @@ static int gyration_input_mapping(struct
 	case 0x048: gy_map_key_clear(KEY_MEDIA);	break;
 	case 0x049: gy_map_key_clear(KEY_CAMERA);	break;
 	case 0x04a: gy_map_key_clear(KEY_VIDEO);	break;
+	case 0x05a: gy_map_key_clear(KEY_TEXT);		break;
+	case 0x05b: gy_map_key_clear(KEY_RED);		break;
+	case 0x05c: gy_map_key_clear(KEY_GREEN);	break;
+	case 0x05d: gy_map_key_clear(KEY_YELLOW);	break;
+	case 0x05e: gy_map_key_clear(KEY_BLUE);		break;
 
 	default:
 		return 0;


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

* Re: Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE)
  2011-02-14 18:53 Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE) Steffen Barszus
@ 2011-02-15  9:30 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2011-02-15  9:30 UTC (permalink / raw)
  To: Steffen Barszus; +Cc: linux-input

On Mon, 14 Feb 2011, Steffen Barszus wrote:

> Dear List/Jiri,
> 
> This patch adds support for 5 keys which can be found
> only on the EU version of the gyration remote, which has been not
> mapped before. 
> 
> Signed-off-by: Steffen Barszus <steffenbpunkt[AT]googlemail[DOT]com>
> --- linux-2.6/drivers/hid/hid-gyration.c.orig	2010-09-13 08:16:36.353369149 +0200
> +++ linux-2.6/drivers/hid/hid-gyration.c	2010-09-13 08:17:56.629965460 +0200
> @@ -43,6 +43,11 @@ static int gyration_input_mapping(struct
>  	case 0x048: gy_map_key_clear(KEY_MEDIA);	break;
>  	case 0x049: gy_map_key_clear(KEY_CAMERA);	break;
>  	case 0x04a: gy_map_key_clear(KEY_VIDEO);	break;
> +	case 0x05a: gy_map_key_clear(KEY_TEXT);		break;
> +	case 0x05b: gy_map_key_clear(KEY_RED);		break;
> +	case 0x05c: gy_map_key_clear(KEY_GREEN);	break;
> +	case 0x05d: gy_map_key_clear(KEY_YELLOW);	break;
> +	case 0x05e: gy_map_key_clear(KEY_BLUE);		break;

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

end of thread, other threads:[~2011-02-15  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 18:53 Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE) Steffen Barszus
2011-02-15  9:30 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox