예제 #1
0
        //-----------------------------------------------------------------------------
        //	Drivers
        //-----------------------------------------------------------------------------

        public bool AddDriver(string controllerPath, Driver.ControllerInterface controllerInterface = Driver.ControllerInterface.Serial) => NativeMethods.manager_add_driver(handle, controllerPath, controllerInterface);
예제 #2
0
 public extern static bool manager_add_driver(manager_t m, [MarshalAs(UnmanagedType.LPStr)] string controllerPath, Driver.ControllerInterface controllerInterface);