To Whom It May Concern,
I’m using jInput in relation to MATLAB, but because of the intrinsic difficulty with custom-coding in MATLAB, cannot create a “keyboard mapping” API ???.
I was wondering whetehr anybody on these forums had a link to a website which shows the mapping of the keyboard to the “numbers” as a result of:
hInputDevices=net.java.games.input.DefaultControllerEnvironment;
hInputController = hInputDevices.getControllers;
hKeyboard = hInputController(2);
hKeyboardComponent = hKeyboard.getComponents;
hKeyboardComponent(x);
My query is what, for example, would “x” be for the “Esc” key
Furthermore, what would “x” be for the “5” key
Et cetera
Obviously, this mapping is different from the standard ASCII which is why I’m having difficulty :-.
Have a magical day ;D!
Kind regards,
Jerry Shum.