IHotkeyInterception CreateNewInterception(int keyCode) { var interception = hotkeyInterceptionFactory.CreateInterception( keyCode, true, false); return(interception); }
public PasteHotkeyInterceptor( ILogger logger, IHotkeyInterceptionFactory hotkeyInterceptionFactory) { this.logger = logger; hotkeyInterception = hotkeyInterceptionFactory.CreateInterception( KeyboardApi.VK_KEY_V, true, true); }
public PasteHotkeyInterceptor( ILogger logger, IHotkeyInterceptionFactory hotkeyInterceptionFactory) { this.logger = logger; IsEnabled = true; hotkeyInterception = hotkeyInterceptionFactory.CreateInterception( Key.V, true, true); }