summaryrefslogtreecommitdiff
path: root/packages/xserver-common/files/keyboardless-buttonmap.patch
blob: 214cb38678f7555b89e8a592ab939fd2e3e7e3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Index: ChangeLog
===================================================================
--- a/ChangeLog	(revision 8846)
+++ a/ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2006-11-18  Paul Sokolovsky <pmiscml@gmail.com>
+
+	* X11/keyboardless.xmodmap: New common keymap for all
+	keyboardless PDA devices. (actually, a copy of h2200.xmodmap).
+	* X11/Xinit.d/12keymap: Use keyboardless.xmodmap as default for
+	all HP iPaq, Asus MyPal devices (which don't have need for adhoc
+	modmap).
+
 2006-11-11  Florian Boor <florian@kernelconcepts.de>
 
 	* Release version 1.12
Index: X11/keyboardless.xmodmap
===================================================================
--- a/X11/keyboardless.xmodmap	(revision 0)
+++ a/X11/keyboardless.xmodmap	(revision 0)
@@ -0,0 +1,6 @@
+keycode 75 = XF86Calendar
+keycode 76 = telephone
+keycode 95 = XF86Mail
+keycode 96 = XF86Start
+keycode 97 = XF86AudioRecord
+keycode 124 = XF86PowerDown
Index: X11/Xinit.d/12keymap
===================================================================
--- a/X11/Xinit.d/12keymap	(revision 8846)
+++ a/X11/Xinit.d/12keymap	(working copy)
@@ -26,20 +26,12 @@
 	"Simpad")
 		xmodmap - < /etc/X11/simpad.xmodmap
 		;;
-	"HP iPAQ H2200")
-		xmodmap - < /etc/X11/h2200.xmodmap
-		;;
-	"HP iPAQ HX4700")
-		xmodmap - < /etc/X11/hx4700.xmodmap
-		;;
-	"HP iPAQ H1910" | "HP iPAQ H4000")
-		xmodmap - < /etc/X11/h1910.xmodmap
-		;;
-	"Asus MyPal A716")
-		xmodmap - < /etc/X11/a716.xmodmap
-		;;
 	"HP iPAQ h6300")
 		xmodmap - < /etc/X11/h6300.xmodmap
 		;;
+	# All the rest of keyboardless PDA machines use common buttonmap
+	"HP iPAQ"* | "Asus MyPal"*)
+		xmodmap - < /etc/X11/keyboardless.xmodmap
+		;;
 esac