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:
parent
47150651b9
commit
f3efc26445
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue