summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-30 09:34:41 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-30 09:34:41 +0000
commitf3efc26445a7dafbdd03b20ec6ceeb61ade049fc (patch)
treeef78014d06ad639630f1dd74d226dd131c6bf23f
parent47150651b9c0cd47aeb63a645069720066560e33 (diff)
downloadrockbox-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
-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)