Hi All,
I m writing a keyboard driver in which i want to trap cursor position. Is there any fubtions provided.
Thanx in advance.
–
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Keyboard has nothing to do with cursors.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Vikky Kishra”
To: “Windows System Software Devs Interest List”
Sent: Thursday, February 02, 2006 1:20 PM
Subject: [ntdev] To trap cursor position
Hi All,
I m writing a keyboard driver in which i want to trap cursor position. Is there
any fubtions provided.
Thanx in advance.
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail
storage, POP3, e-mail forwarding, and ads-free mailboxes!
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanx Maxim,
But I want to control mouse movement with my keyboard and that to by using driver, give any suggestions.
----- Original Message -----
From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] To trap cursor position
> Date: Thu, 2 Feb 2006 13:38:23 +0300
>
>
> Keyboard has nothing to do with cursors.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Vikky Kishra”
> To: “Windows System Software Devs Interest List”
> Sent: Thursday, February 02, 2006 1:20 PM
> Subject: [ntdev] To trap cursor position
>
>
> Hi All,
> I m writing a keyboard driver in which i want to trap cursor
> position. Is there
> any fubtions provided.
>
> Thanx in advance.
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for mail
> storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@indiainfo.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Vikky Kishra wrote:
But I want to control mouse movement with my keyboard and that to by using driver, give any suggestions.
You don’t need a driver for this. Microsoft has tools to help with
this; Google for MouseKeys.
For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
trackpad. (I love trackpads.) It has a custom key that turns on
MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once). After
it is turned on, the numeric keypad controls the mouse. All of that is
done with nothing other than standard Microsoft code.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
I already know dat. But I want to control it with my driver. ok Is there any source where i can get get mousekey code to study.
----- Original Message -----
From: “Tim Roberts”
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] To trap cursor position
> Date: Thu, 02 Feb 2006 09:25:46 -0800
>
>
> Vikky Kishra wrote:
>
> > But I want to control mouse movement with my keyboard and that to
> > by using driver, give any suggestions.
>
> You don’t need a driver for this. Microsoft has tools to help with
> this; Google for MouseKeys.
>
> For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> trackpad. (I love trackpads.) It has a custom key that turns on
> MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once). After
> it is turned on, the numeric keypad controls the mouse. All of that is
> done with nothing other than standard Microsoft code.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@indiainfo.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Easy way: shuttle the scan codes to user mode and have an app call
SendInput()
Hard way: enumerate a virtual mouse where your driver is the mouse port
driver under mouclass. You move the scan codes from your keyboard
filter device object to your mouse port device object.
I would go with the UM app, it’s simpler.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
Sent: Thursday, February 02, 2006 9:45 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] To trap cursor position
I already know dat. But I want to control it with my driver. ok Is there
any source where i can get get mousekey code to study.
----- Original Message -----
From: “Tim Roberts”
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] To trap cursor position
> Date: Thu, 02 Feb 2006 09:25:46 -0800
>
>
> Vikky Kishra wrote:
>
> > But I want to control mouse movement with my keyboard and that to
> > by using driver, give any suggestions.
>
> You don’t need a driver for this. Microsoft has tools to help with
> this; Google for MouseKeys.
>
> For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> trackpad. (I love trackpads.) It has a custom key that turns on
> MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
After
> it is turned on, the numeric keypad controls the mouse. All of that
is
> done with nothing other than standard Microsoft code.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@indiainfo.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for
mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanx Mr.Doron,
But plz giv brief idea bout " shuttle the scan codes to user mode and have an app call".
Thanx in advance.
SendInput()
----- Original Message -----
From: “Doron Holan”
> To: “Windows System Software Devs Interest List”
> Subject: RE: [ntdev] To trap cursor position
> Date: Thu, 2 Feb 2006 22:17:22 -0800
>
>
> Easy way: shuttle the scan codes to user mode and have an app call
> SendInput()
>
> Hard way: enumerate a virtual mouse where your driver is the mouse port
> driver under mouclass. You move the scan codes from your keyboard
> filter device object to your mouse port device object.
>
> I would go with the UM app, it’s simpler.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Thursday, February 02, 2006 9:45 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] To trap cursor position
>
> I already know dat. But I want to control it with my driver. ok Is there
> any source where i can get get mousekey code to study.
>
> > ----- Original Message -----
> > From: “Tim Roberts”
> > To: “Windows System Software Devs Interest List”
> > Subject: Re: [ntdev] To trap cursor position
> > Date: Thu, 02 Feb 2006 09:25:46 -0800
> >
> >
> > Vikky Kishra wrote:
> >
> > > But I want to control mouse movement with my keyboard and that
> > to > by using driver, give any suggestions.
> >
> > You don’t need a driver for this. Microsoft has tools to help with
> > this; Google for MouseKeys.
> >
> > For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> > trackpad. (I love trackpads.) It has a custom key that turns on
> > MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
> After
> > it is turned on, the numeric keypad controls the mouse. All of that
> is
> > done with nothing other than standard Microsoft code.
> >
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@indiainfo.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> >
>
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Vikky Kishra wrote:
Thanx Mr.Doron,
But plz giv brief idea bout " shuttle the scan codes to user mode and have an app call".
You cut off the end of the sentence: “…have an app call
SendInput().” What Doron is describing is exactly what MouseKeys does.
He’s talking about having a user-mode application that either talks
directly to the driver, or monitor keystrokes using SetWindowsHook, and
converts your magic keystrokes to mouse movement using SendInput.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
If you are using KMDF, look at the kbfiltr KMDF sample to see how to
create a raw PDO that your application can talk to. If you are using
WDM, you should create a control device object for your application to
talk to. The app always has an IOCTL pending in the PDO/control device.
you complete the IOCTL with scancode data when you get it.
You only need to do this if you want to map only your keyboard to a
mouse. If you want to map all keyboards to a mouse pointer, then you
can do this in UM exclusively with a low level keyboard hook and
SendInput().
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
Sent: Friday, February 03, 2006 2:35 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] To trap cursor position
Thanx Mr.Doron,
But plz giv brief idea bout " shuttle the scan codes to user mode and
have an app call".
Thanx in advance.
SendInput()
----- Original Message -----
From: “Doron Holan”
> To: “Windows System Software Devs Interest List”
> Subject: RE: [ntdev] To trap cursor position
> Date: Thu, 2 Feb 2006 22:17:22 -0800
>
>
> Easy way: shuttle the scan codes to user mode and have an app call
> SendInput()
>
> Hard way: enumerate a virtual mouse where your driver is the mouse
port
> driver under mouclass. You move the scan codes from your keyboard
> filter device object to your mouse port device object.
>
> I would go with the UM app, it’s simpler.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Thursday, February 02, 2006 9:45 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] To trap cursor position
>
> I already know dat. But I want to control it with my driver. ok Is
there
> any source where i can get get mousekey code to study.
>
> > ----- Original Message -----
> > From: “Tim Roberts”
> > To: “Windows System Software Devs Interest List”
> > Subject: Re: [ntdev] To trap cursor position
> > Date: Thu, 02 Feb 2006 09:25:46 -0800
> >
> >
> > Vikky Kishra wrote:
> >
> > > But I want to control mouse movement with my keyboard and that
> > to > by using driver, give any suggestions.
> >
> > You don’t need a driver for this. Microsoft has tools to help with
> > this; Google for MouseKeys.
> >
> > For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> > trackpad. (I love trackpads.) It has a custom key that turns on
> > MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
> After
> > it is turned on, the numeric keypad controls the mouse. All of that
> is
> > done with nothing other than standard Microsoft code.
> >
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
xxxxx@indiainfo.com
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
>
> >
>
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for
mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanx Doron,
I will try it.
----- Original Message -----
From: “Doron Holan”
> To: “Windows System Software Devs Interest List”
> Subject: RE: [ntdev] To trap cursor position
> Date: Fri, 3 Feb 2006 10:36:56 -0800
>
>
> If you are using KMDF, look at the kbfiltr KMDF sample to see how to
> create a raw PDO that your application can talk to. If you are using
> WDM, you should create a control device object for your application to
> talk to. The app always has an IOCTL pending in the PDO/control device.
> you complete the IOCTL with scancode data when you get it.
>
> You only need to do this if you want to map only your keyboard to a
> mouse. If you want to map all keyboards to a mouse pointer, then you
> can do this in UM exclusively with a low level keyboard hook and
> SendInput().
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Friday, February 03, 2006 2:35 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] To trap cursor position
>
> Thanx Mr.Doron,
> But plz giv brief idea bout " shuttle the scan codes to user mode and
> have an app call".
>
> Thanx in advance.
> > SendInput()
> > ----- Original Message -----
> > From: “Doron Holan”
> > To: “Windows System Software Devs Interest List”
> > Subject: RE: [ntdev] To trap cursor position
> > Date: Thu, 2 Feb 2006 22:17:22 -0800
> >
> >
> > Easy way: shuttle the scan codes to user mode and have an app call
> > SendInput()
> >
> > Hard way: enumerate a virtual mouse where your driver is the mouse
> port
> > driver under mouclass. You move the scan codes from your keyboard
> > filter device object to your mouse port device object.
> >
> > I would go with the UM app, it’s simpler.
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> > Sent: Thursday, February 02, 2006 9:45 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] To trap cursor position
> >
> > I already know dat. But I want to control it with my driver. ok Is
> there
> > any source where i can get get mousekey code to study.
> >
> > > ----- Original Message -----
> > > From: “Tim Roberts”
> > > To: “Windows System Software Devs Interest List”
>
> > > Subject: Re: [ntdev] To trap cursor position
> > > Date: Thu, 02 Feb 2006 09:25:46 -0800
> > >
> > >
> > > Vikky Kishra wrote:
> > >
> > > > But I want to control mouse movement with my keyboard and
> > that > to > by using driver, give any suggestions.
> > >
> > > You don’t need a driver for this. Microsoft has tools to help with
> > > this; Google for MouseKeys.
> > >
> > > For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> > > trackpad. (I love trackpads.) It has a custom key that turns on
> > > MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
> > After
> > > it is turned on, the numeric keypad controls the mouse. All of that
> > is
> > > done with nothing other than standard Microsoft code.
> > >
> > > –
> > > Tim Roberts, xxxxx@probo.com
> > > Providenza & Boekelheide, Inc.
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at >
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as:
> xxxxx@indiainfo.com
> > > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
> > >
> >
> >
> > –
> >
> > IndiaInfo Mail - the free e-mail service with a difference!
> > www.indiainfo.com
> > Check out our value-added Premium features, such as an extra 20MB for
> > mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument:
> > ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument: ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> >
>
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Doron,
I wanna to know that i can create a keyboard driver that will support mouse event, by SendInput() or not. Or I hav to write a seperate service in which i have to handle mouse movements.
----- Original Message -----
From: “Doron Holan”
> To: “Windows System Software Devs Interest List”
> Subject: RE: [ntdev] To trap cursor position
> Date: Fri, 3 Feb 2006 10:36:56 -0800
>
>
> If you are using KMDF, look at the kbfiltr KMDF sample to see how to
> create a raw PDO that your application can talk to. If you are using
> WDM, you should create a control device object for your application to
> talk to. The app always has an IOCTL pending in the PDO/control device.
> you complete the IOCTL with scancode data when you get it.
>
> You only need to do this if you want to map only your keyboard to a
> mouse. If you want to map all keyboards to a mouse pointer, then you
> can do this in UM exclusively with a low level keyboard hook and
> SendInput().
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Friday, February 03, 2006 2:35 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] To trap cursor position
>
> Thanx Mr.Doron,
> But plz giv brief idea bout " shuttle the scan codes to user mode and
> have an app call".
>
> Thanx in advance.
> > SendInput()
> > ----- Original Message -----
> > From: “Doron Holan”
> > To: “Windows System Software Devs Interest List”
> > Subject: RE: [ntdev] To trap cursor position
> > Date: Thu, 2 Feb 2006 22:17:22 -0800
> >
> >
> > Easy way: shuttle the scan codes to user mode and have an app call
> > SendInput()
> >
> > Hard way: enumerate a virtual mouse where your driver is the mouse
> port
> > driver under mouclass. You move the scan codes from your keyboard
> > filter device object to your mouse port device object.
> >
> > I would go with the UM app, it’s simpler.
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> > Sent: Thursday, February 02, 2006 9:45 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] To trap cursor position
> >
> > I already know dat. But I want to control it with my driver. ok Is
> there
> > any source where i can get get mousekey code to study.
> >
> > > ----- Original Message -----
> > > From: “Tim Roberts”
> > > To: “Windows System Software Devs Interest List”
>
> > > Subject: Re: [ntdev] To trap cursor position
> > > Date: Thu, 02 Feb 2006 09:25:46 -0800
> > >
> > >
> > > Vikky Kishra wrote:
> > >
> > > > But I want to control mouse movement with my keyboard and
> > that > to > by using driver, give any suggestions.
> > >
> > > You don’t need a driver for this. Microsoft has tools to help with
> > > this; Google for MouseKeys.
> > >
> > > For 8 hours a day, I use a Cirque ergonomic keyboard with a built-in
> > > trackpad. (I love trackpads.) It has a custom key that turns on
> > > MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
> > After
> > > it is turned on, the numeric keypad controls the mouse. All of that
> > is
> > > done with nothing other than standard Microsoft code.
> > >
> > > –
> > > Tim Roberts, xxxxx@probo.com
> > > Providenza & Boekelheide, Inc.
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at >
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as:
> xxxxx@indiainfo.com
> > > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
> > >
> >
> >
> > –
> >
> > IndiaInfo Mail - the free e-mail service with a difference!
> > www.indiainfo.com
> > Check out our value-added Premium features, such as an extra 20MB for
> > mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument:
> > ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument: ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> >
>
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Vikky Kishra wrote:
I wanna to know that i can create a keyboard driver that will support mouse event, by SendInput() or not. Or I hav to write a seperate service in which i have to handle mouse movements.
Keyboard drivers are kernel components. SendInput() is a user-mode
Win32 API. The worlds do not overlap.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
The same driver can be a filter (or port) in both the keyboard and mouse
stacks, the i8042prt driver does this. you create a device object for
each stack and you know which stack you are in based on the CONNECT
IOCTL which comes into the driver.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
Sent: Monday, February 06, 2006 1:01 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] To trap cursor position
Doron,
I wanna to know that i can create a keyboard driver that will support
mouse event, by SendInput() or not. Or I hav to write a seperate service
in which i have to handle mouse movements.
----- Original Message -----
From: “Doron Holan”
> To: “Windows System Software Devs Interest List”
> Subject: RE: [ntdev] To trap cursor position
> Date: Fri, 3 Feb 2006 10:36:56 -0800
>
>
> If you are using KMDF, look at the kbfiltr KMDF sample to see how to
> create a raw PDO that your application can talk to. If you are using
> WDM, you should create a control device object for your application to
> talk to. The app always has an IOCTL pending in the PDO/control
device.
> you complete the IOCTL with scancode data when you get it.
>
> You only need to do this if you want to map only your keyboard to a
> mouse. If you want to map all keyboards to a mouse pointer, then you
> can do this in UM exclusively with a low level keyboard hook and
> SendInput().
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Friday, February 03, 2006 2:35 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] To trap cursor position
>
> Thanx Mr.Doron,
> But plz giv brief idea bout " shuttle the scan codes to user mode and
> have an app call".
>
> Thanx in advance.
> > SendInput()
> > ----- Original Message -----
> > From: “Doron Holan”
> > To: “Windows System Software Devs Interest List”
> > Subject: RE: [ntdev] To trap cursor position
> > Date: Thu, 2 Feb 2006 22:17:22 -0800
> >
> >
> > Easy way: shuttle the scan codes to user mode and have an app call
> > SendInput()
> >
> > Hard way: enumerate a virtual mouse where your driver is the mouse
> port
> > driver under mouclass. You move the scan codes from your keyboard
> > filter device object to your mouse port device object.
> >
> > I would go with the UM app, it’s simpler.
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> > Sent: Thursday, February 02, 2006 9:45 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] To trap cursor position
> >
> > I already know dat. But I want to control it with my driver. ok Is
> there
> > any source where i can get get mousekey code to study.
> >
> > > ----- Original Message -----
> > > From: “Tim Roberts”
> > > To: “Windows System Software Devs Interest List”
>
> > > Subject: Re: [ntdev] To trap cursor position
> > > Date: Thu, 02 Feb 2006 09:25:46 -0800
> > >
> > >
> > > Vikky Kishra wrote:
> > >
> > > > But I want to control mouse movement with my keyboard and
> > that > to > by using driver, give any suggestions.
> > >
> > > You don’t need a driver for this. Microsoft has tools to help
with
> > > this; Google for MouseKeys.
> > >
> > > For 8 hours a day, I use a Cirque ergonomic keyboard with a
built-in
> > > trackpad. (I love trackpads.) It has a custom key that turns on
> > > MouseKeys (by sending left-Alt, left-Ctrl, and NumLock at once).
> > After
> > > it is turned on, the numeric keypad controls the mouse. All of
that
> > is
> > > done with nothing other than standard Microsoft code.
> > >
> > > –
> > > Tim Roberts, xxxxx@probo.com
> > > Providenza & Boekelheide, Inc.
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at >
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as:
> xxxxx@indiainfo.com
> > > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> >
> > >
> >
> >
> > –
> >
> > IndiaInfo Mail - the free e-mail service with a difference!
> > www.indiainfo.com
> > Check out our value-added Premium features, such as an extra 20MB
for
> > mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument:
> > ‘’
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: unknown lmsubst tag
> argument: ‘’
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
>
> >
>
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
–
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for
mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com