Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  LUA coding for Sansa Fuze
« previous next »
  • Print
Pages: [1]

Author Topic: LUA coding for Sansa Fuze  (Read 2574 times)

Offline LoneWolf_Recon

  • Member
  • *
  • Posts: 10
LUA coding for Sansa Fuze
« on: July 06, 2011, 08:42:57 PM »
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?
« Last Edit: July 06, 2011, 08:47:39 PM by LoneWolf_Recon »
Logged
Building crap since 2004.. ;D         Sansa Fuze v2

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: LUA coding for Sansa Fuze
« Reply #1 on: July 06, 2011, 08:51:36 PM »
I'm not certain, but I think I remember hearing that it just exposes the regular plugin API.
Logged

Offline LoneWolf_Recon

  • Member
  • *
  • Posts: 10
Re: LUA coding for Sansa Fuze
« Reply #2 on: July 06, 2011, 09:49:43 PM »
Ok, through what exactly? Any sample LUAs in the build or is there a seperate DLoad for them?
Logged
Building crap since 2004.. ;D         Sansa Fuze v2

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: LUA coding for Sansa Fuze
« Reply #3 on: July 06, 2011, 10:04:18 PM »
The boomshine game is done in Lua.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline LoneWolf_Recon

  • Member
  • *
  • Posts: 10
Re: LUA coding for Sansa Fuze
« Reply #4 on: July 07, 2011, 02:09:44 PM »
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: [Select]
*blah blah*
rb.pcmbuf_beep(440, rb.HZ, 50)
*blah blah*

Thanks
Logged
Building crap since 2004.. ;D         Sansa Fuze v2

Offline lilmac

  • Member
  • *
  • Posts: 4
Re: LUA coding for Sansa Fuze
« Reply #5 on: July 07, 2011, 07:46:35 PM »
new games would be great i have a fuze v1 so if u create a new game or games i will help  test them if you post them  :)
Logged

Offline LoneWolf_Recon

  • Member
  • *
  • Posts: 10
Re: LUA coding for Sansa Fuze
« Reply #6 on: July 08, 2011, 10:50:37 PM »
@lilmac
I'll be sure to send them to you  ;)
Logged
Building crap since 2004.. ;D         Sansa Fuze v2

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  LUA coding for Sansa Fuze
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.081 seconds with 14 queries.