That's super neat, thanks for calling that to my attention.
It's a good day when I can help you out.
I was assuming OP wanted global shortcuts as, if the window is focused, you can play or pause just by pressing the spacebar out of the box on all platforms.
This is worth expounding upon, because it just bugged me like CRAZY when I first got MC running. Yes, spacebar does Play/Pause in MC. But not always. ...and it's not obvious why until you play around with it. Essentially, MC only does play/pause with spacebar when the focus is in the playing now pane, or in one of file display areas, or in a category. It will NOT do play/pause when you are focused on the navigation tree on the left, the search area, and perhaps a few others.
This promotes a very inconsistent interface experience, as you wonder, "why the hell isn't spacebar working?!??" Apparently spacebar can be used for navigation tasks too. Like expanding tree segments. This is stupid and should be changed. But it's not likely to be changed because it has history.
My key mapping above addresses this by overriding the default behavior of spacebar in almost all areas of MC's interface. *Except* for text entry boxes where you probably want to be able to type a space! Getting this working was really nice. After all, pretty much every audio player in existence uses spacebar for play/pause and it's generally not context sensitive, except for places where you'd want to type a literal space.
The key is the TranslateFlags parameter.
Brian.