Permalink
Browse files

SWIG bindings: Add set_remote_config() function

  • Loading branch information...
1 parent b80f3d5 commit eb12598c8e50c8e161af7607f32288d61414756c @thp committed Nov 20, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 bindings/swig/psmove.i
View
@@ -12,6 +12,7 @@
%rename PSMove_Connection_Type ConnectionType;
%rename PSMove_Frame Frame;
%rename PSMoveTracker_Status Status;
+%rename PSMove_RemoteConfig RemoteConfig;
%module psmoveapi
#elif defined (SWIGCSHARP)
@@ -24,6 +25,7 @@
%rename PSMove_Connection_Type ConnectionType;
%rename PSMove_Frame Frame;
%rename PSMoveTracker_Status Status;
+%rename PSMove_RemoteConfig RemoteConfig;
%module psmoveapi_csharp
#else
@@ -93,6 +95,8 @@ typedef struct {} PSMoveTracker;
#endif /* PSMOVE_BUILD_TRACKER */
+void set_remote_config(enum PSMove_RemoteConfig config);
+
int count_connected();
void reinit();
@@ -400,6 +404,11 @@ PSMove_mz_get(PSMove *move) {
return result;
}
+void set_remote_config(enum PSMove_RemoteConfig config)
+{
+ return psmove_set_remote_config(config);
+}
+
int count_connected()
{
return psmove_count_connected();

0 comments on commit eb12598

Please sign in to comment.