All Forums
 Microsoft Windows CE
 General CE
 mouse pointer without mouse?
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

Ludwig Cloetens

11 Posts

Posted - 10 Feb 2005 :  15:19:56  Show Profile  Email Poster
Is there a way to make WINCE 4.2 display the graphics cursor (mouse pointer) without having a mouse connected. We steer the mouse via an analog joystick and have a deamon do "SetCursorPos" to move the cursor. Works fine but when no mouse is connected to the USB port, the cursor does not display. We tried "ShowCursor(TRUE);" to increment the internal cursor visibility counter but it doesn't work.

Does anyone know how to trigger WINCE without connecting a physical mouse?

akidder

1519 Posts

Posted - 11 Feb 2005 :  20:35:42  Show Profile  Email Poster
Good question. Your timing is good, as we're dealing with a number of other mouse cursor issues at this time. We'll look into it and let you know what we find.
Go to Top of Page

jcamann

1 Posts

Posted - 14 Feb 2005 :  09:15:59  Show Profile  Email Poster
Have you tried setting EnableMouseCursor to 1 in adsload.reg? For example:

[HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
"EnableMouseCursor"=dword:1

No mouse cursor should be displayed unless this key is set.
Go to Top of Page

Ludwig Cloetens

11 Posts

Posted - 15 Feb 2005 :  09:49:43  Show Profile  Email Poster
Yes, have tried setting EnableMouseCursor in the registry, but that doesn't help.

I noticed that when the USB mouse is removed and our application that steers the cursorposition has launced, the cursor doesn't display anymore but the coordinates of the cursorposition are correctly updated. This is proven by reinserting the USB mouse, and the cursor reappears on a new (seemingly correct) position.

So it seems only a matter of displaying the cursor, the internals of maintaining the cursorposition continue to work.
Go to Top of Page

ctacke

877 Posts

Posted - 15 Feb 2005 :  11:35:24  Show Profile  Email Poster
What ADS platform specifically is this on?
Go to Top of Page

Ludwig Cloetens

11 Posts

Posted - 16 Feb 2005 :  03:14:47  Show Profile  Email Poster
This is the debug output from the boot sequence:

Reading Flash ...(from 0x40004 to 0x40dee)
Reading Hardware Tabl
Copyright (c) 2001 Microsoft Corporation
Copyright (c) 2001 Intel Corporation
Copyright (c) 2002,2003 Applied Data Systems Inc.

AGX Bootloader (Ver 1.04 )
(Built at 16:29:08 on Mar 4 2004)

CPLD Version = 0x8
Board Revision = 0x0
DipSwitch(S1) = 0xd
BootOption :
Copy CE image and Config Files from ATA to Flash and Start Windows CE

Booting from Flash.
Reading Flash ...(from 0x200008 to 0x0135c130)

CE starts From DRAM(0x800B8000)

Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 1 2004 at 16:38:37
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9170
Registry area is blank.
Sp=ffffc7cc
Ethernet Detected : SMC91C111.
FlashFX Disk Detected: Ver 5.10 (Build 492)

SMARTIO Detected : PartType:0x8535 Firmware:0x4004 Revision:7
Initializing CAN Driver...ok
I2C bus initialized


Microsoft Windows CE Ver. 4.20 (build 0)

AGX Windows CE Ver.(4.20.12 AGX_PRO_RAM)


* ADSLOAD.EXE(do-nothing build): Complete


This is the relevant contents of ADSLOAD.REG:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\OnTop]
"Default"=dword:1 ; [1=keep taskbar on top]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\AutoHide]
"Default"=dword:0 ; 1=minimize taskbar to a line when not in use

[HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
;QVGA
; "CxScreen"=dword:140 ; 320
; "CyScreen"=dword:F0 ; 240
;VGA
"CxScreen"=dword:280 ; 640
"CyScreen"=dword:1E0 ; 480
;SVGA
; "CxScreen"=dword:320 ; 800
; "CyScreen"=dword:258 ; 600

;8/16 BPP .
"Bpp"=dword:10 ;16 BPP
; "Bpp"=dword:8 ;8 BPP

[HKEY_LOCAL_MACHINE\Drivers\Display\Intel]
"EnableMouseCursor"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\TOUCH]

"SamplePeriodLowHns"=dword:186A0 ; 10 msec, Unit:100ns
"SamplePeriodHighHns"=dword:c350 ; 5ms
"AdcReadHoldoffHns"=dword:6DC ; 175 us
"PenDownHoldoffHns"=dword:1388 ; 500 us
"EnableRawDataMsg"=dword:0 ; enable Raw Data debug message
"EnableDebugMsg"=dword:0 ; enable sampled (total raw / sample)
"EnableWakeupByTouchPanel"=dword:0 ; Wakeup System by Touch Panel
"IntReenableDelay"=dword:14 ; Default:10 msec, 0x14=20msec
"SerialClockRate"=dword:1 ; 1,843,200/(SCR+1) SCR = 1(921KBits/S)
"NoTouchScreen"=dword:1

"PenTchPointCount"=dword:16 ; No of touch samples per point
"MgrPointCount"=dword:2 ; No of ADC samples averaged for each sample
Go to Top of Page

Ludwig Cloetens

11 Posts

Posted - 22 Mar 2005 :  15:31:08  Show Profile  Email Poster
Any news on this topic yet?
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000