private static extern void Register(DirectionCallback onStep, DirectionCallback onRelease, PlateCallback onSensoState);
public void registerCallback(DirectionCallback cb, IntPtr /*void*/ userdata) { osvrRegisterDirectionCallback(m_interface, cb, userdata); }
public extern static Byte osvrRegisterDirectionCallback(SafeClientInterfaceHandle iface, [MarshalAs(UnmanagedType.FunctionPtr)] DirectionCallback cb, IntPtr /*void**/ userdata);
protected override void Start() { cb = new DirectionCallback(this.InterfaceCallback); Interface.osvrRegisterDirectionCallback(iface.Handle, cb, IntPtr.Zero); }