What are the key-names for the PressAndHold.app keyboard plists?

Solution 1:

I have actually the same question, but this may help someone that is trying to figure this out.

I found here, that the name is probably Roman-Accent-2: https://github.com/skalnik/dotfiles/blob/master/osx/emoji-expansions.plist

as this code is used:

<key>Roman-Accent-1</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>1👍 1👎</string>
<key>Strings</key>
<string>1👍 1👎</string>
</dict>

Also look up Keyboard-ja.plist, and you see that they use this Roman-Accent-x for almost any character x. But nevertheless, it doesn't work for me if I add it to Keyboard-en.plist. I don't understand why.