Sets the keyboard layout to com.apple.keylayout.US, besides using Hanyu Pinyin.
This commit is contained in:
parent
ebb382b054
commit
e7246b8d84
|
@ -235,6 +235,9 @@ public:
|
|||
_bpmfReadingBuffer->setKeyboardLayout(BopomofoKeyboardLayout::StandardLayout());
|
||||
[[NSUserDefaults standardUserDefaults] setInteger:0 forKey:kKeyboardLayoutPreferenceKey];
|
||||
}
|
||||
if (keyboardLayout < 4) {
|
||||
[client overrideKeyboardWithKeyboardNamed:@"com.apple.keylayout.US"];
|
||||
}
|
||||
|
||||
// set the size
|
||||
NSInteger textSize = [[NSUserDefaults standardUserDefaults] integerForKey:kCandidateListTextSizeKey];
|
||||
|
|
Loading…
Reference in New Issue