未验证 提交 2c3c3107 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #2043 from peixiu/install_uninstall_mice

Add new case install_uninstall/downgrade_upgrade driver for virtio mouse/tablet device
......@@ -189,8 +189,27 @@
device_hwid = '"PCI\VEN_1AF4&DEV_1052"'
inputs = input1
input_dev_bus_type_input1 = virtio
del usb_devices
variants:
- device_keyboard:
input_dev_type_input1 = keyboard
run_bgstress = "vioinput_keyboard"
key_table_file = key_to_keycode_win.json
- device_mouse:
mice_name = "QEMU Virtio Mouse"
input_dev_type_input1 = mouse
tolerance = 40
run_bgstress = vioinput_mice
move_rate = 80
move_duration = 1
btns = "left right middle side extra"
scrolls = "wheel-up wheel-down"
- device_tablet:
mice_name = "QEMU Virtio Tablet"
input_dev_type_input1 = tablet
tolerance = 5
run_bgstress = vioinput_mice
move_rate = 80
move_duration = 1
btns = "left right middle side extra"
scrolls = "wheel-up wheel-down"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册