Non-numeric keys enter, backspace, tab, minus, period, and arrow keys are supported, but the keys on the numpad themselves actually have different keycodes from those used in the code.
190 is the period key on the main keyboard, but 110 is the period key on the numpad. Likewise, 189 is the minus key on the main keyboard, but 109 is the minus key on the numpad.
To fix this, the code can be changed as such (easier than a fork and pull):
Non-numeric keys enter, backspace, tab, minus, period, and arrow keys are supported, but the keys on the numpad themselves actually have different keycodes from those used in the code.
190 is the period key on the main keyboard, but 110 is the period key on the numpad. Likewise, 189 is the minus key on the main keyboard, but 109 is the minus key on the numpad.
To fix this, the code can be changed as such (easier than a fork and pull):
to