This has always annoyed me - I suppose I could set the default config to have one of the zoom in/out keys as "tab" ...
Further to what you are trying, it's probably correct (or at least on the correct track) - may I assume that you're putting the hex values in the xmamerc file instead of the literal text? If not, I'd suggest you try the hex values.