File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2626 BLOCK "040904b0"
2727 BEGIN
2828 VALUE "Comments", "https://github.com/Zalafina/QKeyMapper"
29- VALUE "FileDescription", "QKeyMapper v1.3.7 Build 20240810 "
29+ VALUE "FileDescription", "QKeyMapper v1.3.7 Build 20240812 "
3030 VALUE "FileVersion", "1.3.7.0"
3131 VALUE "InternalName", "QKeyMapper"
3232 VALUE "LegalCopyright", "Copyright (c) 2023, AsukaVoV"
Original file line number Diff line number Diff line change @@ -8295,9 +8295,9 @@ void QKeyMapper::on_addmapdataButton_clicked()
82958295 }
82968296
82978297 QString gamepadselect_string = ui->gamepadSelectComboBox ->currentText ();
8298- if (currentOriKeyText.startsWith (" ^ Joy-" )
8298+ if (currentOriKeyText.startsWith (" Joy-" )
82998299 && false == gamepadselect_string.isEmpty ()) {
8300- static QRegularExpression gamepadinfo_regex (R"( ^\[(\d)\] (.*?) \[VID=0x([0-9A-F]+)\]\[PID=0x([0-9A-F]+)\](?:\[ViGEM\])$)" );
8300+ static QRegularExpression gamepadinfo_regex (R"( ^\[(\d+ )\] (.*?) \[VID=0x([0-9A-F]+)\]\[PID=0x([0-9A-F]+)\](?:\[ViGEM\])? $)" );
83018301 QRegularExpressionMatch gamepadinfo_match = gamepadinfo_regex.match (gamepadselect_string);
83028302 if (gamepadinfo_match.hasMatch ()) {
83038303 QString player_index_string = gamepadinfo_match.captured (1 );
Original file line number Diff line number Diff line change 3232
3333---------------
3434### 新添加功能列表(根据更新时间降序排列)
35- * v1.3.7(Build 20240810 )
35+ * v1.3.7(Build 20240812 )
3636 * 原始按键列表中"Joy-"开头的物理手柄按键可以添加"@" + "0到9" 的数字编号来选择输入手柄的玩家编号(PlayerIndex)来进行区分映射,可支持0到9总共10个玩家编号。不添加"@" + "0到9" 的数字编号则映射来自所有物理手柄的输入。
37+ * 添加"游戏手柄"下拉组合框用于配合"原始按键"列表选择原始按键映射的游戏手柄玩家编号(PlayerIndex),根据所选择的游戏手柄玩家编号(PlayerIndex)在添加"Joy-"开头的原始按键映射时候在后面追加"@+数字编号0~ 9",例如:"Joy-Key1(A/×)@0 "表示0号游戏手柄的(A/×)按键。
3738 * 移除功能 [ 鼠标点击高亮选择一条映射表项目后,按下键盘"Backspace"键可以删除最后一个"»"或"+"连接的映射按键] ,映射按键可以通过映射项设定窗口中的"映射按键"编辑框进行修改。
3839* v1.3.7(Build 20240711)
3940 * "映射按键列表"添加SendText映射,选择SendText后在"文本"单行编辑框中输入文字可以在按下原始按键时向当前前台窗口或指定窗口发送SendText()括号内的字符串。
You can’t perform that action at this time.
0 commit comments