-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
92 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Remotely.Desktop.Core.Enums | ||
{ | ||
public enum ButtonAction | ||
{ | ||
Down, | ||
Up | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
namespace Remotely.Desktop.Core.Interfaces | ||
using Remotely.Desktop.Core.Enums; | ||
using Remotely.Desktop.Core.Services; | ||
|
||
namespace Remotely.Desktop.Core.Interfaces | ||
{ | ||
public interface IKeyboardMouseInput | ||
{ | ||
void SendKeyDown(string key); | ||
void SendKeyUp(string key); | ||
void SendMouseMove(double percentX, double percentY, Services.Viewer viewer); | ||
void SendLeftMouseDown(double percentX, double percentY, Services.Viewer viewer); | ||
void SendLeftMouseUp(double percentX, double percentY, Services.Viewer viewer); | ||
void SendRightMouseDown(double percentX, double percentY, Services.Viewer viewer); | ||
void SendRightMouseUp(double percentX, double percentY, Services.Viewer viewer); | ||
void SendMouseWheel(int deltaY); | ||
void SendText(string transferText); | ||
void ToggleBlockInput(bool toggleOn); | ||
void SetKeyStatesUp(); | ||
void SendMouseButtonAction(int button, ButtonAction buttonAction, double percentX, double percentY, Viewer viewer); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters