summaryrefslogtreecommitdiff
path: root/gamepad_config.c
diff options
context:
space:
mode:
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;