Ticket #2222: zenhan.diff
File zenhan.diff, 924 bytes (added by , 16 years ago) |
---|
-
headers/os/interface/InterfaceDefs.h
64 64 65 65 B_FUNCTION_KEY = 0x10, 66 66 67 // for Japanese keyboards 67 68 B_KATAKANA_HIRAGANA = 0xf2, 68 B_ ZENKAKU_HANKAKU = 0xf369 B_HANKAKU_ZENKAKU = 0xf3 69 70 }; 70 71 71 72 enum { -
src/servers/input/InputServer.cpp
1504 1504 byte = 0; 1505 1505 1506 1506 if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ') 1507 || byte == B_ ZENKAKU_HANKAKU) {1507 || byte == B_HANKAKU_ZENKAKU) { 1508 1508 SetNextMethod(!(fKeyInfo.modifiers & B_SHIFT_KEY)); 1509 1509 1510 1510 // this event isn't sent to the user