Evidently, not all keyboards are created equal. My keyboard, for example, produces keycode 125 for the left windows key, 126 for the right windows key, and 127 for the "menu" key.

If you want to know what key produces what code, su and run showkey. Every time you press or release a key, it will tell you exactly what scancode is produced.