Unified Remote Custom for Milkdrop keys

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

GMGJ
Posts: 86
Joined: Mon Mar 12, 2007 3:17 pm
Contact:

Unified Remote Custom for Milkdrop keys

Post by GMGJ » Sun Oct 20, 2019 9:29 am

Did not know where to stick this, this seems as good a place as any. I use the Unified Remote server on a Windows PC with the Monkey and a Custom Remote on my android smartphone. Doc to do this is at https://www.unifiedremote.com/tutorials ... uts-remote

Finally, I have a remote that I can use to control Milkdrop
I use Mildrop For Milkdrop V2.25c + Media Monkey 4.+
(untested with Milk Drop 1.) but should work

My lua file
ocal kb = libs.keyboard;

-- Documentation
-- http://www.unifiedremote.com/api

-- Keyboard Library
-- http://www.unifiedremote.com/api/libs/keyboard

--@help scrolllock
actions.command1 = function ()
kb.stroke("scrolllock");
end

--@help Next Viz
actions.command3 = function ()
kb.stroke("H");
end

--@help Prev Viz
actions.command4 = function ()
kb.stroke("back");
end

--@help Toggle Random Viz
actions.command5 = function ()
kb.stroke("R");
end

--@help Show Viz Name
actions.command6 = function ()
kb.stroke("f4");
end

--@help show song
actions.command7 = function ()
kb.stroke("f2");
end

--@help next song
actions.command8 = function ()
kb.stroke("ctrl", "n");
end

--@help prev song
actions.command9 = function ()
kb.stroke("ctrl", "b");
end

--@help Pause Play
actions.command10 = function ()
kb.stroke("ctrl", "p");
end

--@help ESC
actions.command11 = function ()
kb.stroke("esc");
end

--@help Vol Up
actions.command12 = function ()
kb.stroke("volumeup");
end

--@help Vol Down
actions.command13 = function ()
kb.stroke("volumedown");
end


my layout file
<?xml version="1.0" encoding="utf-8"?>
<layout>
<row>
<button text="Lock Viz" ontap="command1" />
<button text="Next Viz" ontap="command3" />
<button text="Prev Viz" ontap="command4" />
</row>
<row>
<button text="Toggle Random Viz" ontap="command5" />
<button text="Show Viz Name" ontap="command6" />
</row>
<row>
<button text="Show Song" ontap="command7" />
<button text="Next Song" ontap="command8" />
<button text="Prev Song" ontap="command9" />
<button text="Pause" ontap="command10" />
</row>
<row>
<button text="ESC" ontap="command11" />
<button text="Vol Up" ontap="command12" />
<button text="Vol Dwn" ontap="command13" />
</row>
</layout>

Start the server and the monkey at the same time using a .cmd file
start "" "C:\Program Files (x86)\Unified Remote 3\RemoteServerWin.exe"
start "" "C:\Program Files (x86)\MediaMonkey\MediaMonkey.exe"