Opened 18 years ago

Closed 18 years ago

Last modified 18 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:
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 by korli, 18 years ago

Status: newclosed

comment:2 by korli, 18 years ago

Resolution: fixed

comment:3 by korli, 18 years ago

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

comment:4 by bxi07354@…, 18 years ago

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 by korli, 18 years ago

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

comment:6 by bxi07354@…, 18 years ago

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 by johndrinkwater, 18 years ago

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

comment:8 by bxi07354@…, 18 years ago

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

Note: See TracTickets for help on using tickets.