![]() |
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 |
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. ;)
|
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 |
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. |
| All times are GMT +8. The time now is 12:21. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX