Patch by Shinta: The key code was misnamed. Thanks a lot!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30599 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-05-03 08:32:17 +00:00
parent e9caec2c66
commit b037500155
2 changed files with 3 additions and 2 deletions

View File

@ -64,8 +64,9 @@ enum {
B_FUNCTION_KEY = 0x10,
// for Japanese keyboards
B_KATAKANA_HIRAGANA = 0xf2,
B_ZENKAKU_HANKAKU = 0xf3
B_HANKAKU_ZENKAKU = 0xf3
};
enum {

View File

@ -1504,7 +1504,7 @@ InputServer::_UpdateMouseAndKeys(EventList& events)
byte = 0;
if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ')
|| byte == B_ZENKAKU_HANKAKU) {
|| byte == B_HANKAKU_ZENKAKU) {
SetNextMethod(!(fKeyInfo.modifiers & B_SHIFT_KEY));
// this event isn't sent to the user