Game Development Community

Numlock key shenanigans

by Ken Finney · in Torque Game Engine · 11/20/2001 (3:44 pm) · 3 replies

When I start the example game, no matter what state the numlock key is in before hand, I always have to hit it at least once anyway to get keys on the num key pad to work.

example:


'jump' mapped to numpad '0', numlock ON before launching game.

After game starts, no jump from the Numpad '0', even though Num Lock LED is on. hit the numlock key, LED *stays* on, but now I can jump when I hit numpad '0'. Hit Numlock a second time in game, and Numlock key now goes OFF, and I can't jump (expected behaviour). Hit it again, LED on, jump works (again, expected).

Is this a bug ? or am I missing a setting somewhere ?

#1
11/20/2001 (9:25 pm)
Numlock goes off right when you run the exe. on Some keyboards (like mine) the light goes off like it should, but I've noticed that on others it stays on.

And I thought I was the only one that used Num0 for jump :) It's what I've used forever. Rainbow Six started me on it, I think it was their action key for manipulating objects.


Dark
#2
11/21/2001 (8:56 pm)
Any idea how we can stop it from being turned off, or reenable it from script ?
#3
11/22/2001 (8:58 pm)
I don't think it's being shut off intentionally. It's probably a side-effect of something else.

I'm not sure how to go about tracking it down.


Dark