To develop a responsive application we need to know if the user is using his finger or a mouse to adapt the behavior of the application. For instance, if the screen is touchable, the buttons will be bigger...
We can listen to Window.onTouch
events and Window.onMouse
events to guess if the screen is touchable.
But I would like to know it when the application is loading : before any interaction by the user.
How can I do that ?