docs: 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;
      }