qemu-stm32中的模拟按钮

qemu-stm32中的模拟按钮,stm32,qemu,Stm32,Qemu,我从qemu-stm32上运行按钮演示 我可以在控制台中看到“LED闪烁”演示中的LED闪烁为文本“LED开启”,但如何模拟按钮按下?尝试使用 发件人: 根据自述文件,按钮演示并不总是有效: button - Example of using the button in non-interrupt mode. Continuously polls the button and toggles the LED when the button is pressed. Note t

我从qemu-stm32上运行
按钮
演示

我可以在控制台中看到“LED闪烁”演示中的LED闪烁为文本“LED开启”,但如何模拟按钮按下?

尝试使用

发件人:

根据自述文件,
按钮
演示并不总是有效:

button -
    Example of using the button in non-interrupt mode.  Continuously polls
    the button and toggles the LED when the button is pressed.  Note that this
    example does not seem to work well in QEMU.  When using "sendkey b"
    (see the button_int demo below), the LED does not toggle.  Perhaps
    this is a timing issue?
button -
    Example of using the button in non-interrupt mode.  Continuously polls
    the button and toggles the LED when the button is pressed.  Note that this
    example does not seem to work well in QEMU.  When using "sendkey b"
    (see the button_int demo below), the LED does not toggle.  Perhaps
    this is a timing issue?