Mapping EKeyId to Virtual-Key Codes?

I am integrating a 3rd party plugin into lumberyard, and I need to pass a virtual key code on keyboard input. I am inheriting IInputEventListener, and it returns a SInputEvent. From this, I can get an EKeyID with event.keyId, I can get the Name with event.keyName, and I can even get the directinput code from event.pSymbol->devSpecId.

Any good ideas for how to get this to a windows virtual key code (for example, VK_E).

Thanks!

Hi @cozzbp,

A lot of the editor tools use VK_ keys - maybe you could do something similar? For example, the TerrainModifyTool.cpp has an OnKeyDown function that uses VK_ keys.