Updated virtual codes from libuiohook upstream changes.
Overhauled the getKeyText function to include several missing virtual codes and refactored the code for maintainability.