summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-joystick/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-joystick/files')
-rw-r--r--media-plugins/vdr-joystick/files/confd7
-rw-r--r--media-plugins/vdr-joystick/files/mapping.conf25
-rw-r--r--media-plugins/vdr-joystick/files/rc-addon.sh11
3 files changed, 43 insertions, 0 deletions
diff --git a/media-plugins/vdr-joystick/files/confd b/media-plugins/vdr-joystick/files/confd
new file mode 100644
index 000000000000..d3b4d2cd9345
--- /dev/null
+++ b/media-plugins/vdr-joystick/files/confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/vdr.joystick
+# $Id$
+
+### Joystick device
+# default: /dev/js0
+#VDR_JOYSTICK_DEVICE="/dev/js0"
+
diff --git a/media-plugins/vdr-joystick/files/mapping.conf b/media-plugins/vdr-joystick/files/mapping.conf
new file mode 100644
index 000000000000..6f7f593d0950
--- /dev/null
+++ b/media-plugins/vdr-joystick/files/mapping.conf
@@ -0,0 +1,25 @@
+##############################
+# vdr-joystick: mapping.conf
+##############################
+
+# With version 0.0.3 axis mappings became possible.
+# Each entry represents one axis in the following format:
+# <axis number>:<off value>:<threshold>:<value1>:<value2>:<value3>: ...
+#
+# This is an example which works for the hat of my Wingman Extreme:
+# 2:7800:1000:0:-12000:-32700
+# and leads to the following results:
+# value button
+# 6800 - 8800 none
+# -1000 - 1000 0
+# -13000 - -11000 1
+# -33700 - -31700 2
+#
+# If an axis is not mapped in mappings.conf a standard entry will be generated
+# which has the same effect like the axis handling of version 0.0.2:
+# <num>:0:20000:-25000:25000
+#
+
+# Wingman Extreme
+# 2:7800:1000:0:-12000:-32700
+
diff --git a/media-plugins/vdr-joystick/files/rc-addon.sh b/media-plugins/vdr-joystick/files/rc-addon.sh
new file mode 100644
index 000000000000..5546cf44ca7d
--- /dev/null
+++ b/media-plugins/vdr-joystick/files/rc-addon.sh
@@ -0,0 +1,11 @@
+# $Id$
+#
+# rc-addon plugin-startup-skript for vdr-joystick
+#
+# zulio <zulio(at)zulinux.net>
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-d ${VDR_JOYSTICK_DEVICE:=/dev/js0}"
+}
+