#129 closed bug (fixed)
Switch of input_method
Reported by: | 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 , 19 years ago
Status: | new → closed |
---|
comment:2 by , 19 years ago
Resolution: | → fixed |
---|
comment:3 by , 19 years ago
comment:4 by , 19 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 , 19 years ago
OK I understand. Could you check if we must check these two keycodes or the space character ?
comment:6 by , 19 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 , 18 years ago
What's the status of this bug, barber, was it resolved? (and if so, could you close it)
I think it's fixed. Could you check and close the bug ?