Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#129 closed bug (fixed)

Switch of input_method

Reported by: bxi07354@… Owned by: korli
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

src/servers/input/InputServer.cpp

InputServer::_SanitizeEvents(EventList& events)

if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0

&& (fKeyInfo.key_states[KEY_Spacebar >> 3]

& (1 << (7 - (KEY_Spacebar % 8))))) {

SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY);

I think that it is necessary to be switched by space code(0x20).

if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0

&& event->FindInt8("byte") == ' ') { SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY);

Change History (8)

comment:1 Changed 13 years ago by korli

Status: newclosed

comment:2 Changed 13 years ago by korli

Resolution: fixed

comment:3 Changed 13 years ago by korli

I think it's fixed. Could you check and close the bug ?

comment:4 Changed 13 years ago by bxi07354@…

input_server of hrev5 can be switched to KeyCode(0x5e) by KeyCode(0x11). input_server of Haiku can be switched only KeyCode(0x5e).

/etc/Keymap/Japanese # keymap -d

...

Key 0x10 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 Key 0x11 = ' '

comment:5 Changed 13 years ago by korli

OK I understand. Could you check if we must check these two keycodes or the space character ?

comment:6 Changed 13 years ago by bxi07354@…

two keycodes or the space character ?

No. Only space character. But It was not possible to look for the document that described it.

comment:7 Changed 13 years ago by johndrinkwater

What's the status of this bug, barber, was it resolved? (and if so, could you close it)

comment:8 Changed 13 years ago by bxi07354@…

I'm sorry. It did not notice. This was solved by hrev16666.

Note: See TracTickets for help on using tickets.