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