1.0.8 • Published 6 years ago

@nk11/keyboard-interactions v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago
keyboard-interactions
Wrapper around keyboard inputs
Build Status Project License
Grade Badge Coverage Badge
Dependencies Dev Dependencies

Project Overview

This library contains a simple wrapper for different input methods. By introducing an 'action' to bind multiple input combos plus their handlers with it a better customisation by the user may be achieved.

For example:

function hello()
{    console.log("hello world") }

//bind the action to ctrl+space as default trigger
Hotkeys("hello-action", "ctrl+space", hello)

For the time being this is not meant to be a stand alone library But rather as a backend for a compatible GUI. For the reference implementation dowload npm "@nk/core-components" and check out the "nk-hotkey-dialog" example

Features

  • Better Usability by customizing Keyboard Inputs

credits, references, acknowledgements

technical goals

  • function as a no-gui backend for UI components that implement a keymap dialog

possible extensions

Build Status

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago