Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2005, 23:27
floppy
 
Posts: n/a
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
Reply With Quote
  #2  
Old 02-14-2005, 04:45
Satyric0n
 
Posts: n/a
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.
Reply With Quote
  #3  
Old 02-14-2005, 16:22
AgentSmith
 
Posts: n/a
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
Reply With Quote
  #4  
Old 02-15-2005, 03:56
floppy
 
Posts: n/a
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard problem with SoftICE on NT quasar General Discussion 0 03-30-2004 18:01


All times are GMT +8. The time now is 01:41.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )