public static extern int xslam_start_event_stream(device_stream_callback cb);
Input:
public delegate void device_stream_callback(XvEvent xvEvent);
XvEvent 结构体
[StructLayout(LayoutKind.Sequential)]
public struct XvEvent
{
public double hostTimestamp;
public long edgeTimestampUs;
public int type;
public int state;
};
注意:B50R v2 眼镜 功能键为 13 14