Support and General Use > Plugins/Viewers
LUA coding for Sansa Fuze
LoneWolf_Recon:
Hey guys,
I just got a Sansa Fuze v2 and already installed RockBox on it, its amazing. ;D
But I was wondering if there is a guide for LUA coding, I mean I've seen tons of tutorials but if there is a guide for the actual Rockbox API for LUA. I've been itching to write some mobile programs.
Thanks,
Lone Wolf
EDIT:
Also, is there any Communication API with the Rockbox API, like USB or Serial? Or is that not yet implemented?
Llorean:
I'm not certain, but I think I remember hearing that it just exposes the regular plugin API.
LoneWolf_Recon:
Ok, through what exactly? Any sample LUAs in the build or is there a seperate DLoad for them?
Chronon:
The boomshine game is done in Lua.
LoneWolf_Recon:
Alright, its not to hard now looking at all the functions in plugins.h. Thanks again, btw.
But small question, how do you do a simple Beep command? I've found the rb.pcmbuf_beep() but it wont do squat..Sorry I'm still new to this stuff so yea :-\
--- Code: ---*blah blah*
rb.pcmbuf_beep(440, rb.HZ, 50)
*blah blah*
--- End code ---
Thanks
Navigation
[0] Message Index
[#] Next page
Go to full version