I need this information to be able to adjust automatically the size of the in-game menus.
I think this is the solution : https://heaps.io/api/hxd/System.html#screenDPI