Closed lcnbr closed 8 months ago
you can bind by keycodes?
I'm not sure if this really is a bug. The first layout defined in the input section will be the one used for binds. (see here https://wiki.hyprland.org/Configuring/Uncommon-tips--tricks/#switchable-keyboard-layouts)
Try binding with keycodes instead of the actual key. (like described here https://wiki.hyprland.org/Configuring/Binds/#uncommon-syms--binding-with-a-keycode)
How could I make it so it actually looks at the key finally emitted? In my case, the physical keyboard is programmed with qmk to actually output the right letter when in swiss layout in software. But I would like my laptop keyboard to be colemak..
In my case the keycodes for the same letter are actually different based on the keyboard
I think this is tracked in #1881.
Yes that is the same issue! I'll close it in favor of that one.
Hyprland Version
branch at commit 015664eb4cde5ab93cfacbfd8c2e831eeb876634
Bug or Regression?
Bug
Description
I have set a different keyboard layout for my laptop and my external keyboard. However, when using the keyboard shortcuts, hyprland disregards the layout of the external keyboard. For example, if I want to open drun, I have it set to meta+r. However I have to type meta+s on my physical keyboard (as if I had not set a layout on that keyboard). Other applications all recognise the right keys though.
How to reproduce
Set different layout for input and external keyboard. E.g.
Crash reports, logs, images, videos
This is the output of hyprctl devices: