// This code is distributed under MIT license. // Copyright (c) 2015 George Mamaladze // See license.txt or https://mit-license.org/ using Gma.System.MouseKeyHook.Implementation; namespace Gma.System.MouseKeyHook { /// /// This is the class to start with. /// public static class Hook { /// /// Here you find all application wide events. Both mouse and keyboard. /// /// /// Returned instance is used for event subscriptions. /// You can refetch it (you will get the same instance anyway). /// public static IKeyboardMouseEvents AppEvents() { return new AppEventFacade(); } /// /// Here you find all application wide events. Both mouse and keyboard. /// /// /// Returned instance is used for event subscriptions. /// You can refetch it (you will get the same instance anyway). /// public static IKeyboardMouseEvents GlobalEvents() { return new GlobalEventFacade(); } } }