Keypress 2.0.1

There is a newer version of this package available.
See the version list below for details.
Install-Package Keypress -Version 2.0.1
dotnet add package Keypress --version 2.0.1
<PackageReference Include="Keypress" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Keypress --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Keypress, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Keypress as a Cake Addin
#addin nuget:?package=Keypress&version=2.0.1

// Install Keypress as a Cake Tool
#tool nuget:?package=Keypress&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

For details and documentation, please visit

This package installs the library's JavaScript file and the minimized version of that file.

Copyright 2012 David Mauro released under the Apache License, version 2.0

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3 2,571 8/2/2014
2.0.2 791 5/5/2014
2.0.1 800 2/9/2014
1.0.9 799 11/25/2013 757 9/29/2013
1.0.8 856 9/29/2013


- Fixed a big ole bug with meta/cmd combos. Thanks to lexey111. Issue #29.
- Fixed a bug with the Windows key being released on Windows systems. Issue #27.


-Keypress now has a listener class that must be instantiated. The functions that were previously in the global window.keypress object are now public methods of the window.keypress.Listener class.
- Each instance of a Keypress listener can be bound to a DOM element by passing in the element to the listener's constructor.
-Combos now default to being ordered (the property is now called is_unordered and is false by default).
- Combos' handlers preventDefault unless the handler returns true.
- The "combo" public method is now called "simple_combo".
- The basic combo helpers for simple, counting and sequence combos no longer have a third prevent_default optional parameter.
- Debugging console logs can be enabled by setting keypress.debug to true.
- All key event callbacks send a third argument specifying whether the event is firing again automatically because the key has remained pressed down.