JJ,
>> 1) Is it actually possible to access (or create) a toggle key thru
>> DirectX-es DirectInput mechanism ?
>>
>> 2) If so, how do I go about it ?
...
> Haven't actually tested it, but isn't DInput's `GetDeviceState()` return
> the same data as WinAPI's `GetKeyboardState()`? i.e. MSB = pressed, LSB =
> toggle.
Thats what I assumed too. But as I did not get the expected result I
displayed the involved byte. Alas, no change of any bit other than the MSB.
Double checked it with DIK_SCROLL and DIK_NUMLOCK and got the same result.
Hence my idea that I should perhaps change something in the
DIOBJECTDATAFORMAT declaration of the involved key(s).
Regards,
Rudy Wieser