rockbox/apps/plugins/lua/include_lua
William Wilgus f6e10b8488 Lua optimize combine and rework similar functions
rb.strncasecmp
    strcasecmp just exclude count -> rb.strncasecmp(s1, s2)

rb.backlight_brightness_set
    backlight_set_brightness -- redundant
    rb.backlight_brightness_use_setting -> rb.backlight_brightness_set()

rb.buttonlight_brightness_set
    buttonlight_set_brightness -- redundant
    rb.buttonlight_brightness_use_setting -> rb.buttonlight_brightness_set()

rb.mixer_frequency
    rb.mixer_set_frequency -> mixer_frequency(freq)
    rb.mixer_get_frequency -> mixer_frequency

rb.backlight_onoff
    rb.backlight_on  -> rb.backlight_onoff(true)
    rb.backlight_off -> rb.backlight_onoff(false)

rb.touchscreen_mode
    rb.touchscreen_set_mode -> rb.touchscreen_mode(mode)
    rb.touchscreen_get_mode -> rb.touchscreen_mode()

rb.schedule_cpu_boost
    rb.trigger_cpu_boost -> rb.schedule_cpu_boost(true)
    rb.cancel_cpu_boost -> rb.schedule_cpu_boost(false)

Includes rbcompat.lua for backwards compatibility
if your script is broken by this change you simply add
`require("rbcompat")` to the top for the old functionality

Change-Id: Ibffd79a0d9be6d7d6a65cc4af5c0a1c6a0f3f94d
2018-11-02 18:00:06 +01:00
..
audio.lua Lua Add underscores in audio, pcm, playlist functions 2018-10-31 09:23:00 -04:00
blit.lua Clean up rocklib_img 2018-10-09 01:02:25 +02:00
color.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
draw.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
image.lua Clean up rocklib_img 2018-10-09 01:02:25 +02:00
lcd.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
math_ex.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00
pcm.lua Lua Add underscores in audio, pcm, playlist functions 2018-10-31 09:23:00 -04:00
playlist.lua Lua Add underscores in audio, pcm, playlist functions 2018-10-31 09:23:00 -04:00
print.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
rbcompat.lua Lua optimize combine and rework similar functions 2018-11-02 18:00:06 +01:00
timer.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00