         context[keyName]?.call(this, event)
 
     keypress: (event) ->
+      return if @virtualKeyboardIsActive
       return if (event.metaKey or event.ctrlKey) and not event.altKey
 
       if event.which is null

      else if event.which isnt 0 and event.charCode isnt 0
        character = String.fromCharCode event.charCode

      if character? and @cancelInputEvent(event)
        @delegate?.inputControllerWillPerformTyping()
        @responder?.insertString(character)


    0x4f: "o"

  constructor: (@element) ->
    @deviceObserver = new Trix.DeviceObserver @element
    @deviceObserver.delegate = this

