Back to project page MYKey_SoftKeyboard.
The source code is released under:
Apache License
If you think the Android project MYKey_SoftKeyboard listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package key_process; //w w w . ja v a 2s.c om import java.util.ArrayList; import java.util.HashMap; /** * Generator? ????? ???? MYKey??? ????????? ????? ??????? ??? ???? ???? ??? ????. * ??????? ??? keyCode?? ?? ?????? phoneme?? <Key,Value>????? ????? ??? MYKey??? ???? * ????? ???? ?????? ????? ????? ??? ??? ?? ???? ??? ?? ???? ?????? ?? ?? keyCode? * ????? ???? ????. * * @author sunghoonpark */ public class KeyMap { static HashMap<String, Integer> keyMap = new HashMap<String, Integer>(); static ArrayList<String> stringCodeList = new ArrayList<String>(); static ArrayList<String> stringLabelList = new ArrayList<String>(); public KeyMap() { keyMap.put("3110",4113); keyMap.put("3111",4118); keyMap.put("3104-3104",4107); keyMap.put("3105-3103",4110); keyMap.put("3005",4006); keyMap.put("3006",4002); keyMap.put("3003",4000); keyMap.put("3004",4009); keyMap.put("3105-3107",4109); keyMap.put("3009",4018); keyMap.put("3007",4011); keyMap.put("3008",4005); keyMap.put("3105-3108",4111); keyMap.put("3013",4017); keyMap.put("3012",4014); keyMap.put("3011",4016); keyMap.put("3010",4015); keyMap.put("3111-3108",4119); keyMap.put("3107",4100); keyMap.put("3106",4104); keyMap.put("3109",4117); keyMap.put("3108",4120); keyMap.put("3103-3103",4103); keyMap.put("3103",4101); keyMap.put("3102",4102); keyMap.put("3105",4108); keyMap.put("3104",4105); keyMap.put("3100",4112); keyMap.put("3101",4106); keyMap.put("3110-3104",4115); keyMap.put("3110-3106",4114); keyMap.put("3002-3002",4004); keyMap.put("3110-3108",4116); keyMap.put("3004-3004",4010); keyMap.put("3003-3000",4008); keyMap.put("3000",4007); keyMap.put("3003-3003",4001); keyMap.put("3002",4003); keyMap.put("3001",4012); keyMap.put("3001-3001",4013); keyMap.put("3099", 4008); keyMap.put("3098", 4013); keyMap.put("3097", 4004); keyMap.put("3096", 4001); keyMap.put("3095", 4010); keyMap.put("3199", 8231); keyMap.put("3199-3199", 8758); keyMap.put("3108-3199", 4100); keyMap.put("3108-3199-3199", 4102); keyMap.put("3108-3199-3199-3108", 4103); keyMap.put("3107-3108", 4101); keyMap.put("3108-3199-3108", 4101); keyMap.put("3108-3106", 4101); keyMap.put("3199-3108", 4104); keyMap.put("3199-3199-3108", 4106); keyMap.put("3106-3108", 4105); keyMap.put("3199-3108-3108", 4105); keyMap.put("3199-3199-3108-3108", 4107); stringCodeList.add("4401"); stringLabelList.add("?"); stringCodeList.add("4411"); stringLabelList.add("?"); } public HashMap<String, Integer> getKeyMap() { return keyMap; } public ArrayList<String> getStringCodeList() { return stringCodeList; } public ArrayList<String> getStringLabelList() { return stringLabelList; } }