Hello. I'm looking for a help with XKB configuration.

I'm creating new keyboard layout (for be-latn) and have encountered a few problems...

I need to configure a dead key which won't be just the single symbol dead key (like dead_acute, which always applies acute accent), but variable one. I mean, I want it to apply acute to some letters, caron to other ones, and stroke to third ones.

For example, if I press ~c I need to get č (c-caron), but if I press ~u I need to get ŭ (u-breve), and if I press ~l I need to get ł (l-stroke).

Is there any way to configure this in symbols configuration file of XKB?

Thank you!