Prev: How to uniquely identify a USB-HID device ?
Next: KMDF driver METHOD_NEITHER and high CPU usage questions
From: webphone on 15 Jan 2010 09:01 With reference to http://gbmsoftware.com/ and mobileairmouse.com I need to write a receiver on windows and there are virtual keyboard and mice on iphone or PDA phone to control the PC through wifi or bluetooth. I did not write windows driver before and how can I accomplish the task? "Tim Roberts" wrote: > webphone <webphone(a)discussions.microsoft.com> wrote: > > > >I need to write a receiver driver installed on windows to listen wifi or > >bluetooth mouse and keyboard. > > Wireless mice and keyboards do not use wifi. > > What are you REALLY trying to accomplish? You can write a HID filter > driver to catch keyboard and mouse messages, but you can't intercept the > traffic at a low-level. > -- > Tim Roberts, timr(a)probo.com > Providenza & Boekelheide, Inc. > . >
From: Tim Roberts on 16 Jan 2010 19:26
webphone <webphone(a)discussions.microsoft.com> wrote: > >With reference to http://gbmsoftware.com/ and mobileairmouse.com > >I need to write a receiver on windows and there are virtual keyboard and >mice on iphone or PDA phone to control the PC through wifi or bluetooth. > >I did not write windows driver before and how can I accomplish the task? First, you need to do a lot more research to make sure you understand what you're asking. Those devices shouldn't need a driver at all. When they say "wifi", they just mean "over a network". You can do that with a normal TCP socket application. The phone sends a protocol -- which you can invent -- over to the PC application, and the application just injects mouse or keyboard events, using something like SendInput. For Bluetooth, there are already drivers that will let the phone and PC set up a connection. After that, you just need an application to tap into that connection. I'm not as good in Bluetooth, but I don't think you'll need a driver here, either. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc. |