Presses the soft keyboard done button.
165877
public void pressSoftKeyboardDoneButton(){
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "pressSoftKeyboardDoneButton()");
		}
		
		presser.pressSoftKeyboard(EditorInfo.IME_ACTION_DONE);
	}
1245178
def Ctrl_Fn(self, n, dl = 0):
        
        self.Delay(dl)
        self.keyboard.press_key(self.keyboard.control_key)
        self.keyboard.tap_key(self.keyboard.function_keys[n])
        self.keyboard.release_key(self.keyboard.control_key)
260883
function (keyCode, cb) {
            if (keyCode == this.KEYS.VK_SHIFT) {
                this._keyShift = true;
            }
            if (keyCode == this.KEYS.VK_CTRL) {
                this._keyCtrl = true;
            }
            if (typeof keyCode == "string" && this._keyShift) {
                keyCode = keyCode.toUpperCase();
            }
            if (keyCode == this.KEYS.VK_ALT) {
                this._keyAlt = true;
            }
            this._sendEvent('keydown', keyCode, null, null, this._getModifier());
            this._callCallback(cb);
        }
676943
def on_setButton_pressed(self):
        
        self.keyLabel.setText("Press a key or combination...")  # TODO: i18n
        logger.debug("User starts to record a key combination.")
        self.grabber = iomediator.KeyGrabber(self)
        self.grabber.start()
485164
public void pressSoftKeyboardNextButton(){
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "pressSoftKeyboardNextButton()");
		}
		
		presser.pressSoftKeyboard(EditorInfo.IME_ACTION_NEXT);
	}
1097242
def keyPressEvent(self, event):
        
        if self._process.state() != self._process.Running:
            return
        tc = self.textCursor()
        sel_start = tc.selectionStart()
        sel_end = tc.selectionEnd()
        tc.setPosition(self._formatter._last_cursor_pos)
        self.setTextCursor(tc)
        if self.input_handler.key_press_event(event):
            tc.setPosition(sel_start)
            tc.setPosition(sel_end, tc.KeepAnchor)
            self.setTextCursor(tc)
            super(OutputWindow, self).keyPressEvent(event)
        self._formatter._last_cursor_pos = self.textCursor().position()
638794
public void keyPressed(KeyEvent event)
    {
        lastKeyName = event.getName();
        lastCode = Integer.valueOf(event.getCode());
        if (!keys.contains(lastCode))
        {
            keys.add(lastCode);
        }
    }
117170
def execute(self):
        """"""
        try:
            logging.debug("Entering IOLoop")
            self.loop.start()
            logging.debug("Leaving IOLoop")
        except KeyboardInterrupt:
            logging.debug("Leaving IOLoop by KeyboardInterrupt")
        finally:
            self.hw_communication.disconnect()
169678
def keyPressEvent(self, keyEvent):
        
        undoObj = UndoSelfInsert(self, keyEvent.text())
        self.qteUndoStack.push(undoObj)
1083020
def press_key(self, character=''):
        
        try:
            shifted = self.is_char_shifted(character)
        except AttributeError:
            win32api.keybd_event(character, 0, 0, 0)
        else:
            if shifted:
                win32api.keybd_event(self.shift_key, 0, 0, 0)
            char_vk = win32api.VkKeyScan(character)
            win32api.keybd_event(char_vk, 0, 0, 0)
74396
function press(event) {
      if (event.keyCode === 39) {
        Components.Run.make(Components.Direction.resolve('>'));
      }

      if (event.keyCode === 37) {
        Components.Run.make(Components.Direction.resolve('<'));
      }
    }
188539
private void requestFocus() {
        Window window = getWindow();

        if (window != null) {
            window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
        }

        if (editText != null) {
            editText.requestFocus();
        }
    }
226088
def onKeyInCommandEntry(self, event):
        ''''''
        if event.char == '\r':
            self.onSendCommand()
            self.canvas.focus_set()
102601
def key_press(self, key, x, y):
        ""
        if ord(key) == 27:
            # print "Escape!"
            if bool(glutLeaveMainLoop):
                glutLeaveMainLoop()
            else:
                raise Exception("Application quit")
635314
def tab_pressed(self, event):
        """"""
        self.from_index = self.dock_tabbar.tabAt(event.pos())
        self.dock_tabbar.setCurrentIndex(self.from_index)

        if event.button() == Qt.RightButton:
            if self.from_index == -1:
                self.show_nontab_menu(event)
            else:
                self.show_tab_menu(event)
738204
def keyPress(self, key):
        
        log.debug('keyPress %s', key)
        self.keyDown(key)
        self.keyUp(key)

        return self
832728
function touchPress(e) {
                e.preventDefault();
                ignoreMouse = osk.touchMouseThreshold;
                press(object, keyElement);
            }