Programmatically turn caps-lock off
Programmatically turn caps-lock off
- Subject: Programmatically turn caps-lock off
- From: Markus Hanauska <email@hidden>
- Date: Thu, 1 Jul 2010 12:48:08 +0200
This question has been asked before, but so far never been answered:
Is there a way, any way will do, to enable/disable caps-lock programmatically for a certain keyboard (or for all keyboards if it is only possible for all at once)? I know how to control the caps-lock light programmatically, but turning that light off will not turn caps-lock off. Event Taps won't do, as they can suppress the caps-lock key event (so no other application may notice caps-lock has been pressed), but they cannot prevent the driver from remembering that caps-lock is turned on and this has effects on all future key events, of course. I don't want to suppress caps-lock, caps-lock shall work as it always does, but there is a situation where it would be great if I can turn it off the same way it is turned off when the user hits the key again.
Please don't ask for the "why"; I cannot tell you why I'd like to do that, but trust me, if I'd tell you the reason for it, you'd see that it really, really makes sense.
If you think this is the wrong list, please give me advise which list is more appropriate. E.g. if this is something that can only be done from within the kernel, possibly by a kernel extension, let me know and I'll take it to the correct list. If you think that can be done from within the Carbon or Cocoa framework, same thing.
Thanks in advance.
Regards,
Markus _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden