Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Handling keyboa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3713 of 3812
Post > Topic >>

Handling keyboard events (trapping modifiers' events)

by "Roman A. Kirillov" <sigizmund@[EMAIL PROTECTED] > Apr 18, 2008 at 11:50 PM

Hi guys,

I've got quite crazy idea - there's a wonderful button on a keyboard
named Caps Lock. And I really want it to toggle something useful -
like... ummm... keyboard layout? While switching keyboard layout isn't
really tricky, trapping caps lock - that's an issue.

Using examples from ADC, I easily figured, how to catch modifier
status 0x400. Now the question is - but how can I actually disable
capitalizing after that? Ideally, I should catch this event and do not
call something like DispatchEventOn method - but there's no such a
method I can find :) (I am quite new in Mac OS X programming, but not
new in UNIX).

Any ideas?

Best regards,
Roman
 




 2 Posts in Topic:
Handling keyboard events (trapping modifiers' events)
"Roman A. Kirillov&q  2008-04-18 23:50:03 
Re: Handling keyboard events (trapping modifiers' events)
Reinder Verlinde <rein  2008-04-19 23:17:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 2:32:28 CDT 2008.