mirror of https://github.com/minetest/minetest.git
fixup! basic tablet/phone/watch autodetection
This commit is contained in:
parent
e9c01e9d41
commit
345a37c4cf
|
@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* this could be done in future with D-Bus using query:
|
* this could be done in future with D-Bus using query:
|
||||||
* busctl get-property org.freedesktop.hostname1 /org/freedesktop/hostname1 org.freedesktop.hostname1 Chassis
|
* busctl get-property org.freedesktop.hostname1 /org/freedesktop/hostname1 org.freedesktop.hostname1 Chassis
|
||||||
*/
|
*/
|
||||||
bool detect_touch()
|
static bool detect_touch()
|
||||||
{
|
{
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue