Exemplo n.º 1
0
        private static void Button(object sender, WiiButtonEventArgs args)
        {
            var buffer = new byte[12];
              CopyInt(ref buffer, 0, 0);
              CopyInt(ref buffer, args.Id, 4);
              CopyInt(ref buffer, args.Button, 8);

              //Console.WriteLine("{0}: {1}", args.Id, args.Button);
              client.Client.Send(buffer);
        }
Exemplo n.º 2
0
 static void Button(object sender, WiiButtonEventArgs args)
 {
     Console.WriteLine("{0}: {1}", args.Id, args.Button);
 }