Display CP7 and Gesture

Hi,
i have a problem with the CP7 Display and Gesture detection. I only receive Gesture ID 72 and 73 (Zoom_In/Zoom_Out), but no Move_Left/Move_Right etc…

FEZ Spider, CP7 1.2

Gadgeteer App NETMF 4.2:


using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Touch;

using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;

namespace CP7_TouchTest
{
    public partial class Program
    {

        void ProgramStarted()
        {

            Debug.Print("Program Started");

            display_CP7.gestureDetected += new Display_CP7.TouchGestureDetected(display_CP7_gestureDetected);

        }

        void display_CP7_gestureDetected(Display_CP7 sender, Display_CP7.Gesture_ID id)
        {
            Debug.Print("Gesture: " + id.ToString());
        }


    }
}


Those are the only two currently supported.

If you have Insider access I posted code there for Up/Down/Left/Right/etc

ty for the quick response.

@ Skewworks - May be you can repost it here as well. Or even better as snippet on Codeshare

Done and done. This is actually a complete driver straight out of Tinkr.

http://www.tinyclr.com/codeshare/entry/608

2 Likes

Great thank you!