Пример #1
0
 public KeyboardStatePacketWrapperType()
 {
     KeyState = new BitField(256);
     Packet   = new KeyboardStatePacketType
     {
         Type         = 2,
         KeyStateData = KeyState.Data
     };
 }
Пример #2
0
 public KeyboardStatePacketWrapperType(KeyboardStatePacketType packet)
 {
     Packet   = packet;
     KeyState = new BitField(packet.KeyStateData);
 }