src/Carnac.Tests/KeyStreams.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.Windows.Forms;
using Carnac.Logic.KeyMonitor;
namespace Carnac.Tests
{
public static class KeyStreams
{
public static KeyPlayer WinkeyE()
{
return new KeyPlayer
{
new InterceptKeyEventArgs(Keys.LWin, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.E, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.E, KeyDirection.Up, false, false, false),
new InterceptKeyEventArgs(Keys.LWin, KeyDirection.Up, false, false, false),
};
}
public static KeyPlayer ExclaimationMark()
{
return new KeyPlayer
{
new InterceptKeyEventArgs(Keys.LShiftKey, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.D1, KeyDirection.Down, false, false, true),
new InterceptKeyEventArgs(Keys.D1, KeyDirection.Up, false, false, true),
new InterceptKeyEventArgs(Keys.LShiftKey, KeyDirection.Up, false, false, true),
};
}
public static KeyPlayer Number1()
{
return new KeyPlayer
{
new InterceptKeyEventArgs(Keys.D1, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.D1, KeyDirection.Up, false, false, false)
};
}
public static KeyPlayer LetterL()
{
return new KeyPlayer
{
new InterceptKeyEventArgs(Keys.L, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.L, KeyDirection.Up, false, false, false),
};
}
public static KeyPlayer ShiftL()
{
return new KeyPlayer
{
new InterceptKeyEventArgs(Keys.LShiftKey, KeyDirection.Down, false, false, false),
new InterceptKeyEventArgs(Keys.L, KeyDirection.Down, false, false, true),
new InterceptKeyEventArgs(Keys.L, KeyDirection.Up, false, false, true),
new InterceptKeyEventArgs(Keys.LShiftKey, KeyDirection.Up, false, false, true),
};
}
public static KeyPlayer CtrlShiftL()
{
后面还有 23 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。