Ejemplo n.º 1
0
        private void InitializeTouchToolkit()
        {
            /* Initialize framework */
            var inputProvider = new TUIOProvider();
            GestureFramework.Initialize(inputProvider, LayoutRoot, Assembly.GetExecutingAssembly());

            /* Add common visual feedbacks */
            GestureFramework.AddTouchFeedback(typeof(BubblesPath));
        }
Ejemplo n.º 2
0
        void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            var provider = new TUIOProvider();
            //var provider = new Windows7TouchInputProvider();

            GestureFramework.Initialize(provider, LayoutRoot, Assembly.GetExecutingAssembly());
            //GestureFramework.ShowDebugPanel(GestureFramework.DebugPanels.GestureRecorder);
            GestureFramework.AddTouchFeedback(typeof(BubblesPath));
            SetImages(false);
        }