Esempio n. 1
0
 public KeyboardStatePacketWrapperType()
 {
     KeyState = new BitField(256);
     Packet   = new KeyboardStatePacketType
     {
         Type         = 2,
         KeyStateData = KeyState.Data
     };
 }
Esempio n. 2
0
 public KeyboardStatePacketWrapperType(KeyboardStatePacketType packet)
 {
     Packet   = packet;
     KeyState = new BitField(packet.KeyStateData);
 }