summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-28 02:48:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-10-28 02:48:33 +0100
commit58b8ac748e6c2b73864342c6b7fa4dad5d6efc91 (patch)
tree0d4f337a39a37678db8bccd7bd95a030c5201550 /ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
parent433d07e510b060636e5f4c223d464f9015d4d2e9 (diff)
switch input axis for freepie-udp
Issue: #90 Requested-by: @KyokushinPL
Diffstat (limited to 'ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h')
-rw-r--r--ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
index 0cec952f..2dfb4e8f 100644
--- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
+++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
@@ -15,10 +15,13 @@ using namespace options;
struct settings {
pbundle b;
- value<int> port;
+ value<int> port, idx_x, idx_y, idx_z;
settings() :
b(bundle("freepie-udp-tracker")),
- port(b, "port", 4237)
+ port(b, "port", 4237),
+ idx_x(b, "axis-index-x", 0),
+ idx_y(b, "axis-index-y", 1),
+ idx_z(b, "axis-index-z", 2)
{}
};