Sets the keyboard layout to com.apple.keylayout.US, besides using Hanyu Pinyin.
This commit is contained in:
parent
358ce9ef97
commit
3b411087c6
|
@ -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