Posted By: elevationmind
Using the Numpad "5" - 12/30/12 13:49
Hallo,
I have the problem, that LIte-C doesn't seem to recognise the numpad as numbers - no matter if I have numlock on or of.
But I despreately need the numpad "5" to work for moving my player back.
How do I get this to work?
My action looks like this:
var distance = (key_slash-key_5)*9*time_step;
But it only works with the "normal" 5 on the keyboard.
I tryed adding to main/to action:
key_set(76,on_5);
To tell the numpad 5 (Scancode 76) to act like 5, but it just doesn't work.
Can somebody help me? How do I get the numpad 5 to work like the arrow down?
Thanks in advance!
I have the problem, that LIte-C doesn't seem to recognise the numpad as numbers - no matter if I have numlock on or of.
But I despreately need the numpad "5" to work for moving my player back.
How do I get this to work?
My action looks like this:
var distance = (key_slash-key_5)*9*time_step;
But it only works with the "normal" 5 on the keyboard.
I tryed adding to main/to action:
key_set(76,on_5);
To tell the numpad 5 (Scancode 76) to act like 5, but it just doesn't work.
Can somebody help me? How do I get the numpad 5 to work like the arrow down?
Thanks in advance!