ov-keypad
v0.9.0
Published
Simple custom keypad
Downloads
1
Readme
ov-keypad
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