Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


lua

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lua [2024/08/10 15:42] – [WatchMaker Lua API] korkmanlua [2024/10/20 20:29] (current) – Added volume controls frutejuise
Line 211: Line 211:
     wm_action('sw_start_stop'         -- start or stop the stopwatch     wm_action('sw_start_stop'         -- start or stop the stopwatch
     wm_action('sw_reset'              -- reset stopwatch     wm_action('sw_reset'              -- reset stopwatch
 +    wm_action('media_next'            -- next track
 +    wm_action('media_prev'            -- previous track
 +    wm_action('media_play'            -- play media       
 +    wm_action('media_pause'           -- pause media       
 +    wm_action('media_play_pause'      -- play paused media or pause playing media    
 +    wm_action('vol_up'                -- increase the volume on the connected phone
 +    wm_action('vol_down'              -- decrease the volume on the connected phone
     wm_action('m_update_weather'      -- update weather     wm_action('m_update_weather'      -- update weather
     wm_action('m_task:MyTask'         -- run Tasker task 'MyTask'     wm_action('m_task:MyTask'         -- run Tasker task 'MyTask'
lua.1723304565.txt.gz · Last modified: 2024/08/10 15:42 by korkman