Talk:GetControl

From the Oblivion ConstructionSet Wiki
Revision as of 21:32, 19 February 2007 by imported>Scruggs (Doubtful)
Jump to navigation Jump to search

Is there a simple way to convert the values returned by this function to something useable by IsKeyPressed? IsKeyPressed2 is the function that uses DX scancodes, but that doesn't work on disabled keys like IsKeyPressed does, which I need.
KCat

Doubtful. The ordering for VK codes and DX codes is too different. For instance, Vk numerals begin with 0 (48) and end with 9 (57), whereas DX begin with 1 (2) and end with 0 (11). The letter keys are organized alphabetically for VK but according to QWERTY for DX. Scruggs 21:32, 19 February 2007 (EST)