Hello,
I am by no means a meta expert but looking at the tag you included I would have to say remove the "dispatch".. Wavelink documentation for on key events are below:
OnAllKeys, OnKey, OnKey0x
The OnKey and OnKey0x META tags describe an action that will occur if a particular key is
The OnKey0x format requires a hexadecimal number and the OnKey format requires a
OnKey50 and OnKey0x32 respond when the user presses 2.
OnKey65 and OnKey97 respond to both the upper and lowercase A.
The OnAllKeys tag will perform the specified action each time any key is pressed. The action type can include one argument, which is the string representing the decimal value of the key.