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 Core/Input/remote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ actions.MoveBy = function(x, y)
mouse.moveraw(x,y);
end

actions.MoveTo = function (x, y)
mouse.moveto(x, y);
actions.MoveTo = function (x, y, display)
mouse.moveto(x, y, display);
end

actions.MoveToPx = function (x, y)
Expand Down
2 changes: 0 additions & 2 deletions Main/BSPlayer/layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
<button icon="vup" onTap="volume_up" />
</row>
<row>
<button icon="rwd" onTap="fast_rewind" />
<button icon="left" onTap="rewind" />
<button icon="right" onTap="forward" />
<button icon="ff" onTap="fast_forward" />
</row>
<row>
<button icon="previous" onTap="previous" />
Expand Down
10 changes: 0 additions & 10 deletions Main/BSPlayer/remote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,6 @@ actions.stop = function()
actions.command(BSP_Stop);
end

--@help Fast rewind
actions.fast_rewind = function()
actions.command(BSP_FastRew);
end

--@help Rewind
actions.rewind = function()
actions.command(BSP_Rew);
end

--@help Forward
actions.forward = function()
actions.command(BSP_Forw);
Expand Down
2 changes: 2 additions & 0 deletions Main/Blender Numpad Advanced/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Blender Numpad Advanced
Keyboard shortcuts for Blender (advanced version).
2 changes: 2 additions & 0 deletions Main/Blender Numpad/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Blender Numpad
Keyboard shortcuts for Blender (basic version).
2 changes: 1 addition & 1 deletion Main/Chrome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Easily control your Chrome browser window from a distance. If you're trying to browse the web from your sofa at a distance then this remotes makes it easier to do the right thing (rather than trying to move the mouse).

## Features
* Navigation (back, fowrard, home)
* Navigation (back, forward, home)
* Tabs (open, close, next, previous)
* Find on current page
* Refresh current page
Expand Down
30 changes: 12 additions & 18 deletions Main/Chrome/layout.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
blue: #3369E8
red: #D50F25
yellow: #EEB211
green: #009925
-->
<layout onLaunch="launch" onVolumeUp="scroll_up" onVolumeDown="scroll_down" color="#3369E8">
<grid>
<row>
<button icon="left" onTap="back" color="#EEB211" />
<button icon="docclose" onTap="close_tab" color="#EEB211"/>
<button icon="right" onTap="forward" color="#EEB211" />
<button icon="left" onTap="back" />
<button icon="docclose" onTap="close_tab" />
<button icon="right" onTap="forward" />
</row>
<row>
<button icon="docleft" onTap="previous_tab" color="#D50F25" />
<button icon="docnew" onTap="new_tab" color="#D50F25" />
<button icon="docright" onTap="next_tab" color="#D50F25" />
<button icon="docleft" onTap="previous_tab" />
<button icon="docnew" onTap="new_tab" />
<button icon="docright" onTap="next_tab" />
</row>
<row>
<button icon="web" onTap="address" />
<button icon="home" onTap="home" />
<button icon="search" onTap="find" />
</row>
<row>
<button icon="zoomout" onTap="zoom_out" color="#009925" />
<button icon="zoomnormal" onTap="zoom_normal" color="#009925" />
<button icon="zoomin" onTap="zoom_in" color="#009925" />
<button icon="zoomout" onTap="zoom_out" />
<button icon="zoomnormal" onTap="zoom_normal" />
<button icon="zoomin" onTap="zoom_in" />
</row>
<row>
<button icon="down" onTap="scroll_down" color="#EEB211" />
<button icon="refresh" onTap="refresh" color="#EEB211" />
<button icon="up" onTap="scroll_up" color="#EEB211" />
<button icon="down" onTap="scroll_down" />
<button icon="refresh" onTap="refresh" />
<button icon="up" onTap="scroll_up" />
</row>
</grid>
</layout>
4 changes: 2 additions & 2 deletions Main/Chrome/remote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ end
--@help Scroll page down
actions.scroll_down = function()
actions.switch();
keyboard.stroke("space");
keyboard.stroke("pgdown");
end

--@help Scroll page up
actions.scroll_up = function()
actions.switch();
keyboard.stroke("shift", "space");
keyboard.stroke("pgup");
end

--@help Refresh current page
Expand Down
4 changes: 2 additions & 2 deletions Main/Chrome/remote_osx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ end
--@help Scroll page down
actions.scroll_down = function()
actions.switch();
keyboard.stroke("space");
keyboard.stroke("pgdown");
end

--@help Scroll page up
actions.scroll_up = function()
actions.switch();
keyboard.stroke("shift", "space");
keyboard.stroke("pgup");
end

--@help Refresh current page
Expand Down
12 changes: 12 additions & 0 deletions Main/Disney+/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Disney+
A remote control for Disney+

## Features
* Volume (up, down)
* Rewind & fast forward
* Toggle fullscreen
* Toggle playback (play, pause)

