How to distinguish left and right shift keys

I’m having trouble distinguishing left and right shift, ctrl, alt and cmd keys. Whenever I assign either one of them to the FIRE1 / FIRE2 keys, they both act from the both keys.

Is this a bug or a feature? How to get around it? I’m working on a mac.

Really, is there a way?