public static void enableCombinationRecognition(string combinationName, UInt32 userID, bool enable) { IntPtr namePtr = Marshal.StringToHGlobalAnsi(combinationName); FubiInternal.enableCombinationRecognition(namePtr, userID, enable); Marshal.FreeHGlobal(namePtr); }
public static void enableCombinationRecognition(FubiPredefinedGestures.Combinations combinationID, UInt32 userID, bool enable) { FubiInternal.enableCombinationRecognition(combinationID, userID, enable); }