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 43307a0e52..d8e83e6347 100755
--- a/apps/plugins/lua/button_helper.pl
+++ b/apps/plugins/lua/button_helper.pl
@@ -23,7 +23,7 @@ $svnrev = '$Revision$';
23print <<EOF 23print <<EOF
24#include <stdio.h> 24#include <stdio.h>
25#include <stdbool.h> 25#include <stdbool.h>
26#include "button-target.h" 26#include "button.h"
27 27
28struct button 28struct button
29{ 29{
@@ -45,6 +45,11 @@ while(my $line = <STDIN>)
45} 45}
46 46
47print <<EOF 47print <<EOF
48{"BUTTON_REL", BUTTON_REL},
49{"BUTTON_REPEAT", BUTTON_REPEAT},
50#ifdef HAVE_TOUCHSCREEN
51{"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN},
52#endif
48}; 53};
49 54
50int main(void) 55int main(void)