For some reason, the key tag will work if you specify another command, but not directly with the oncommand attribute.
So:
<command id="mycommand" oncommand="alert('Hallo!');" />
<key id="mykey" key="U+004C" command="mycommand" />
Works, but
<key id="mykey" key="U+004C" oncommand="alert('Hallo!');" />
doesn't.
For some reason, the key tag will work if you specify another command, but not directly with the oncommand attribute.
So:
<command id="mycommand" oncommand="alert('Hallo!');" />
<key id="mykey" key="U+004C" command="mycommand" />
Works, but
<key id="mykey" key="U+004C" oncommand="alert('Hallo!');" />
doesn't.