Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Main/Plex Keyboard/layout.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<layout onlaunch="launch" color="#FF9500">
<layout onlaunch="launch" onVolumeUp="volume_up" onVolumeDown="volume_down" color="#FF9500">
<tabs>
<tab text="Main">
<row>
Expand Down Expand Up @@ -39,4 +39,4 @@
</row>
</tab>
</tabs>
</layout>
</layout>
12 changes: 12 additions & 0 deletions Main/Plex Keyboard/remote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,15 @@ actions.info = function ()
actions.switch();
kb.press("i");
end

--@help Volume Down
actions.volume_down = function ()
actions.switch();
kb.press("volumedown")
end

--@help Volume Up
actions.volume_up = function ()
actions.switch();
kb.press("volumeup")
end