[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#425655: xkb-data: Media key symbols for Logitech UltraX keyboard



Package: xkb-data
Version: 0.9-4
Severity: minor
Tags: patch

Current xkb definition for "logiultrax" simply includes generic Logitech media keyboard setup. This results in 1) the key labelled "E-Mail" to be non-functional, 2) the rather minor error of the key labelled "WWW" set to XF86HomePage instead of XF86WWW.

I have included a patch which sets up this keyboard correctly.

A couple things to note:
a) The "E-Mail" key on this keyboard variously reports keycodes 120 and 236. I am not yet clear what causes this change. I've mapped both codes to XF86Mail.
b) I'm not sure why, but it still seems necessary to include the Logitech defaults first to get these keys initialized.
b) It seems possible there are a number of keyboards floating around branded as "Logitech Ultra-X". Mine is labelled:

Ultraflat Keyboard
Model Name: Y-SX49
P/N: 867327-0403

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-howard
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
--- usr/share/X11/xkb/symbols/inet	2007-05-22 19:14:28.000000000 -0600
+++ home/lade/inet	2007-05-22 19:18:54.000000000 -0600
@@ -1470,13 +1470,22 @@
     key <I1F>	{	[ XF86AudioMute		]	};
     key <I2B>	{	[ XF86AudioLowerVolume	]	};
     key <I2D>	{	[ XF86AudioRaiseVolume	]	};
 };
 
+// Logitech UltraX ( Y-SX49)
 partial alphanumeric_keys
 xkb_symbols "logiultrax" {
+
     include "inet(logitech_base)"
+    key <I20>	{	[ XF86AudioMute 	]	};
+    key <I22>	{	[ XF86AudioPlay, XF86AudioPause ] };
+    key <I32>	{	[ XF86WWW 		]	};
+    key <I66>	{	[ XF86Favorites		]	};
+    key <I6C>	{	[ XF86Mail 		]	};
+    key <I6D>	{	[ XF86AudioMedia 	]	};
+    key <FK15>	{	[ XF86Mail 		]	};
 };
 
 partial alphanumeric_keys 
 xkb_symbols "dinovo" {
 

Reply to: