in mustella/src/main/java/marmotinni/DispatchKeyEvent.java [180:201]
public void populateFromAttributes(Attributes attributes) throws Exception
{
chars = attributes.getValue("char");
String key = attributes.getValue("key");
if (key != null)
{
keys = new ArrayList<String>();
keys.add(key);
}
String keyAttr = attributes.getValue("keys");
if (keyAttr != null)
{
keys = new ArrayList<String>();
String keyList[] = keyAttr.split(",");
for (String keyPart : keyList)
keys.add(keyPart);
}
String keyCode = attributes.getValue("keyCode");
if (keyCode != null)
throw new Exception("keyCode not supported");
}