keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Increase macro count or make configurable

Open DeltaRazero opened this issue 8 months ago • 1 comments

I am used to the behaviour of Windows' US intl. layout with dead keys, and the same layout doesn't behave the same on Linux (or at least the distros I've used). One could go down the XCompose route, and I've certainly tried that; unfortunately there's inconsistencies in Wayland/XWayland and some applications just flat out don't respect the XCompose config.

I've therefore tried configuring keyd settings to behave the same as the Windows layout and it works perfectly across every application now. Unfortunately due to the large amount of keys that need macros, I've ran out of macros.

Currently, macros are hardcoded at a limit of 256. I've raised it to 1024 locally and it works perfectly. Is there a reason for this number?

If there is no real reason, I would either suggest raising the maximum, or make this configurable (either via an optional compile-time macro, or via some config for run-time support but unsure what and where).

DeltaRazero avatar Apr 22 '25 14:04 DeltaRazero

Similar issues are being discussed in #787 and #458, but I also hope that the upper limit can be expanded. If you publish your settings and compelling use cases, it may motivate a change in specifications.

tkna91 avatar Aug 19 '25 15:08 tkna91