YAY!!! I discovered a way to detect the pressing of shift, control, caps lock, a bunch of the f keys, and more, while playing around with hacked blocks. It doesn't distinguish between them yet, but who cares. Copy the blocks inside to use it yourself. Don't ignore the set shift to block--That one is really important.
Share this with everyone you can to spread the word.