DirectX & NumLock inital state


The function, DX5_InitOSKeymap, unlike DIB_InitOSKeymap, does not determine
the initial state of the numlock key.

I’m baffled by the whole DirectInput business, is there a way to query the
state through DirectInput? Or does DirectInput not have a concept of
toggle keys (numlock, capslock)? Maybe the GetKeyState(VK_NUMLOCK) should
be copied here?


The initial state is only half of the problem, since I need the current
state regardless of task-switching. I’ll just get it straight from Winders.