I'm using the code here https://stackoverflow.com/a/13734766/709507 to get joystick or keyboard pressed buttons.
But the info I get is just the name of the button, for example, Button1 or Button2 etc.
There are two problems. First, for the keyboard, I need to get the exact name of pressed keys like 'B', 'C', 'F1' not Button1, Button49 etc. Second I need to get each button Scan code as well.
Is there any way doing these thing via SharpDX?