Remove uppercase from keyboard hat activators

This commit is contained in:
Tim Mickel 2016-09-07 16:00:22 -04:00 committed by GitHub
parent 3fcd70a802
commit f7e339f7c2

View file

@ -62,12 +62,11 @@ Keyboard.prototype.postData = function (data) {
this.runtime.startHats('event_whenkeypressed', this.runtime.startHats('event_whenkeypressed',
{ {
'KEY_OPTION': this._keyCodeToScratchKey(data.keyCode) 'KEY_OPTION': this._keyCodeToScratchKey(data.keyCode)
.toUpperCase()
}); });
this.runtime.startHats('event_whenkeypressed', this.runtime.startHats('event_whenkeypressed',
{ {
'KEY_OPTION': 'ANY' 'KEY_OPTION': 'any'
}); });
} }
} else if (index > -1) { } else if (index > -1) {