Virtual Keycodes?

Oct 26, 2016 at 12:36pm
Hey,

So I've found this piece of code that works for what I'd like it to do. However I'd like to change the key inputs on Lines 27, 29, 33, and 35. I've looked up the VK_Key codes and other tables, but can't find ones that match. Is there a working table list for the type used in this code, or an easier way to determine the hex(?) for different keys to work with this? I've looked at Hexideciman Keycodes but they don't match.

In this Source ox1e is A and 0x20 is D. (Could be other way around I can't remember.)

Thanks.

 
-snip-
Last edited on Oct 26, 2016 at 4:11pm
Oct 26, 2016 at 3:24pm
You aren't looking for virtual keycodes. You're looking for keyboard scan codes.

https://msdn.microsoft.com/en-us/library/aa299374(v=vs.60).aspx
Oct 26, 2016 at 4:11pm
Legend, Cheers mate.
Topic archived. No new replies allowed.