function(sortedInputEvents) {
      var protoIRs = [];
      forEventTypesIn(sortedInputEvents, KEYBOARD_TYPE_NAMES, function(event) {
        var pir = new ProtoIR(ProtoIR.RESPONSE_TYPE, KEYBOARD_IR_NAME);
        pir.pushEvent(event);
        protoIRs.push(pir);
      });
      return protoIRs;
    }
function(sortedInputEvents) {
      var protoIRs = [];
      forEventTypesIn(sortedInputEvents, KEYBOARD_TYPE_NAMES, function(event) {
        var pir = new ProtoIR(ProtoIR.RESPONSE_TYPE, KEYBOARD_IR_NAME);
        pir.pushEvent(event);
        protoIRs.push(pir);
      });
      return protoIRs;
    }
function ( sortedInputEvents ) { var protoIRs = [ ] ; forEventTypesIn ( sortedInputEvents , KEYBOARD_TYPE_NAMES , function ( event ) { var pir = new ProtoIR ( ProtoIR . RESPONSE_TYPE , KEYBOARD_IR_NAME ) ; pir . pushEvent ( event ) ; protoIRs . push ( pir ) ; } ) ; return protoIRs ; }
Every keyboard event is a Response.
Every keyboard event is a Response .