js logs refactoring

This commit is contained in:
Devaev Maxim
2018-11-05 06:20:05 +03:00
parent 9f2c0dd14e
commit 43bbf725b8
6 changed files with 18 additions and 18 deletions

View File

@@ -173,7 +173,7 @@ function Keyboard() {
var __sendKey = function(el_key, state) {
var code = el_key.getAttribute("data-key");
tools.debug("Key", (state ? "pressed:" : "released:"), code);
tools.debug("Keyboard: key", (state ? "pressed:" : "released:"), code);
if (__ws) {
__ws.send(JSON.stringify({
event_type: "key",