Support tab key.

This commit is contained in:
Simo Kinnunen
2014-05-01 19:18:38 +09:00
parent 9041eabfc1
commit 26b2b1acc6
3 changed files with 3 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ module.exports = function ControlServiceFactory(
function ControlService(target, channel) {
var keyCodes = {
8: 8 // backspace
, 9: 9 // tab
, 13: 13 // enter
, 20: 20 // caps lock
, 27: 27 // esc