diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-30 09:34:41 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-30 09:34:41 +0000 |
commit | f3efc26445a7dafbdd03b20ec6ceeb61ade049fc (patch) | |
tree | ef78014d06ad639630f1dd74d226dd131c6bf23f /apps/plugins/lua | |
parent | 47150651b9c0cd47aeb63a645069720066560e33 (diff) | |
download | rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.tar.gz rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.zip |
Lua: also expose BUTTON_REL, BUTTON_REPEAT & BUTTON_TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua')
-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) |