I was trying to track a bug down in my game, it came down to this. When the shift (left in this example, but does not matter which) is held down, mouse1 events are not found? but when the a key is held down, they are…Am I doing something wrong?
Shift, control, and alt are known as modifier keys. To use these keys in conjunction with other keys, put these keys in front of the other key. For your case, it’s “shift-mouse1”. The order of these modifier keys is always shift-control-alt if you use some of them at once.
What I wanted was for both to happen when both were pushed, and I found a workaround, but I still don’t understand why ctr,shift,alt should mask the other key’s events…maybe send the shift-mouse1 as well, but also send the mouse1,shift,and shiftl/shiftr events. Please find holes in my logic here