summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1226.toml
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_missing/host_missing/accel_missing/1226.toml
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloademulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1226.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1226.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1226.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1226.toml
new file mode 100644
index 00000000..27c2173c
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1226.toml
@@ -0,0 +1,33 @@
+id = 1226
+title = "wheel-axis=false does not get applied at hardware init stage"
+state = "opened"
+created_at = "2022-09-24T11:36:26.214Z"
+closed_at = "n/a"
+labels = ["device:input", "device:virtio"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1226"
+host-os = "Arch"
+host-arch = "x86"
+qemu-version = "7.1.50 (v7.1.0-406-g6160d8ff81-dirty)"
+guest-os = "Bliss OS (android 12)"
+guest-arch = "x86"
+description = """`-device virtio-tablet,id=touch0,wheel-axis=false` does not get applied at initalization stage, causing android to see it and treat the device as a pointer instead of a tablet. it seems to look for the prop at init stage, I have verified that this is an issue by fixing it with a quick hack below. ~~setting `-device virtio-tablet,id=touch0,wheel-axis=true` will still work fine and cause android to pick it up as a pointer again~~
+
+
+EDIT: It does not seem to work actually. if set when the default is set to false"""
+reproduce = """1. Boot android based VM
+2. test an app that forces touch only over pointer"""
+additional = """```
+diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
+index a7a244a95d..3175f9c7d5 100644
+--- a/hw/input/virtio-input-hid.c
++++ b/hw/input/virtio-input-hid.c
+@@ -477,7 +477,7 @@ static struct virtio_input_config virtio_tablet_config_v2[] = {
+ };
+ 
+ static Property virtio_tablet_properties[] = {
+-    DEFINE_PROP_BOOL("wheel-axis", VirtIOInputHID, wheel_axis, true),
++    DEFINE_PROP_BOOL("wheel-axis", VirtIOInputHID, wheel_axis, false),
+     DEFINE_PROP_END_OF_LIST(),
+ };
+ 
+```"""