aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-12-01 08:08:43 +0800
committeredwin <edwin@FreeBSD.org>2005-12-01 08:08:43 +0800
commit88634aaee60ba2129e38ae28eb8420abafbbac48 (patch)
tree9f93efb34c12f27c61d456353b419809a1cfc141 /misc
parent860c01b1a4d59046acc0ad6418fc49f77ed154f9 (diff)
downloadfreebsd-ports-gnome-88634aaee60ba2129e38ae28eb8420abafbbac48.tar.gz
freebsd-ports-gnome-88634aaee60ba2129e38ae28eb8420abafbbac48.tar.zst
freebsd-ports-gnome-88634aaee60ba2129e38ae28eb8420abafbbac48.zip
misc/hotkeys - definition file for Logitech UltraX keyboard
This is not a bug; it is an additional keyboard definition for hotkeys. This definition is for the keyboard Logitech UltraX. Add it if you want to. PR: ports/89617 Submitted by: Torfinn Ingolfsen <tingo@start.no> Approved by: Andy Pavlo <amp0928@rit.edu>
Diffstat (limited to 'misc')
-rw-r--r--misc/hotkeys/Makefile3
-rw-r--r--misc/hotkeys/files/logitech-ultrax.def21
-rw-r--r--misc/hotkeys/pkg-plist1
3 files changed, 24 insertions, 1 deletions
diff --git a/misc/hotkeys/Makefile b/misc/hotkeys/Makefile
index 7c04788a9d17..c9ef3dbcc2ab 100644
--- a/misc/hotkeys/Makefile
+++ b/misc/hotkeys/Makefile
@@ -6,7 +6,7 @@
PORTNAME= hotkeys
PORTVERSION= 0.5.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://ypwong.org/hotkeys/${PORTVERSION}/ \
${MASTER_SITE_XCONTRIB}
@@ -33,6 +33,7 @@ SAMPLE_CONFIG= ${PREFIX}/etc/hotkeys.conf.sample
post-extract:
@${CP} ${PATCHDIR}/error.h ${WRKSRC}/src
@${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def
+ @${CP} ${PATCHDIR}/logitech-ultrax.def ${WRKSRC}/def
post-install:
@${MV} ${ORIG_CONFIG} ${SAMPLE_CONFIG}
diff --git a/misc/hotkeys/files/logitech-ultrax.def b/misc/hotkeys/files/logitech-ultrax.def
new file mode 100644
index 000000000000..8434c79c9c26
--- /dev/null
+++ b/misc/hotkeys/files/logitech-ultrax.def
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<definition>
+
+ <config model="Logitech UltraX (USB) Keyboard">
+
+ <Record keycode="237"/> <!-- Media -->
+ <Play keycode="162"/> <!-- Play/Pause -->
+ <Mute keycode="160"/>
+ <Favorites keycode="230"/> <!-- Favoritter -->
+ <Email keycode="236"/> <!-- E-post -->
+ <WebBrowser keycode="178"/> <!-- WWW -->
+
+ </config>
+
+ <contributor>
+ <name>Torfinn Ingolfsen</name>
+ <email>tingo@start.no</email>
+ </contributor>
+
+</definition>
diff --git a/misc/hotkeys/pkg-plist b/misc/hotkeys/pkg-plist
index d1b8bbd449ac..305cedaa2144 100644
--- a/misc/hotkeys/pkg-plist
+++ b/misc/hotkeys/pkg-plist
@@ -11,6 +11,7 @@ share/hotkeys/kb9930.def
share/hotkeys/kb9963.def
share/hotkeys/kbp8993.def
share/hotkeys/logitech-cfo.def
+share/hotkeys/logitech-ultrax.def
share/hotkeys/mck800.def
share/hotkeys/msnatpro.def
share/hotkeys/msnet.def