1
0
Fork 0
forked from len0rd/rockbox

Lua: also expose BUTTON_REL, BUTTON_REPEAT & BUTTON_TOUCHSCREEN

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21573 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-06-30 09:34:41 +00:00
parent 47150651b9
commit f3efc26445

View file

@ -23,7 +23,7 @@ $svnrev = '$Revision$';
print <<EOF print <<EOF
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include "button-target.h" #include "button.h"
struct button struct button
{ {
@ -45,6 +45,11 @@ while(my $line = <STDIN>)
} }
print <<EOF print <<EOF
{"BUTTON_REL", BUTTON_REL},
{"BUTTON_REPEAT", BUTTON_REPEAT},
#ifdef HAVE_TOUCHSCREEN
{"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN},
#endif
}; };
int main(void) int main(void)