summary refs log tree commit diff stats
path: root/gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml')
-rw-r--r--gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml b/gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml
new file mode 100644
index 000000000..1ef7233d0
--- /dev/null
+++ b/gitlab/issues_toml/target_missing/host_missing/accel_missing/835.toml
@@ -0,0 +1,17 @@
+id = 835
+title = "SDL display does not handle ps2 relative packets"
+state = "opened"
+created_at = "2022-01-23T19:19:43.738Z"
+closed_at = "n/a"
+labels = ["GUI"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/835"
+host-os = "Ubuntu 20.04 on WSL2, x11 remote display"
+host-arch = "x86_64"
+qemu-version = "6.2.0"
+guest-os = "My own"
+guest-arch = "x86_64"
+description = """The main problem: while tracing relative events input_event_rel all mouse events are positive and seems to be the absolute x and y mouse position. When that happens ps2 sends a +x -y of a full 127 count."""
+reproduce = """1. Trace input_event_rel
+2. Observe that when moving the mouse the trace always shows positive values, that doesn't depend on what direction you move the mouse
+3. Observe that the xrel and yrel is more like absolute positions"""
+additional = """I noticed searching on sdl2 docs and some issues related to SDL2 mouse events that when you do not specify SDL_HINT_MOUSE_RELATIVE_MODE_WARP weird things happens, i tried adding SDL_SetHint(SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1"); at the end of the sdl2 init function and the mouse events started to show normal values. I'm not sure if that's the correct way to solve the bug, but it seems to be."""