lib/ps4socket.js
function(packet) {
        packet.commandId = packet.readInt();
        packet.command = packet.commandId === 0
            ? 'return'
            : 'close';
        this.emit('osk_command', packet);
    }
function(packet) {
        packet.commandId = packet.readInt();
        packet.command = packet.commandId === 0
            ? 'return'
            : 'close';
        this.emit('osk_command', packet);
    }
function ( packet ) { packet . commandId = packet . readInt ( ) ; packet . command = packet . commandId === 0 ? 'return' : 'close' ; this . emit ( 'osk_command' , packet ) ; }
osk command received
osk command received