summaryrefslogtreecommitdiff
path: root/apps/plugins/lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua')
-rwxr-xr-xapps/plugins/lua/button_helper.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/lua/button_helper.pl b/apps/plugins/lua/button_helper.pl
index 43307a0..d8e83e6 100755
--- a/apps/plugins/lua/button_helper.pl
+++ b/apps/plugins/lua/button_helper.pl
@@ -23,7 +23,7 @@ $svnrev = '$Revision$';
print <<EOF
#include <stdio.h>
#include <stdbool.h>
-#include "button-target.h"
+#include "button.h"
struct button
{
@@ -45,6 +45,11 @@ 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)