@samitouri / QOSamiQemu / commits / 831f8eb710

hmp-commands.hx: fix button_state doc

Right & middle buttons are inverted (see hmp_mouse_button) Acked-by: Dr. David Alan Gilbert <dave@treblig.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

Marc-André Lureau committed Jun 8, 2026 at 16:41 UTC 831f8eb7102847530fdaae44a7e0369176c0a2dd
1 file changed +2 -2
hmp-commands.hx
+2 -2
@@ -752,13 +752,13 @@ ERST
752 .name = "mouse_button",
753 .args_type = "button_state:i",
754 .params = "state",
755 - .help = "change mouse button state (1=L, 2=M, 4=R)",
755 + .help = "change mouse button state (1=L, 2=R, 4=M)",
756 .cmd = hmp_mouse_button,
757 },
758
759 SRST
760 ``mouse_button`` *val*
761 - Change the active mouse button state *val* (1=L, 2=M, 4=R).
761 + Change the active mouse button state *val* (1=L, 2=R, 4=M).
762 ERST
763
764 {