Help with making the X-system (Esperanto) for Colemak

Here’s a quick explanation of the title. In Esperanto (a constructed language) there is a system where you put x after a character to represent that character with a hat. I want to be able to type a letter, then x to output that character with a hat and I want to make it work on the Colemak layout.
Example: Cx = Ĉ and cx = ĉ

I’ve inputted this into the following code into Keyman developer and I can’t get it to compile.

store(&NAME) ‘esperanto’

begin Unicode > use(main)

group(main) using keys
c + x > U+0109
C + X > U+0108
C + x > U+0108
c + X > U+0109
g + x > U+011D
g + X > U+011D
G + x > U+011C
G + X > U+011C
h + x > U+0125
h + X > U+0125
H + x > U+0124
H + X > U+0124
j + x > U+0135
j + X > U+0135
J + x > U+0134
J + X > U+0134
s + x > U+015D
s + X > U+015D
S + x > U+015C
S + X > U+015C
u + x > U+01D4
u + X > U+01D4
U + x > U+01D3
U + X > U+01D3

Welcome to the community!

You need to put the characters into quotes:

'c' + 'x' > U+0109
1 Like

Also for reference, here’s the source for a similar Esperanto keyboard

1 Like

Thank you very much for the help you guys!
It’s great to be a part of this community.

1 Like