![]() |
|
|
|
#1
|
|||
|
|||
|
Programming keyboard and mouse
Hi, i would learn to control keyboard and mouse in a windows kernel mode driver, to disable keys or buttons, turn off/on leds. anyone knows any books and examples which explain how can i do? thanks
floppy |
|
#2
|
|||
|
|||
|
The Windows DDK comes with the sourcecode for example mouse and keyboard drivers. I assume that if you're writing Windows drivers, you must already have the DDK, so you should already have everything you need.
|
|
#3
|
|||
|
|||
|
Hello,
Try if this link will help you: www sysinternals com/ntw2k/source/ctrl2cap.shtml It is kerrnel-mode device driver that filters the system's keyboard class driver. At the bottom check for related info: The Windows NT and Windows 2000 DDK sample \src\storage\filter\diskperf The Windows 2000 DDK sample \src\input\kbfiltr hope it helps, asmith |
|
#4
|
|||
|
|||
|
They wer very useful, specially ctrl2cap from sysinternals. I also found another example in the Four-F kmdkit ( \examples\advanced\KbdSpy ). I write my own filter driver for the keyboard, but, during debugging, I noticed that it isn't able to filter keys used in softice (I think it's normal). How can I do to solve this problem? I know I can control several things sending commands to I/O ports, but I would like to not use "in" and "out" instructions. Thanks
Edited by floppy: If I cannot do anything about it, can anybody explain why? I would like to go deep in this stuff. Thanks for all. Last edited by floppy; 02-16-2005 at 22:24. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keyboard problem with SoftICE on NT | quasar | General Discussion | 0 | 03-30-2004 18:01 |