From: gustavo@noronha.dev.br
To: qemu-devel@nongnu.org
Cc: 'Peter Maydell ' <peter.maydell@linaro.org>,
'Markus Armbruster ' <armbru@redhat.com>,
'Gerd Hoffmann ' <kraxel@redhat.com>,
'Akihiko Odaki ' <akihiko.odaki@gmail.com>,
'Eric Blake ' <eblake@redhat.com>,
Gustavo Noronha Silva <gustavo@noronha.dev.br>
Subject: [PATCH v5 0/2] cocoa: keyboard quality of life
Date: Tue, 13 Jul 2021 18:31:58 -0300 [thread overview]
Message-ID: <20210713213200.2547-1-gustavo@noronha.dev.br> (raw)
From: Gustavo Noronha Silva <gustavo@noronha.dev.br>
v5 addresses the casting issue pointed out by Akihiko Odaki.
Sorry it took me so long to update the patches, but here
they are! Hopefully we can get them in now ;D
Btw I also changed my email address slightly (.dev.br
instead of .eti.br).
-----
This series adds two new options to the cocoa display:
- full-grab causes it to use a global tap to steal system combos
away from Mac OS X, so they can be handled by the VM
- swap-option-command does what it says on the tin; while that is
something you can do at the Mac OS X level or even supported by
some keyboards, it is much more convenient to have qemu put
Meta/Super and Alt where they belong if you are running a
non-Mac VM
Both are off by default. For full-grab in particular, it is off also
because unfortunately it needs accessibility permissions for input
grabbing, so it requires more deliberate action by the user anyway.
Gustavo Noronha Silva (2):
ui/cocoa: capture all keys and combos when mouse is grabbed
ui/cocoa: add option to swap Option and Command
qapi/ui.json | 22 +++++++++
qemu-options.hx | 4 ++
ui/cocoa.m | 129 ++++++++++++++++++++++++++++++++++++++++++++----
3 files changed, 146 insertions(+), 9 deletions(-)
--
2.30.1 (Apple Git-130)
next reply other threads:[~2021-07-13 23:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 21:31 gustavo [this message]
2021-07-13 21:31 ` [PATCH v5 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed gustavo
2021-07-13 21:32 ` [PATCH v5 2/2] ui/cocoa: add option to swap Option and Command gustavo
[not found] <mailman.16196.1626230271.10239.qemu-devel@nongnu.org>
2021-07-15 20:53 ` [PATCH v5 0/2] cocoa: keyboard quality of life Programmingkid
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=20210713213200.2547-1-gustavo@noronha.dev.br \
--to=gustavo@noronha.dev.br \
--cc=akihiko.odaki@gmail.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=kraxel@redhat.com \
--cc=peter.maydell@linaro.org \
--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).