Ticket #2222: zenhan.diff

File zenhan.diff, 924 bytes (added by shinta, 15 years ago)
  • headers/os/interface/InterfaceDefs.h

     
    6464
    6565    B_FUNCTION_KEY      = 0x10,
    6666
     67    // for Japanese keyboards
    6768    B_KATAKANA_HIRAGANA = 0xf2,
    68     B_ZENKAKU_HANKAKU   = 0xf3
     69    B_HANKAKU_ZENKAKU   = 0xf3
    6970};
    7071
    7172enum {
  • src/servers/input/InputServer.cpp

     
    15041504                    byte = 0;
    15051505
    15061506                if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ')
    1507                     || byte == B_ZENKAKU_HANKAKU) {
     1507                    || byte == B_HANKAKU_ZENKAKU) {
    15081508                    SetNextMethod(!(fKeyInfo.modifiers & B_SHIFT_KEY));
    15091509
    15101510                    // this event isn't sent to the user