From e0892d780d8a3990a0e66f60e8b0cb3022b59569 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 4 Feb 2026 13:20:34 -0800 Subject: [PATCH] keyd: add MoErgo hyper mapping --- nixos/keyd.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/nixos/keyd.nix b/nixos/keyd.nix index a1e5eac0..13beb2ac 100644 --- a/nixos/keyd.nix +++ b/nixos/keyd.nix @@ -22,18 +22,16 @@ makeEnable config "myModules.keyd" true { }; }; - # TODO: Add per-keyboard overrides here once device IDs are known. - # Example: - # keyboards.externalKinesis = { - # ids = [ "1ea7:0907" ]; - # settings = { - # main = { - # leftalt = "leftmeta"; - # leftmeta = "leftalt"; - # rightalt = "layer(hyper)"; - # }; - # "hyper:C-A-M-S" = { }; - # }; - # }; + # MoErgo Glove80: only map Right Meta/Super to Hyper. + keyboards.moErgo = { + ids = [ "16c0:27db" ]; + settings = { + main = { + rightmeta = "layer(hyper)"; + }; + # Hyper = Ctrl+Alt+Meta while held (matches $hyper = SUPER CTRL ALT) + "hyper:C-A-M" = { }; + }; + }; }; }