As the title suggests I want to convert a string to VK code, my original idea was to have:
HashMap<char,(what)> map= new HashMap<>();
map.put('A',KeyEvent.VK_A);
And do that for all the values then loop through the string but I don't know if anything like that is possible.
Is the best way just to have a switch for every character?