Skip to content

SendInput调用缺少硬件扫描码(wScan) #1306

@1204244136

Description

@1204244136

问题类型 / Issue Type

一般 Bug / General Bug

问题描述及复现步骤 / Problem Description & Reproduction Steps

在interface的controller设置相同且均为前台模式的情况下,涉及键盘控制的同一段代码能在终末地生效,但不能在NIKKE生效

  • vsc上调试的
  • 涉及鼠标控制的均能生效
  • 使用ahk2编写的涉及键盘控制的代码能在NIKKE生效

AI分析结果(标题也为AI猜测):

Image

涉及的库:

https://github.com/MaaEnd/MaaEnd
https://github.com/1204244136/DoroHelper
https://github.com/1204244136/MDA

MaaFramework 版本 / Version

5.10.4

日志文件 / Log Files

Maa.log

Pipeline JSON

"test": {
        "pre_delay": 0,
        "action": "ClickKey",
        "key": 27, // Esc键
        "post_delay": 0
    },

崩溃 Dump 文件 / Crash Dump (仅崩溃问题 / Crash only)

No response

Draw 调试图片 / Draw Debug Images (仅识别问题 / Recognition only)

No response

模板图片 / Template Images (仅识别问题 / Recognition only)

No response

其他信息 / Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions