With WITH_GHOST_WAYLAND enabled, the GHOST_TKey value from events don't correspond to physical keys.
For all other platforms, it's possible to press a key with Shift held, without this modifier changing to the GHOST_TKey.
So for example you can map a key to Shift+1 without the GHOST_TKey being set to an exclamation value.
Currently with Wayland, the value is translated so holding shift changes the value.
To test:
- Enable WITH_GHOST_DEBUG build option.
- Run the animation player (for simple testing) blender -a /path/to/image.png
- Press the 1. key: 1 is printed to the stdout.
- Hold Shift and press 1. key: unknown is printed to the stdout.