Skip to content

Model a 4x4 matrix keypad into an Alpha-Numeric keypad with six function keys and extended characters.

License

Notifications You must be signed in to change notification settings

OnVelocity/ov-keypad

Repository files navigation

ov-keypad NPM version Build Status Dependency Status Coverage percentage

Extend a 4x4 matrix keypad into an Alpha-Numeric keypad with six function keys and extended characters.

Note only compatible with ECMAScript 6 (ES6).

4x4 Matrix with Keys labeled as follows:
1 2 3 F
4 5 6 C
7 8 9 D
A 0 B C

Interpret multiple key presses to return extended characters:
1) 1 . @ _ :
2) 2 a b c |
3) 3 d e f !
4) 4 g h i $
5) 5 j k l /
6) 6 m n o ,
7) 7 p q r s
8) 8 t u v \
9) 9 w x y z
0) 0 ? + - =
A) F1 * space #
B) F2
C) F3
D) F4
E) F5
F) F6

Installation

$ npm install --save ov-keypad

Usage

var ovKeypad = require('ov-keypad');

var keypad = new ovKeypad();

License

MIT © OnVelocity

About

Model a 4x4 matrix keypad into an Alpha-Numeric keypad with six function keys and extended characters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published