Rename some endpoints

Mouse
evilC 6 years ago
parent e634f91115
commit 15ba7a30e9

@ -104,7 +104,12 @@ public class InterceptionWrapper : IDisposable
return true;
}
public bool SubscribeMouseMovement(bool block, dynamic callback, int vid, int pid)
public bool SubscribeMouseMove(bool block, dynamic callback, int vid, int pid)
{
return SubscribeMouseMoveRelative(block, callback, vid, pid);
}
public bool SubscribeMouseMoveRelative(bool block, dynamic callback, int vid, int pid)
{
int id;
id = GetDeviceId(vid, pid, true);
@ -117,6 +122,11 @@ public class InterceptionWrapper : IDisposable
return true;
}
public bool SubscribeMouseMoveAbsolute(bool block, dynamic callback, int vid, int pid)
{
throw new NotImplementedException();
}
public void SendKeyEvent(ushort code, int state, int device = 1)
{
var stroke = new Stroke();

@ -33,7 +33,7 @@ class TestApp
// //}), 0x413C, 0x2107);
//}), 0x46D, 0xC52B);
//iw.SubscribeMouseMovement(false, new Action<int, int>((x, y) =>
//iw.SubscribeMouseMoveRelative(false, new Action<int, int>((x, y) =>
//{
// Console.WriteLine($"Mouse Axis Value: x={x}, y={y}");
////}), 0x46D, 0xC531); // G700s

Loading…
Cancel
Save