mirror of
https://github.com/evilC/AutoHotInterception.git
synced 2024-11-16 21:25:46 +00:00
Rename some endpoints
This commit is contained in:
parent
e634f91115
commit
15ba7a30e9
@ -104,7 +104,12 @@ public class InterceptionWrapper : IDisposable
|
|||||||
return true;
|
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;
|
int id;
|
||||||
id = GetDeviceId(vid, pid, true);
|
id = GetDeviceId(vid, pid, true);
|
||||||
@ -117,6 +122,11 @@ public class InterceptionWrapper : IDisposable
|
|||||||
return true;
|
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)
|
public void SendKeyEvent(ushort code, int state, int device = 1)
|
||||||
{
|
{
|
||||||
var stroke = new Stroke();
|
var stroke = new Stroke();
|
||||||
|
@ -33,7 +33,7 @@ class TestApp
|
|||||||
// //}), 0x413C, 0x2107);
|
// //}), 0x413C, 0x2107);
|
||||||
//}), 0x46D, 0xC52B);
|
//}), 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}");
|
// Console.WriteLine($"Mouse Axis Value: x={x}, y={y}");
|
||||||
////}), 0x46D, 0xC531); // G700s
|
////}), 0x46D, 0xC531); // G700s
|
||||||
|
Loading…
Reference in New Issue
Block a user