I want to use Compose-o-a to output å. Here is my macro:
macros {
aa: aa {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <¯o_tap &kp K_MENU &kp O &kp A>
;
};
};
As @kindred yoke explained to me, composeis not part of the USB HID standard. So far, I'm happy only supporting Linux, and Xorg. So I setup my X to interpret menu as compose:
setxkbmap -option compose:menu
There are a few "menus" in keys.h, I've tried K_MENU, C_MENU, K_APPLICATION. Nothing works.
I've tested it with AltGr instead of "menu", on my laptop keyboard, and the 'å' comes out alright.
My reason for choosing "menu" is that it's what I've been using in kmonad, and I cannot see a reason my it wouldn't work here. There is a limited choice in X as to what to rebind composeto.
What is "menu", is it just missing from keys.h, what did I miss?