In SDL2 -- is there a good way to detect a tablet versus phone or determine the screen size (physical screen size --- inches/cm/etc.)?
I want to detect small screens and enlarge button sizes.
I'm looking for the SDL2 way of doing this, preferably, since it doesn't matter whether the device is Android/iPhone/etc.