diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-03 23:03:07 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-03 23:03:07 +0000 |
commit | 69c73e8bd6c8c6ac79c6538cb0ad4686b9d1d920 (patch) | |
tree | 7bab3843bfe24cbdbb5153baba12827bcd755a72 /apps/plugins/lua | |
parent | 366e1d93b5712933fd466062586c70cb42c8636e (diff) | |
download | rockbox-69c73e8bd6c8c6ac79c6538cb0ad4686b9d1d920.tar.gz rockbox-69c73e8bd6c8c6ac79c6538cb0ad4686b9d1d920.zip |
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
Diffstat (limited to 'apps/plugins/lua')
-rwxr-xr-x | apps/plugins/lua/button_helper.pl | 2 | ||||
-rw-r--r-- | apps/plugins/lua/rocklib.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/lua/button_helper.pl b/apps/plugins/lua/button_helper.pl index 549619c971..7af3231b11 100755 --- a/apps/plugins/lua/button_helper.pl +++ b/apps/plugins/lua/button_helper.pl | |||
@@ -47,9 +47,7 @@ while(my $line = <STDIN>) | |||
47 | print <<EOF | 47 | print <<EOF |
48 | {"BUTTON_REL", BUTTON_REL}, | 48 | {"BUTTON_REL", BUTTON_REL}, |
49 | {"BUTTON_REPEAT", BUTTON_REPEAT}, | 49 | {"BUTTON_REPEAT", BUTTON_REPEAT}, |
50 | #ifdef HAVE_TOUCHSCREEN | ||
51 | {"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN}, | 50 | {"BUTTON_TOUCHSCREEN", BUTTON_TOUCHSCREEN}, |
52 | #endif | ||
53 | }; | 51 | }; |
54 | 52 | ||
55 | int main(void) | 53 | int main(void) |
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c index 410916b2f9..64c1a03d64 100644 --- a/apps/plugins/lua/rocklib.c +++ b/apps/plugins/lua/rocklib.c | |||
@@ -906,9 +906,6 @@ LUALIB_API int luaopen_rock(lua_State *L) | |||
906 | RB_CONSTANT(TOUCHSCREEN_BUTTON); | 906 | RB_CONSTANT(TOUCHSCREEN_BUTTON); |
907 | #endif | 907 | #endif |
908 | 908 | ||
909 | RB_CONSTANT(BUTTON_REL); | ||
910 | RB_CONSTANT(BUTTON_REPEAT); | ||
911 | |||
912 | rli_init(L); | 909 | rli_init(L); |
913 | 910 | ||
914 | return 1; | 911 | return 1; |