summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/plugins/lua/button_helper.pl2
-rw-r--r--apps/plugins/lua/rocklib.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/lua/button_helper.pl b/apps/plugins/lua/button_helper.pl
index 549619c971..7af3231b11 100755
--- a/apps/plugins/lua/button_helper.pl
+++ b/apps/plugins/lua/button_helper.pl
@@ -47,9 +47,7 @@ while(my $line = <STDIN>)
print <<EOF
{"BUTTON_REL", BUTTON_REL},
{"BUTTON_REPEAT", BUTTON_REPEAT},
-#ifdef HAVE_TOUCHSCREEN
{"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN},
-#endif
};
int main(void)
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c
index 410916b2f9..64c1a03d64 100644
--- a/apps/plugins/lua/rocklib.c
+++ b/apps/plugins/lua/rocklib.c
@@ -906,9 +906,6 @@ LUALIB_API int luaopen_rock(lua_State *L)
RB_CONSTANT(TOUCHSCREEN_BUTTON);
#endif
- RB_CONSTANT(BUTTON_REL);
- RB_CONSTANT(BUTTON_REPEAT);
-
rli_init(L);
return 1;