love.displayrotated
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.
Function
Synopsis
love.displayrotated( index, orientation )
Arguments
number index
- The index of the display that changed orientation.
DisplayOrientation orientation
- The new orientation.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info