switch (event.getCode()) {
case UP: Does Something; break;
case RIGHT: Does Something; break;
case DOWN: Does Something; break; break;
case LEFT: Does Something; break; break;
case NUMPAD1: Does Something; break;
This is probably a super simple answer but I just can't find it on the internet. The code works perfectly that's why I haven't shown it but I just want a Case Key for the number 1 not the NUMPAD 1 as shown in the code. 1 as in the key above Q.
Thanks in advance!