Difference between revisions of "love.sensor.hasSensor"
(Created page with "{{newin|12.0|120|type=function}} Check if the specified sensor exist in the device. == Function == === Synopsis === <source lang="lua">available = love.sensor.hasSensor( s...") |
m |
||
Line 1: | Line 1: | ||
{{newin|[[12.0]]|120|type=function}} | {{newin|[[12.0]]|120|type=function}} | ||
− | Check if the specified sensor | + | Check if the specified sensor exists in the device. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Latest revision as of 16:52, 1 October 2023
Available since LÖVE 12.0 |
This function is not supported in earlier versions. |
Check if the specified sensor exists in the device.
Function
Synopsis
available = love.sensor.hasSensor( sensorType )
Arguments
SensorType sensorType
- Type of sensor to check.
Returns
boolean available
- Sensor availability status.
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