Lua: always expose BUTTON_TOUCHSCREEN and remove BUTTON_ constants from rocklib.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21630 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
366e1d93b5
commit
69c73e8bd6
2 changed files with 0 additions and 5 deletions
|
@ -47,9 +47,7 @@ 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)
|
||||
|
|
|
@ -906,9 +906,6 @@ LUALIB_API int luaopen_rock(lua_State *L)
|
|||
RB_CONSTANT(TOUCHSCREEN_BUTTON);
|
||||
#endif
|
||||
|
||||
RB_CONSTANT(BUTTON_REL);
|
||||
RB_CONSTANT(BUTTON_REPEAT);
|
||||
|
||||
rli_init(L);
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue