mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Lua: expose SCREEN_MAIN & SCREEN_REMOTE (for rb.lcd_*() functions)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21712 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a567d8228c
commit
59c4b6816b
1 changed files with 5 additions and 0 deletions
|
@ -596,6 +596,11 @@ LUALIB_API int luaopen_rock(lua_State *L)
|
||||||
RB_CONSTANT(TOUCHSCREEN_BUTTON);
|
RB_CONSTANT(TOUCHSCREEN_BUTTON);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
RB_CONSTANT(SCREEN_MAIN);
|
||||||
|
#ifdef HAVE_REMOTE_LCD
|
||||||
|
RB_CONSTANT(SCREEN_REMOTE);
|
||||||
|
#endif
|
||||||
|
|
||||||
rli_init(L);
|
rli_init(L);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue