Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemWin32.cpp
| Show First 20 Lines • Show All 1,214 Lines • ▼ Show 20 Lines | if (!keyDown) { | ||||
| utf8_char[0] = '\0'; | utf8_char[0] = '\0'; | ||||
| ascii = '\0'; | ascii = '\0'; | ||||
| } | } | ||||
| else { | else { | ||||
| ascii = utf8_char[0] & 0x80 ? '?' : utf8_char[0]; | ascii = utf8_char[0] & 0x80 ? '?' : utf8_char[0]; | ||||
| } | } | ||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_INPUT_IME | ||||
| if (window->getImeInput()->IsImeKeyEvent(ascii)) { | if (window->getImeInput()->IsImeKeyEvent(ascii, key)) { | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| #endif /* WITH_INPUT_IME */ | #endif /* WITH_INPUT_IME */ | ||||
| event = new GHOST_EventKey(system->getMilliSeconds(), | event = new GHOST_EventKey(system->getMilliSeconds(), | ||||
| keyDown ? GHOST_kEventKeyDown : GHOST_kEventKeyUp, | keyDown ? GHOST_kEventKeyDown : GHOST_kEventKeyUp, | ||||
| window, | window, | ||||
| key, | key, | ||||
| ▲ Show 20 Lines • Show All 1,022 Lines • Show Last 20 Lines | |||||