Function: minibuffer-setup-on-screen-keyboard

minibuffer-setup-on-screen-keyboard is a byte-compiled function defined in minibuffer.el.gz.

Signature

(minibuffer-setup-on-screen-keyboard)

Documentation

Maybe display the on-screen keyboard in the current frame.

Display the on-screen keyboard in the current frame if the last device to have sent an input event is not a keyboard. This is run upon minibuffer setup.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun minibuffer-setup-on-screen-keyboard ()
  "Maybe display the on-screen keyboard in the current frame.
Display the on-screen keyboard in the current frame if the
last device to have sent an input event is not a keyboard.
This is run upon minibuffer setup."
  ;; Don't hide the on screen keyboard later on.
  (when minibuffer-on-screen-keyboard-timer
    (cancel-timer minibuffer-on-screen-keyboard-timer)
    (setq minibuffer-on-screen-keyboard-timer nil))
  (setq minibuffer-on-screen-keyboard-displayed nil)
  (when (and (framep last-event-frame)
             (not (memq (device-class last-event-frame
                                      last-event-device)
                        '(keyboard core-keyboard))))
    (setq minibuffer-on-screen-keyboard-displayed
          (frame-toggle-on-screen-keyboard (selected-frame) nil))))