KeyboardHook

KeyboardHook is a .Net library to capture keyboard events for the application that the library is hooked into. The reason I wrote the library is because I wanted a simple way to show windows etc when the user hits particular key combinations like CTRL+0 for open etc and every example I found either created global hooks so it triggered for all keyboard events from every application or they simply didn't work

The library is easy to use, you simply need to create a new instance of the object, wire up the KeyboardHookEvent event handler, then ensure that you start and stop the object as required. The library should be able to detect CTRL, Shift and ALT keyboard combinations.

Code Example

KeyboardHook Event Handler Code

 

Options:

Size

Colors