aboutsummaryrefslogtreecommitdiff
path: root/system/keyboardlayouts
diff options
context:
space:
mode:
authortaxigps <taxigps@sina.com>2015-04-11 17:03:19 +0800
committertaxigps <taxigps@sina.com>2015-08-06 16:44:24 +0800
commitaa2ee8254d486e54be131b850c297ec750776a22 (patch)
tree2e68fdad6773eefd4640a048eb9a1218edb7f65d /system/keyboardlayouts
parent3342b9bfd204e9945be9a2586a805af0e818368b (diff)
[keyboard] support codingtable input and add Chinese BaiduPY/BasePY layouts
Diffstat (limited to 'system/keyboardlayouts')
-rw-r--r--system/keyboardlayouts/chinese.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/system/keyboardlayouts/chinese.xml b/system/keyboardlayouts/chinese.xml
new file mode 100644
index 0000000000..c712b11010
--- /dev/null
+++ b/system/keyboardlayouts/chinese.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+Please use English language names instead.
+Default font lacks support for all characters
+-->
+<keyboardlayouts>
+ <layout language="Chinese" layout="BasePY" codingtable="BasePY">
+ <keyboard>
+ <row>0123456789</row>
+ <row>qwertyuiop</row>
+ <row>asdfghjkl</row>
+ <row>zxcvbnm</row>
+ </keyboard>
+ <keyboard modifiers="shift">
+ <row>0123456789</row>
+ <row>QWERTYUIOP</row>
+ <row>ASDFGHJKL</row>
+ <row>ZXCVBNM</row>
+ </keyboard>
+ <keyboard modifiers="symbol,shift+symbol">
+ <row>)!@#$%^&amp;*(</row>
+ <row>[]{}-_=+;:</row>
+ <row>'",.&lt;&gt;/?\|</row>
+ <row>`~</row>
+ </keyboard>
+ </layout>
+ <layout language="Chinese" layout="BaiduPY" codingtable="BaiduPY"
+ apiurl="http://olime.baidu.com/py?input=%s&inputtype=py&bg=%d&ed=%d&result=hanzi&resultcoding=unicode&ch_en=0&clientinfo=web">
+ <keyboard>
+ <row>0123456789</row>
+ <row>qwertyuiop</row>
+ <row>asdfghjkl</row>
+ <row>zxcvbnm</row>
+ </keyboard>
+ <keyboard modifiers="shift">
+ <row>0123456789</row>
+ <row>QWERTYUIOP</row>
+ <row>ASDFGHJKL</row>
+ <row>ZXCVBNM</row>
+ </keyboard>
+ <keyboard modifiers="symbol,shift+symbol">
+ <row>)!@#$%^&amp;*(</row>
+ <row>[]{}-_=+;:</row>
+ <row>'",.&lt;&gt;/?\|</row>
+ <row>`~</row>
+ </keyboard>
+ </layout>
+</keyboardlayouts>