Re: Switch off Caps Lock from kernel mode driver by Krishna
Krishna
Thu Oct 13 02:20:01 CDT 2005
Hi,
I am generating keyboard events from kernel mode driver. But in case if
caps lock is on , the charcters generated becomes inverted due to caps lock.
So I need to switch off caps lock before generating keyboard events from
kernel mode.
please help on this.
thanx,
Krish
"Robert Marquardt" wrote:
> Krishna wrote:
> > Hi,
> > Is there any way in kernel mode driver to check the status of capslock
> > key and turn off if it is ON?
> >
> > I thought of accessing Bios address space 40h:17h for this purpose.
> > But I don't know how to do that in Kernel mode.
> >
> > Please help on how to access 40h:17h address from kernel mode driver.
> > Any other way to do the thing also welcome. I am a newbie.
> >
> > Thanks,
> > Krishna
>
> The CapsLock status is a status of the OS and no driver should mess
> around with it. Why do you want to change it at all?
>