예제 #1
0
 public MyGesture(VVVVGesture vvvvK)
 {
     subscription = vvvvK.Notifications.Subscribe(notification => {
         var mn = NotificationConverter.ConvertNotification(notification, DummyNotificationSpaceTransformer.Instance) as GestureNotification;
         if (mn != null)
         {
             m.OnNext(mn);
         }
     });
 }
예제 #2
0
 public MyKeyboard(VVVVKeyboard vvvvK)
 {
     VVVVK        = vvvvK;
     subscription = vvvvK.KeyNotifications.Subscribe(notification => {
         var mn = NotificationConverter.ConvertNotification(notification, DummyNotificationSpaceTransformer.Instance) as KeyNotification;
         if (mn != null)
         {
             m.OnNext(mn);
         }
     });
 }
예제 #3
0
 public MyMouse(VVVVMouse vvvvM)
 {
     VVVVM        = vvvvM;
     subscription = vvvvM.MouseNotifications.Subscribe(notification => {
         var mn = NotificationConverter.ConvertNotification(notification, DummyNotificationSpaceTransformer.Instance) as MouseNotification;
         if (mn != null)
         {
             m.OnNext(mn);
         }
     });
 }