Review request for MACOSX_PORT-369: UnsupportedOperationException is thown on getLockingKeyState()

Andrew Thompson lordpixel+openjdk at mac.com
Sat Dec 31 07:28:21 PST 2011


Kana lock implies switching the keyboard to the mode where it enters Japanese Kana characters. It's probably the key to the right of the spacebar in this screenshot: http://en.wikipedia.org/wiki/File:MacBookProJISKeyboard-1.jpg. The key labeled かな and カナ, which both say 'kana'. I'd be surprised if it is a lock like caps-lock though. I've never used a physical Apple Japanese keyboard unfortunately, but I would be surprised if that key works like caps-lock.  Most likely it cycles through multiple modes.


On Dec 30, 2011, at 8:52 AM, Leonid Romanov wrote:

> Hello,
> Please, review the fix for http://java.net/jira/browse/MACOSX_PORT-369
> The web rev is located at:
> http://cr.openjdk.java.net/~leonidr/7124368/webrev.00/
> 
> Please, note that among the keys this method is supposed to check, only Caps Lock works as a true locking key with OS X.There is no Scroll Lock key on modern Apple keyboards, and with PC keyboard plugged in Scroll Lock is simply ignored: no LED lights up if you press it. As for Num Lock, the key located at the same position on Apple keyboards as Num Lock on PC keyboards is called Clear, doesn't lock anything and is used for entirely different purpose. Kana Lock is a mystery to me: I'm not an expert in I18N, so I've plugged in that ancient Japanese PC keyboard we have in our office, but it looks like OS X ignores Kana Lock key on this keyboard and doesn't generate any key code we can check.
> 
> Thanks,
> Leonid.
> 
> 
> 
> 
> 



More information about the macosx-port-dev mailing list