- xkeyboard-config-1.5-suspend-hibernate.patch: Map I213 to XF86Suspend,

and I255 to XF86Hibernate.
This commit is contained in:
Peter Hutterer 2009-03-05 03:19:54 +00:00
parent 7ed9b0d97e
commit d31863b246
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From 3b0326435e6f02c0d1c92b1c7f9902d81f1245aa Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu, 5 Mar 2009 13:01:20 +1000
Subject: [PATCH] Map I213 to XF86Suspend, and I255 to XF86Hibernate.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
---
symbols/inet | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/symbols/inet b/symbols/inet
index ba55f43..dafb406 100644
--- a/symbols/inet
+++ b/symbols/inet
@@ -165,7 +165,7 @@ xkb_symbols "evdev" {
key <I209> { [ XF86AudioPause ] };
key <I210> { [ XF86Launch3 ] };
key <I211> { [ XF86Launch4 ] };
- key <I213> { [ XF86Standby ] };
+ key <I213> { [ XF86Suspend ] };
key <I214> { [ XF86Close ] };
key <I215> { [ XF86AudioPlay ] };
key <I216> { [ XF86Forward ] };
@@ -205,6 +205,8 @@ xkb_symbols "evdev" {
// key <I251> { [ ] }; // KEY_BRIGHTNESS_CYCLE -- bright up, max++ == min
// key <I252> { [ ] }; // KEY_BRIGHTNESS_ZERO -- brightness off
// key <I253> { [ ] }; // KEY_DISPLAY_OFF -- turn off display
+// key <I254> { [ ] }; // KEY_WIMAX
+ key <I255> { [ XF86Hibernate ] }; // KEY_HIBERNATE
};
--
1.6.0.6

View File

@ -4,7 +4,7 @@
Summary: X Keyboard Extension configuration data
Name: xkeyboard-config
Version: 1.5
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Group: User Interface/X
URL: http://www.freedesktop.org/wiki/Software/XKeyboardConfig
@ -18,6 +18,7 @@ Patch4: xkeyboard-config-1.4-battery.patch
Patch5: xkeyboard-config-1.4-jp-tilde.patch
# Taken from upstream, remove with 1.6
Patch6: xkeyboard-config-1.5-evdevkbds.patch
Patch7: xkeyboard-config-1.5-suspend-hibernate.patch
BuildArch: noarch
@ -99,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/X11/xkb/rules/xorg.xml
%changelog
* Thu Mar 05 2009 Peter Hutterer <peter.hutterer@redhat.com> - 1.5-4
- xkeyboard-config-1.5-suspend-hibernate.patch: Map I213 to XF86Suspend, and
I255 to XF86Hibernate.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild