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 | |
| parent | 47150651b9c0cd47aeb63a645069720066560e33 (diff) | |
| download | rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.zip rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.tar.gz rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.tar.bz2 rockbox-f3efc26445a7dafbdd03b20ec6ceeb61ade049fc.tar.xz | |
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')
| -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 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) |