Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-02-08 21:51:53 +0000
committerStijn Buys <ingar@osirion.org>2015-02-08 21:51:53 +0000
commit77d877160d5c3b8a7e9c30e81bd6ca1f4060b5f9 (patch)
tree7e3c8de8f0aeea2e03b086b5ff1a3c7b60892e25 /src/client/control.cc
parent4fdf7de0f1454966754bb22d1828fc2b69c172f4 (diff)
Added a menu to configure key controls.
Diffstat (limited to 'src/client/control.cc')
-rw-r--r--src/client/control.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/client/control.cc b/src/client/control.cc
new file mode 100644
index 0000000..ab8c99f
--- /dev/null
+++ b/src/client/control.cc
@@ -0,0 +1,23 @@
+/*
+ client/control.h
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
+*/
+
+#include "client/control.h"
+
+namespace client
+{
+
+Control::Control(const char *name, const char *command, const char *keyname)
+{
+ _name.assign(name);
+ _command.assign(command);
+ _keyname.assign(keyname);
+}
+
+Control::~Control()
+{
+}
+
+} // namespace client