none
Richt-click function in WinCE 6.0 RRS feed

  • Question

  • Hello.

    I want to implement the right-click function if you hold down the touch. Is there a special registry setting or catalog item in the platform builder? Or must the driver support this feature?

    Thanks

    Jürgen

    Thursday, August 16, 2012 7:50 AM

All replies

  • set SYSGEN_AYGSHELL=1 and rebuild the image.

    Regards,
    Rakesh.

    Thursday, August 16, 2012 8:30 AM
  • Hello Rakesh.

    SYSGEN_AYGSHELL is set to 1!

    Another idea?

    Regards

    Jürgen

    Thursday, August 16, 2012 11:02 AM
  • Is your driver actually a touch driver loaded by GWES, or does it present itself to the OS as a mouse driver?  If it is a mouse driver, it will need to implement right click.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Thursday, August 16, 2012 11:13 AM
    Moderator
  • Hello Bruce.

    It is a TSC2046 SPI-touch controller and loaded by GWES, I hope.

    Here is the registry setting:

    [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
        "DriverName"="touch.dll"
    
        "CalibrationData"="1019,1001 261,1751 261,240 1775,247 1779,1750"		; IL056 Touch
        "MaxCalError"="6"
    
    
        "SPIBaudrate"=dword:8               ; SPI clock divider (SPI clock = SYS_CLK / (2^SPIBaudrate))
        "SampleRate"=dword:32               ; samples per second, default is 100
        "SPIBus"="SPI2:"			; SPI bus used to access to the TSC2046
        "SPIAddr"=dword:0                   ; McSPI1 channel 0
        "PenGPIO"=dword:08                  ; gpio_8
        "CS_GPIO"=dword:B5                  ; gpio_181
        "PenUpDebounceMS"=dword:28          ; PenUp debounce time in MS, 0 to disable debounce process
        "InitialSamplesDropped"=dword:2     ; Number of samples to be dropped after pen down detection
                                            ; Default is 1
    

    Best regards

    Jürgen

    Thursday, August 16, 2012 11:24 AM
  • is SYSGEN_AGSHELL present in SysgenSettings.out file ? The SysgenSettings.out file should be present in your FLATRELEASE DIRECTORY.

    Regards,

    Rakesh.


    Thursday, August 16, 2012 11:41 AM
  • To add to Rakesh's questions:

    Does the Explorer shell run?

    Is AYGShell.dll in the OS?


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Thursday, August 16, 2012 1:21 PM
    Moderator
  • Hello Bruce,

    hello Rakesh.

    That's it. The SYSGEN_AYGSHELL was overwritten by the environment because we want an Image for the core-license. The AYGSHELL need the professional license. Is there another way to implement it witout AYGSHELL?

    Regards

    Jürgen

    Friday, August 17, 2012 11:14 AM
  • Not out of the box, no.

    You could write some code and implement it yourself.  I am not going to suggest that it would be easy.


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com

    Friday, August 17, 2012 1:11 PM
    Moderator