A cross-platform way to detect Operational System double-click min interval with C++ -


my application targeted windows, linux , mac osx. currently, have implementation of double-clicking uses hard-coded threshold of time between clicks differentiate between single , double clicks (i don't use gui libraries, since application precisely relies on custom gui implementation).

however, application ready shipment , have more proper implementation of double-clicking. that, mean 1 reads double-clicking minimum time interval being used user in operational system, instead of arbitrarily defining such interval. me, relevance of should obvious, if not, thinking avoiding problems are, instance, mentioned in comments answer question: double click, how handle it?

the problem here sums this: how read operational-system double-clicking min interval in cross platform application written in c++ , not use gui libraries? there way read such system-level information works windows, linux , os-x?

i surprised it's hard find information on that, considering 1 suppose it's such fundamental, basic, thing have in application (although there seems discussions on difficulties achieve that, e.g. 1 int glfw's feature-suggestion forums)

any appreciated.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -