Esempio n. 1
0
 public PS2SCANCODE(uint scan, VK_Codes.VKEY vkkey)
 {
     scancode = scan;
     vkey = vkkey;
 }
Esempio n. 2
0
 public static uint getScanCode(VK_Codes.VKEY vk)
 {
     uint uRes = 0;
     foreach (PS2SCANCODE ps2code in PS2SCANCODES)
     {
         if (ps2code.vkey == vk)
         {
             uRes = ps2code.scancode;
             break;
         }
     }
     return uRes;
 }