代码拉取完成,页面将自动刷新
# 当切换到当前的输入法时: init, onActivate
2023-04-15 13:00:21,933 - server.py[line:73] - INFO: cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"id":"{9c2d6c68-9ea6-4cfb-a769-7e619db7f267}","isConsole":false,"isMetroApp":false,"isUiLess":false,"isWindows8Above":true,"method":"init","seqNum":0}
2023-04-15 13:00:21,933 - server.py[line:92] - INFO: PIME_MSG|cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"seqNum": 0, "success": true}
2023-04-15 13:00:21,933 - server.py[line:73] - INFO: cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"isKeyboardOpen":true,"method":"onActivate","seqNum":1}
2023-04-15 13:00:22,005 - server.py[line:92] - INFO: PIME_MSG|cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"customizeUI": {"candFontSize": 12, "candFontName": "Microsoft YaHei", "candPerRow": 1, "candUseCursor": true}, "addButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng_full_capson.ico", "tooltip": "�������ГQ", "commandId": 1, "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng.ico", "text": "�������ГQ", "tooltip": "�������ГQ", "commandId": 2, "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\full.ico", "text": "ȫ����ГQ", "tooltip": "ȫ��/����ГQ", "commandId": 3, "id": "switch-shape"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\config.ico", "text": "�O��", "tooltip": "�O��", "type": "menu", "id": "settings"}], "changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "success": true, "seqNum": 1}
# 当切换到别的输入法时: onDeactivate, close
2023-04-15 13:00:23,087 - server.py[line:73] - INFO: cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"method":"onDeactivate","seqNum":6}
2023-04-15 13:00:23,087 - server.py[line:92] - INFO: PIME_MSG|cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"showCandidates": false, "compositionString": "", "compositionCursor": 0, "removeButton": ["switch-lang", "switch-shape", "settings", "windows-mode-icon"], "success": true, "seqNum": 6}
2023-04-15 13:00:23,087 - server.py[line:73] - INFO: cf06fbc0-5d7c-4dba-84d2-cb8c410039d9|{"method":"close"}
# 用户输入w, filterKeyDown,onKeyDown,filterKeyDown(一个w产生3个消息)
2023-04-12 13:29:23,363 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":12}
2023-04-12 13:29:23,363 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"return": true, "success": true, "seqNum": 12}
2023-04-12 13:29:23,365 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":13}
2023-04-12 13:29:23,365 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "setSelKeys": "12345", "compositionString": "w", "compositionCursor": 1, "candidateList": ["我", "爲", "玩", "問", "無"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 13}
2023-04-12 13:29:23,370 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":14}
2023-04-12 13:29:23,370 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"return": 0, "success": true, "seqNum": 14}
# 用户输入w之后, 再输入空格, 选择默认第一个候选词: filterKeyDown, onKeyDown, onCompositionTerminated, filterKeyUp
2023-04-12 13:29:25,274 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":32,"isExtended":false,"keyCode":32,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":15}
2023-04-12 13:29:25,274 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"return": true, "success": true, "seqNum": 15}
2023-04-12 13:29:25,274 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":32,"isExtended":false,"keyCode":32,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":16}
2023-04-12 13:29:25,274 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "commitString": "我", "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 16}
2023-04-12 13:29:25,274 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"forced":false,"method":"onCompositionTerminated","seqNum":17}
2023-04-12 13:29:25,274 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"success": true, "seqNum": 17}
2023-04-12 13:29:25,372 - server2.py[line:80] - INFO: 576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"charCode":32,"isExtended":false,"keyCode":32,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":18}
2023-04-12 13:29:25,372 - server2.py[line:95] - INFO: PIME_MSG|576d3bee-73dd-4ca5-bae3-940268c9c9e1|{"return": 0, "success": true, "seqNum": 18}
# 用户输入'ks', 下面是输入s时的回复
2023-04-16 16:10:58,358 - server.py[line:73] - INFO: 04b6150d-0e0d-45dc-9947-d954c2c6df0a|{"charCode":115,"isExtended":false,"keyCode":83,"keyStates":[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":8}
2023-04-16 16:10:58,358 - server.py[line:92] - INFO: PIME_MSG|04b6150d-0e0d-45dc-9947-d954c2c6df0a|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "compositionString": "k s", "compositionCursor": 3, "candidateList": ["開始", "可是", "考試", "快速", "考生"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 8}
# 在输入状态, 比如用户输入'w', 按esc键的处理过程: filterKeyDown, onKeyDown, onCompositionTerminated, filterKeyUp
2023-05-15 12:00:03,213 - server.py[line:73] - INFO: 5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"charCode":27,"isExtended":false,"keyCode":27,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":7}
2023-05-15 12:00:03,213 - server.py[line:92] - INFO: PIME_MSG|5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"return": true, "success": true, "seqNum": 7}
2023-05-15 12:00:03,213 - server.py[line:73] - INFO: 5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"charCode":27,"isExtended":false,"keyCode":27,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":8}
2023-05-15 12:00:03,213 - server.py[line:92] - INFO: PIME_MSG|5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 8}
2023-05-15 12:00:03,220 - server.py[line:73] - INFO: 5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"forced":false,"method":"onCompositionTerminated","seqNum":9}
2023-05-15 12:00:03,220 - server.py[line:92] - INFO: PIME_MSG|5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"success": true, "seqNum": 9}
2023-05-15 12:00:03,321 - server.py[line:73] - INFO: 5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"charCode":27,"isExtended":false,"keyCode":27,"keyStates":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":10}
2023-05-15 12:00:03,321 - server.py[line:92] - INFO: PIME_MSG|5e471d15-5c3b-4a71-aa12-1ce25fc0d162|{"return": 0, "success": true, "seqNum": 10}
#############################################################################################
下面是‘我被’的一个组词的全过程:
输入w, 显示w的候选词:
2023-05-18 20:18:37,040 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":5}
2023-05-18 20:18:37,042 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "setSelKeys": "12345", "compositionString": "w", "compositionCursor": 1, "candidateList": ["我", "爲", "玩", "問", "無"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 5}
输入b键之后, 显示'w b'开头的候选词:
2023-05-18 20:18:38,578 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"charCode":98,"isExtended":false,"keyCode":66,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":8}
2023-05-18 20:18:38,579 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "compositionString": "w b", "compositionCursor": 3, "candidateList": ["文本", "完畢", "我不", "網吧", "我把"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 8}
输入左箭头, 回到'wIb'的状态:
2023-05-18 20:18:43,128 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"charCode":0,"isExtended":true,"keyCode":37,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":11}
2023-05-18 20:18:43,128 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "compositionString": "wb", "compositionCursor": 1, "candidateList": ["我", "爲", "玩", "問", "無"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 11}
输入数字1, 选择'我', 状态'我bI':
2023-05-18 20:18:49,296 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"charCode":49,"isExtended":false,"keyCode":49,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":14}
2023-05-18 20:18:49,296 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "compositionString": "我b", "compositionCursor": 2, "candidateList": ["遍", "被", "不", "吧", "把"], "candidateCursor": 0, "showCandidates": true, "return": true, "success": true, "seqNum": 14}
输入数字2, 选择'被', 完成组词输入'我被':
2023-05-18 20:18:53,216 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"charCode":50,"isExtended":false,"keyCode":50,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":17}
2023-05-18 20:18:53,216 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "commitString": "我被", "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 17}
下面就正常结束了本次输入了:
2023-05-18 20:18:53,226 - server.py[line:73] - INFO: 46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"forced":false,"method":"onCompositionTerminated","seqNum":18}
2023-05-18 20:18:53,226 - server.py[line:92] - INFO: PIME_MSG|46a9e7fc-2bb8-4b60-ba7d-4412f012b063|{"success": true, "seqNum": 18}
#############################################################################################
输入Shift键, 切换输入法的交互过程(shift键的keydown和keyup都要处理, 但回复不一样):
经过实验, 其实只需要一个就可以了, 关键是看回复的是什么信息:
shift键的filterKeyDown和onKeyDown:
2023-05-20 18:06:31,253 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,128,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":4}
2023-05-20 18:06:31,253 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"return": true, "success": true, "seqNum": 4}
2023-05-20 18:06:31,253 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,128,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":5}
2023-05-20 18:06:31,257 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 5}
shift键的filterKeyUp和onKeyUp, 不明白为什么up键需要处理? 但是回应和down键是不一样的, 一个是chi_half_capsoff, 另外一个是eng_half_capsoff
2023-05-20 18:06:31,341 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":6}
2023-05-20 18:06:31,341 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"return": true, "success": true, "seqNum": 6}
2023-05-20 18:06:31,342 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"onKeyUp","repeatCount":1,"scanCode":0,"seqNum":7}
2023-05-20 18:06:31,342 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 7}
切换到英文输入法之后, 输入w键就不响应了:
2023-05-20 18:06:33,680 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":8}
2023-05-20 18:06:33,680 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"return": 0, "success": true, "seqNum": 8}
2023-05-20 18:06:33,757 - server.py[line:73] - INFO: dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"charCode":119,"isExtended":false,"keyCode":87,"keyStates":[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,128],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":9}
2023-05-20 18:06:33,760 - server.py[line:92] - INFO: PIME_MSG|dcc6dd83-64c7-4815-bd98-c3907ce9dd34|{"return": 0, "success": true, "seqNum": 9}
下面是再切换为中文的情况:
2023-05-20 18:30:21,262 - server.py[line:73] - INFO: 1e7b9f77-b28d-489d-9958-4c35647022d2|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyDown","repeatCount":1,"scanCode":0,"seqNum":10}
2023-05-20 18:30:21,262 - server.py[line:92] - INFO: PIME_MSG|1e7b9f77-b28d-489d-9958-4c35647022d2|{"return": true, "success": true, "seqNum": 10}
2023-05-20 18:30:21,266 - server.py[line:73] - INFO: 1e7b9f77-b28d-489d-9958-4c35647022d2|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyDown","repeatCount":1,"scanCode":0,"seqNum":11}
2023-05-20 18:30:21,267 - server.py[line:92] - INFO: PIME_MSG|1e7b9f77-b28d-489d-9958-4c35647022d2|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\eng.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 11}
2023-05-20 18:30:21,415 - server.py[line:73] - INFO: 1e7b9f77-b28d-489d-9958-4c35647022d2|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"filterKeyUp","repeatCount":1,"scanCode":0,"seqNum":12}
2023-05-20 18:30:21,416 - server.py[line:92] - INFO: PIME_MSG|1e7b9f77-b28d-489d-9958-4c35647022d2|{"return": true, "success": true, "seqNum": 12}
2023-05-20 18:30:21,417 - server.py[line:73] - INFO: 1e7b9f77-b28d-489d-9958-4c35647022d2|{"charCode":0,"isExtended":false,"keyCode":16,"keyStates":[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0],"method":"onKeyUp","repeatCount":1,"scanCode":0,"seqNum":13}
2023-05-20 18:30:21,418 - server.py[line:92] - INFO: PIME_MSG|1e7b9f77-b28d-489d-9958-4c35647022d2|{"changeButton": [{"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi_half_capsoff.ico", "id": "windows-mode-icon"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\chi.ico", "id": "switch-lang"}, {"icon": "C:\\Program Files (x86)\\PIME\\python\\input_methods\\rime\\icons\\half.ico", "id": "switch-shape"}], "showCandidates": false, "compositionString": "", "compositionCursor": 0, "return": true, "success": true, "seqNum": 13}
#############################################################################################
输入字符s, 和输入ctrl+s的消息内容:
2023-05-23 11:37:53,922 - MsgProcess.py[line:212] - INFO: msg:{'charCode': 115, 'isExtended': False, 'keyCode': 83, 'keyStates': [0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 129, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 129], 'method': 'filterKeyDown', 'repeatCount': 1, 'scanCode': 0, 'seqNum': 9}
2023-05-23 11:38:04,938 - MsgProcess.py[line:212] - INFO: msg:{'charCode': 0, 'isExtended': False, 'keyCode': 17, 'keyStates': [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 129], 'method': 'filterKeyDown', 'repeatCount': 1, 'scanCode': 0, 'seqNum': 13}
2023-05-23 11:38:06,282 - MsgProcess.py[line:212] - INFO: msg:{'charCode': 115, 'isExtended': False, 'keyCode': 83, 'keyStates': [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 128, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 129], 'method': 'filterKeyDown', 'repeatCount': 1, 'scanCode': 0, 'seqNum': 14}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。