keycode
C#
1
Posts
1
Posters
0
Views
1
Watching
-
hi every one I'm really sorry if my question is quite simple what I'm trying to reach is keycode. that is in the code below:
foreach (System.Int32 i in Enum.GetValues(typeof(Keys)))
{int x = KeyLogger.Methods.GetAsyncKeyState(i);
and then if any key is pressed i want to use MapVirtualKey to map and after all getkeynametext to access to it's name. what i'm trying to accessed is the keycode which I access to it's Enumvalues to use it in the code bellow
unit key=MapVirtualKey(m,MAPVK_VK_TO_VSC);
what i need here is M which is a virtualkeycode that i have it's enumvalues in i; thank you all in advance for helping me.