Exemplo n.º 1
0
 private void OnButtonStateChanged(object sender, ButtonStateEventArgs args)
 {
     if (ButtonStateChanged != null) ButtonStateChanged(sender, args);
 }
Exemplo n.º 2
0
 void gc_ButtonStateChanged(object sender, ButtonStateEventArgs args)
 {
     if (ShowOutput && _currentController == args.ControllerNum)
     {
         string key = " down";
         if (!args.Pressed) key = " up";
         AddButtonOutput(args.Button + key);
     }
 }