diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/plugins/lua/button_helper.pl | 7 |
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$'; | |||
23 | print <<EOF | 23 | print <<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 | ||
28 | struct button | 28 | struct button |
29 | { | 29 | { |
@@ -45,6 +45,11 @@ while(my $line = <STDIN>) | |||
45 | } | 45 | } |
46 | 46 | ||
47 | print <<EOF | 47 | print <<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 | ||
50 | int main(void) | 55 | int main(void) |