## Support
Developed and maintained by **Unified Remote**
https://www.unifiedremote.com/help
Binary file added Main/Disney+/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Main/Disney+/icon_hires.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Main/Disney+/layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<layout onVolumeUp="volume_up" onVolumeDown="volume_down" color="#0383DC" >
<row>
<button icon="vdown" ontap="volume_down" />
<button icon="vup" ontap="volume_up" />
</row>
<row>
<button icon="rwd" ontap="rewind" />
<button icon="ff" ontap="forward" />
</row>
<row>
<button icon="fullscreen" ontap="fullscreen" />
<button icon="playpause" ontap="play_pause" />
</row>
</layout>
4 changes: 4 additions & 0 deletions Main/Disney+/meta.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
meta.name: Disney+
meta.author: Unified
meta.description: Disney+ remote
meta.tags.category: media
36 changes: 36 additions & 0 deletions Main/Disney+/remote.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
local keyboard = libs.keyboard;

--@help Increase volume
actions.volume_down = function()
keyboard.press("down");
end

--@help Decrease volume
actions.volume_up = function()
keyboard.press("up");
end

--@help Rewind 10 seconds
actions.rewind = function()
keyboard.press("left");
end

--@help Forward 10 seconds
actions.forward = function()
keyboard.press("right");
end

--@help Enter fullscreen
actions.fullscreen = function()
keyboard.press("f");
end

--@help Exit fullscreen
actions.exit_fullscreen = function()
keyboard.press("esc");
end

--@help Toggle playback state
actions.play_pause = function()
keyboard.press("space");
end
15 changes: 15 additions & 0 deletions Main/Edge/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Edge
Easily control your Edge browser window from a distance. If you're trying to browse the web from your sofa at a distance then this remotes makes it easier to do the right thing (rather than trying to move the mouse).

## Features
* Navigation (back, forward, home)
* Tabs (open, close, next, previous)
* Find on current page
* Refresh current page
* Scroll up/down
* Zoom in/out
* Focus URL field

## Support
Developed and maintained by **Unified Remote**
https://www.unifiedremote.com/help
Binary file added Main/Edge/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Main/Edge/icon_hires.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Main/Edge/layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<layout onLaunch="launch" onVolumeUp="scroll_up" onVolumeDown="scroll_down" color="#5fc0d4">
<grid>
<row>
<button icon="left" onTap="back" />
<button icon="docclose" onTap="close_tab" />
<button icon="right" onTap="forward" />
</row>
<row>
<button icon="docleft" onTap="previous_tab" />
<button icon="docnew" onTap="new_tab" />
<button icon="docright" onTap="next_tab" />
</row>
<row>
<button icon="web" onTap="address" />
<button icon="home" onTap="home" />
<button icon="search" onTap="find" />
</row>
<row>
<button icon="zoomout" onTap="zoom_out" />
<button icon="zoomnormal" onTap="zoom_normal" />
<button icon="zoomin" onTap="zoom_in" />
</row>
<row>
<button icon="down" onTap="scroll_down" />
<button icon="refresh" onTap="refresh" />
<button icon="up" onTap="scroll_up" />
</row>
</grid>
</layout>
4 changes: 4 additions & 0 deletions Main/Edge/meta.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
meta.name: Edge
meta.author: Unified
meta.description: Microsoft Edge browser remote.
meta.tags.category: browser
115 changes: 115 additions & 0 deletions Main/Edge/remote.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
local keyboard = libs.keyboard;
local win = libs.win;
local device = libs.device;

events.detect = function ()
return libs.fs.exists("C:\\Program Files (x86)\\Microsoft\\Edge\\Application");
end

--@help Focus Edge application
actions.switch = function()
if OS_WINDOWS then
local hwnd = win.window("msedge.exe");
if (hwnd == 0) then actions.launch(); end
win.switchtowait("msedge.exe");
end
end

--@help Launch Edge application
actions.launch = function()
if OS_WINDOWS then
os.start("msedge");
end
end

--@help Naviagte back
actions.back = function()
actions.switch();
keyboard.stroke("menu", "left");
end

--@help Close current tab
actions.close_tab = function()
actions.switch();
keyboard.stroke("control", "W");
end

--@help Navigate forward
actions.forward = function()
actions.switch();
keyboard.stroke("menu", "right");
end

--@help Go to next tab
actions.next_tab = function()
actions.switch();
keyboard.stroke("control", "tab");
end

--@help Go to previous tab
actions.previous_tab = function()
actions.switch();
keyboard.stroke("control", "shift", "tab");
end

--@help Open new tab
actions.new_tab = function()
actions.switch();
keyboard.stroke("control", "T");
end

--@help Type address
actions.address = function()
actions.switch();
keyboard.stroke("control", "L");
device.keyboard();
end

--@help Go to home page
actions.home = function()
actions.switch();
keyboard.stroke("menu", "home");
end

--@help Find on current page
actions.find = function()
actions.switch();
keyboard.stroke("control", "F");
device.keyboard();
end

--@help Zoom page in
actions.zoom_in = function()
actions.switch();
keyboard.stroke("control", "oem_plus");
end

--@help Zoom page out
actions.zoom_out = function()
actions.switch();
keyboard.stroke("control", "oem_minus");
end

--@help Use normal zoom
actions.zoom_normal = function()
actions.switch();
keyboard.stroke("control", "0");
end

--@help Scroll page down
actions.scroll_down = function()
actions.switch();
keyboard.stroke("pgdown");
end

--@help Scroll page up
actions.scroll_up = function()
actions.switch();
keyboard.stroke("pgup");
end

--@help Refresh current page
actions.refresh = function()
actions.switch();
keyboard.stroke("F5");
end
Loading