qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Alexander Syvak <alexander.svk@gmail.com>
Cc: qemu-devel@nongnu.org, kraxel@redhat.com
Subject: Re: [Qemu-devel] How to pass intercepted mouse move x and y from host to a virtual machine running in Qemu
Date: Mon, 22 May 2017 10:25:55 +0100	[thread overview]
Message-ID: <20170522092555.GC12205@stefanha-x1.localdomain> (raw)
In-Reply-To: <CA+9O3V3G8CqDuKWMP3wT2j+e7GB0B9Xe1ps22MT9eViSFEC3zg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

On Sat, May 20, 2017 at 10:44:23AM +0300, Alexander Syvak wrote:
> Hi, guys!
> 
> There exists a manually written virtual USB device registered as Qemu type.
> 
> It reads 5 bytes
> 
> - x and y of a mouse move, x and y of scrolling, and buttons state -
> 
> from mouse.fifo but there is no code in the implementation file which would
> actually parse those bytes.
> 
> First where does Qemu actually parse those bytes?
> 
> And the most important - can I actually pass double value for a mouse move?
> 
> I use libinput in order to intercept host input events.

It's not clear whether you are referring to a device in qemu.git or
custom code.  If you want help with custom code, please post a link to
the source.  If you want help with qemu.git code, please mention
specific the filename and/or function name you are asking about.

CCing Gerd Hoffman, USB maintainer.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

      reply	other threads:[~2017-05-22  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-20  7:44 [Qemu-devel] How to pass intercepted mouse move x and y from host to a virtual machine running in Qemu Alexander Syvak
2017-05-22  9:25 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170522092555.GC12205@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=alexander.svk@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).