Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

A WPF implementation for MultiKeyBindings like in Visual Studio.

License

Notifications You must be signed in to change notification settings

awesome-inc/WpfMultiKeyBindings

Repository files navigation

WpfMultiKeyBindings

A WPF implementation for MultiKeyBindings like in Visual Studio.

Build status NuGet Coverage Status

Here is a screenshot from the sample application

Screenshot of sample application

What is it?

When input speed is important users ask for keyboard shortcuts. As your feature list grows they will ask for more and more. Soon, you will run out of keys to use with the default KeyGesture. As you also don't want to collide with the default Windows control shortcuts, the way to go is to simply support longer gestures with unbound key sequences. Visual Studio extensions like ReSharper do this and this is exactly what you get here.

Usage

It's simple. Replace your existing KeyBinding with MultiKeyBinding. Then, have fun coming up with funny key combinations.

Just have a look at the sample application. The maximum delay between consecutive keys defaults to one second. Feel free to adjust.

Testing

To support automated testing there is the MockKeyboardDevice which you can use to mock keyboard states and to generate KeyEventArgs.

About

A WPF implementation for MultiKeyBindings like in Visual Studio.

Resources

License

Stars

Watchers

Forks

Packages