From 17f1b6a44755e966c00f45c85b0ae26d1a2c3532 Mon Sep 17 00:00:00 2001 From: sylvieee-iot Date: Tue, 31 Dec 2024 17:39:59 +0200 Subject: [PATCH] Remove backshots on Android --- src/lua.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lua.cpp b/src/lua.cpp index d56e23e5..98e83222 100644 --- a/src/lua.cpp +++ b/src/lua.cpp @@ -444,7 +444,9 @@ void LuaManager::initializeThunks() { }; luaL_register(L, "GLOBALS", functions); +#ifdef __ANDROID__ Haptics::registerFunctions(L); +#endif // Add values for event enum addIntConstant(LuaEvent::Frame, "__Frame");