It would be helpful to know the actual width and height of the device in pixels regardless of content scaling. The reason for this is I want to modify my game to behave slightly differently on a tablet form factor (larger screen). I also want to be able to access this information from my config.lua, so this needs to be exposed in the system API, not the display API.;
To sum up, expose a new system call:
system.getInfo(“device-resolution”); – key can be changed to taste…
returns a { width = 320, height = 480, dpi = 96 }; type of structure…
Thanks! [import]uid: 44071 topic_id: 22217 reply_id: 322217[/import]