You don't normally get different keycodes for the left and right modifier keys on the Mac. I believe there is a way of getting this information, but SDL doesn't use it. Also, some Mac keyboards are unable to return separate keycodes in any case, for hardware reasons.