DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 12:12:03 -0500,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    DrewCE
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
                 3    DrewCE
                        4    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com


USB Keyboard Detect in WinCE 5.0   
I have a Windows CE 5.0 based device.  We have a touchscreen, joystick, and 
hardware buttons.  The joystick and hardware buttons are mapped to mouse 
event and keyboard events respectively, using a custom driver.

We sometimes have a USB Keyboard attached and need to detect that case to 
prevent he SIP from displaying.

I've searched and tried several solutions, but nothing has fit the bill yet. 
Looking in the registry doesn't seem to work as there is no 
"Software\Microsoft\Shell\HasKeyboard" key.  Also, GetKeyboardStatus() 
always returns 3 (has keyboard).

I'm guessing that I'm not the first person to need this and am hoping 
someone can't point me in the right direction.

Thanks,

Drew
Date:Fri, 17 Aug 2007 12:12:03 -0500   Author:  

Re: USB Keyboard Detect in WinCE 5.0   
Does the SIP hide itself as soon as you press a key on the hardware 
keyboard?  I think that the OS should do that automatically.  If so, good 
enough?

Paul T.

"DrewCE"  wrote in message 
news:OQ1r$GP4HHA.748@TK2MSFTNGP04.phx.gbl...

>I have a Windows CE 5.0 based device.  We have a touchscreen, joystick, and 
>hardware buttons.  The joystick and hardware buttons are mapped to mouse 
>event and keyboard events respectively, using a custom driver.
>
> We sometimes have a USB Keyboard attached and need to detect that case to 
> prevent he SIP from displaying.
>
> I've searched and tried several solutions, but nothing has fit the bill 
> yet. Looking in the registry doesn't seem to work as there is no 
> "Software\Microsoft\Shell\HasKeyboard" key.  Also, GetKeyboardStatus() 
> always returns 3 (has keyboard).
>
> I'm guessing that I'm not the first person to need this and am hoping 
> someone can't point me in the right direction.
>
> Thanks,
>
> Drew
>
> 
Date:Fri, 17 Aug 2007 10:23:22 -0700   Author:  

Re: USB Keyboard Detect in WinCE 5.0   
Unfortunately, no.  Our requirement is to only display the SIP if the 
keyboard is not present.

Drew

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT 
com> wrote in message news:OUbbmMP4HHA.4712@TK2MSFTNGP04.phx.gbl...

> Does the SIP hide itself as soon as you press a key on the hardware 
> keyboard?  I think that the OS should do that automatically.  If so, good 
> enough?
>
> Paul T.
>
> "DrewCE"  wrote in message 
> news:OQ1r$GP4HHA.748@TK2MSFTNGP04.phx.gbl...
>>I have a Windows CE 5.0 based device.  We have a touchscreen, joystick, 
>>and hardware buttons.  The joystick and hardware buttons are mapped to 
>>mouse event and keyboard events respectively, using a custom driver.
>>
>> We sometimes have a USB Keyboard attached and need to detect that case to 
>> prevent he SIP from displaying.
>>
>> I've searched and tried several solutions, but nothing has fit the bill 
>> yet. Looking in the registry doesn't seem to work as there is no 
>> "Software\Microsoft\Shell\HasKeyboard" key.  Also, GetKeyboardStatus() 
>> always returns 3 (has keyboard).
>>
>> I'm guessing that I'm not the first person to need this and am hoping 
>> someone can't point me in the right direction.
>>
>> Thanks,
>>
>> Drew
>>
>>
>
> 
Date:Fri, 17 Aug 2007 12:32:17 -0500   Author:  

Re: USB Keyboard Detect in WinCE 5.0   
You might try some of the bits hinted at by "USB Function Controller Driver 
Bus Interface" in the Platform Builder help for CE5.  Generally, though, 
there's no interface to see if a given HID device is there or to talk to HID 
devices, as there would be on the desktop.

Paul T.

"DrewCE"  wrote in message 
news:u9O2XSP4HHA.1992@TK2MSFTNGP03.phx.gbl...

> Unfortunately, no.  Our requirement is to only display the SIP if the 
> keyboard is not present.
>
> Drew
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT 
> com> wrote in message news:OUbbmMP4HHA.4712@TK2MSFTNGP04.phx.gbl...
>> Does the SIP hide itself as soon as you press a key on the hardware 
>> keyboard?  I think that the OS should do that automatically.  If so, good 
>> enough?
>>
>> Paul T.
>>
>> "DrewCE"  wrote in message 
>> news:OQ1r$GP4HHA.748@TK2MSFTNGP04.phx.gbl...
>>>I have a Windows CE 5.0 based device.  We have a touchscreen, joystick, 
>>>and hardware buttons.  The joystick and hardware buttons are mapped to 
>>>mouse event and keyboard events respectively, using a custom driver.
>>>
>>> We sometimes have a USB Keyboard attached and need to detect that case 
>>> to prevent he SIP from displaying.
>>>
>>> I've searched and tried several solutions, but nothing has fit the bill 
>>> yet. Looking in the registry doesn't seem to work as there is no 
>>> "Software\Microsoft\Shell\HasKeyboard" key.  Also, GetKeyboardStatus() 
>>> always returns 3 (has keyboard).
>>>
>>> I'm guessing that I'm not the first person to need this and am hoping 
>>> someone can't point me in the right direction.
>>>
>>> Thanks,
>>>
>>> Drew
>>>
>>>
>>
>>
>
> 
Date:Fri, 17 Aug 2007 10:43:49 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us