]> git.earman.xyz Git - emacsinit.git/commitdiff
add binding for meta on volume down on android
authorrearman <rearman@r717.net>
Thu, 11 Jun 2026 16:23:15 +0000 (12:23 -0400)
committerrearman <rearman@r717.net>
Thu, 11 Jun 2026 16:23:15 +0000 (12:23 -0400)
config.org

index cf82cab80a0476599cda1eb3f73bda8f1e83d8ba..f19a58a56cb5336ba4ec68793f6ca915540284af 100644 (file)
@@ -1001,8 +1001,9 @@ Stolen from https://www.masteringemacs.org/article/fixing-mark-commands-transien
 (load-theme 'eng-paper t)
 
 (if (equal system-type 'android)
-    (progn (setq touch-screen-display-keyboard t
-                 tool-bar-position 'bottom)
+    (progn (setq touch-screen-display-keyboard t)
+           (set-frame-parameter nil 'tool-bar-position 'bottom)
+           (define-key key-translation-map (kbd "<volume-up>") 'event-apply-meta-modifier)
            (modifier-bar-mode 1)
            (tool-bar-mode 1))
   (progn (menu-bar-mode -1)