Support for iOS builds! #21

Merged
Kolyah35 merged 21 commits from ios-support into main 2026-04-06 21:58:51 +02:00
Showing only changes of commit fe73853a64 - Show all commits

View File

@@ -1106,9 +1106,9 @@ void Minecraft::releaseMouse()
} }
bool Minecraft::useTouchscreen() { bool Minecraft::useTouchscreen() {
#if TARGET_OS_IPHONE #if defined(TARGET_OS_IPHONE)
return true; return true;
#elif RPI #elif defined(RPI)
return false; return false;
#endif #endif
return options.getBooleanValue(OPTIONS_USE_TOUCHSCREEN) && !_supportsNonTouchscreen; return options.getBooleanValue(OPTIONS_USE_TOUCHSCREEN) && !_supportsNonTouchscreen;