summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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>)
47print <<EOF 47print <<EOF
48{"BUTTON_REL", BUTTON_REL}, 48{"BUTTON_REL", BUTTON_REL},
49{"BUTTON_REPEAT", BUTTON_REPEAT}, 49{"BUTTON_REPEAT", BUTTON_REPEAT},
50#ifdef HAVE_TOUCHSCREEN
51{"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN}, 50{"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN},
52#endif
53}; 51};
54 52
55int main(void) 53int 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)
906 RB_CONSTANT(TOUCHSCREEN_BUTTON); 906 RB_CONSTANT(TOUCHSCREEN_BUTTON);
907#endif 907#endif
908 908
909 RB_CONSTANT(BUTTON_REL);
910 RB_CONSTANT(BUTTON_REPEAT);
911
912 rli_init(L); 909 rli_init(L);
913 910
914 return 1; 911 return 1;