Available since LÖVE 11.3 |
This callback is not supported in earlier versions. |
Called when the device display orientation changed, for example, user rotated their phone 180 degrees.
love.displayrotated( index, orientation )
number index
DisplayOrientation orientation
Nothing.