I am trying to create a program similar to Microsoft word, only heavily simplified. I need to be able to know when shift+(any key) is pressed, and display the proper value for w
If you look at the events for 'a' and 'A' while both have the key 97, you can use either the unicode (if strictly printable characters) or mod attribute to tell the difference.
Note: the mod is different for shift and caps lock characters event though the unicode will be the same.