The lovr.system provides information about the current platform and hardware.


lovr.system.getCoreCountGet the number of logical cores.
lovr.system.getOSGet the current operating system.
lovr.system.getWindowDensityGet the window pixel density.
lovr.system.getWindowDimensionsGet the dimensions of the window.
lovr.system.getWindowHeightGet the height of the window.
lovr.system.getWindowWidthGet the width of the window.
lovr.system.isKeyDownGet the state of a key.
lovr.system.isWindowOpenCheck if the desktop window is open.
lovr.system.openWindowOpen the desktop window.
lovr.system.requestPermissionRequest permission to use a feature.