/// <summary> /// Returns the human readable name of the pointer device, not guaranteed to be localized, uniquely identifiable nor constant. /// </summary> public static string DeviceName(uint index) { ThrowIfWrongCaller(); return(Marshal.PtrToStringAnsi(Native.ManyMouse_DeviceName(index))); }
/// <summary> /// Call in a while > 0 loop to fetch all buffered mouse events. /// </summary> public static int PollEvent(out ManyMouseEvent mouseEvent) { ThrowIfWrongCaller(); mouseEvent = new ManyMouseEvent(); return(Native.ManyMouse_PollEvent(ref mouseEvent)); }