public Hooker(SetAppMode handler)
 {
     _keyboardMouseEvents               = Hook.GlobalEvents();
     _keyboardMouseEvents.KeyDown      += HookKeyPress;
     _keyboardMouseEvents.MouseDownExt += HookMousePress;
     _handler = handler;
     _logger  = new Logger();
 }