I am making a mobile keyboard with accent deadkeys. If one types the grave accent deadkey, it will type , and then if you type [a], then it will replace the with à. This works fine. However, I am trying to write some code so that if one types a consonant instead, you will get just the consonant, and the ` will be deleted.
To do this, I am trying to create a match rule in my main group, that will go to a new group with rules to replace any [cons] sequence with [cons] (or [cons][cons] with [cons][cons], etc., since I have some keys that output two or three consonants.)
However, I can’t seem to get either a match or a nomatch rule to do anything, even just ouputting test text or changing the layer.
I haven’t examined your keyboard in depth, but it seems unnecessarily complex. Maybe these suggestions will help a bit although I haven’t looked at what all your keyboard is doing.
You could have two stores:
I do notice your keyboard gives a lot of warning when I compiled in the Messages window.
The warnings and errors always give a line number where the issue is.
Thank you for the help! I just realized I had been testing the wrong file, since I had renamed it. The match rules work fine. Apologies for the silly question.