I would like to target Windows and Chrome tablets but as you probably know the OS is considered a desktop OS.
So in case I wan to check if the game is running on mobile, it returns false even though I have no physical keyboard attached to the devices. As a result touch controls doesn’t work as expected.
Would be nice to be able to specifically look for physical keyboard, mouse and touch in addition to check if the game is running on mobile device or not so we can prepare our game for any scenario. Mobile OS with keyboard and Desktop OS with touch.
Of course we can allow the player to choose how to play the game, with touch or keyboard and mouse but I would like to make the game smart and to switch between the two on it own also during the game if the player connected a keyboard and especially if disconnected the keyboard and mouse for example.