summaryrefslogtreecommitdiff
path: root/gamepad_config.c
diff options
context:
space:
mode:
authorAndreas Hagmann <andreas@macbookpro.home>2013-11-16 19:25:06 +0100
committerAndreas Hagmann <andreas@macbookpro.home>2013-11-16 19:25:06 +0100
commit0c7f36069d8524cf1f7200f0389c9a20d4048342 (patch)
tree6dfcda1525c0c0f5d32771586f3ab1cd7e6e089f /gamepad_config.c
downloadvdr-plugin-gamepad-0c7f36069d8524cf1f7200f0389c9a20d4048342.tar.gz
vdr-plugin-gamepad-0c7f36069d8524cf1f7200f0389c9a20d4048342.tar.bz2
initial commit
Diffstat (limited to 'gamepad_config.c')
-rwxr-xr-xgamepad_config.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gamepad_config.c b/gamepad_config.c
new file mode 100755
index 0000000..deda16f
--- /dev/null
+++ b/gamepad_config.c
@@ -0,0 +1,17 @@
+/*
+ * gamepad.c: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id$
+ */
+#include "gamepad_config.h"
+#include <string.h>
+
+cGamepadConfig::cGamepadConfig()
+{
+ strncpy(device, "/dev/input/js0", sizeof(device));
+ testMode = 0;
+}
+
+cGamepadConfig gamepadConfig;