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:
Maurus Cuelenaere 2009-07-03 23:03:07 +00:00
parent 366e1d93b5
commit 69c73e8bd6
2 changed files with 0 additions and 5 deletions

View file

@ -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)

View file

@ -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;