From c4df9ecdc5814457efd4b63ff1a927594e8b8d2a Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Mon, 7 Jul 2025 18:50:55 +0300 Subject: [PATCH] kdrive: add documenation for mouse arguments Signed-off-by: stefan11111 --- hw/kdrive/src/kinput.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c index 29a5054e5..1cffacc7b 100644 --- a/hw/kdrive/src/kinput.c +++ b/hw/kdrive/src/kinput.c @@ -1035,6 +1035,17 @@ KdParsePointerOptions(KdPointerInfo * pi) } } +/* + * Mouse argument syntax: + * + * device,protocol,options... + * + * Options are any of: + * 1-5 n button mouse + * 2button emulate middle button + * {NMO} Reorder buttons + */ + static KdPointerInfo * KdParsePointer(const char *arg) {