We're developing a Unity editor extension. For that we need to know the double click interval of the OS. On windows you can get this with an external call like so (how to get the double-click-time in WPF):
[DllImport("user32.dll")]
static extern uint GetDoubleClickTime();
This obviously doesn't work on MacOS. Is there something similar? We found the nsevent doubleClickInterval (https://developer.apple.com/documentation/appkit/nsevent/1528384-doubleclickinterval) which seems to be the equivalent on Mac, but how to call this from .NET?
Any hints are greatly appreciated! Thank you!