Method for showing onscreen keyboard in Android

This commit is contained in:
BirDt_ 2025-09-27 09:40:51 +08:00
parent 0a52d48775
commit 034e865922

5
ui.el
View file

@ -179,6 +179,11 @@
:config :config
(setq emacs-everywhere-frame-parameters '((name . "emacs-everywhere") (height . 18) (width . 80) (tab-bar-lines . 0)))) (setq emacs-everywhere-frame-parameters '((name . "emacs-everywhere") (height . 18) (width . 80) (tab-bar-lines . 0))))
;; Android specific configuration
(when (equal system-type 'android)
(global-set-key (kbd "<volume-up> <volume-up>")
'(lambda () (interactive) (frame-toggle-on-screen-keyboard (selected-frame) nil))))
(provide 'ui) (provide 'ui)
;;; ui.el ends here ;;; ui.el ends here