Added more actions for m3/m4, fixed scaling

This commit is contained in:
seerge
2023-03-05 18:23:38 +01:00
parent b40eb50e90
commit c8f4c4b0d4
11 changed files with 291 additions and 241 deletions

View File

@@ -11,6 +11,7 @@ public class NativeMethods
public const int VK_MEDIA_PLAY_PAUSE = 0xB3;
public const int VK_MEDIA_PREV_TRACK = 0xB1;
public const int VK_VOLUME_MUTE = 0xAD;
public const int VK_SNAPSHOT = 0x2C;
[DllImport("user32.dll", SetLastError = true)]
public static extern void keybd_event(byte virtualKey, byte scanCode, uint flags, IntPtr extraInfo);