qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] cocoa: keyboard quality of life
@ 2021-05-04 23:32 gustavo
  2021-05-04 23:32 ` [PATCH v3 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed gustavo
  2021-05-04 23:32 ` [PATCH v3 2/2] ui/cocoa: add option to swap Option and Command, enable by default gustavo
  0 siblings, 2 replies; 7+ messages in thread
From: gustavo @ 2021-05-04 23:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: 'Peter Maydell ', 'Markus Armbruster ',
	'Gerd Hoffmann ',
	Gustavo Noronha Silva

From: Gustavo Noronha Silva <gustavo@noronha.eti.br>

v3 removes a rogue ; that made its way into v2 and makes the
swap-option-command parameter off by default, so existing
behaviour is maintained, as suggested by BALATON Zoltan.

-----

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, enable by default

 qapi/ui.json    |  22 ++++++++
 qemu-options.hx |   4 ++
 ui/cocoa.m      | 135 ++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 152 insertions(+), 9 deletions(-)

-- 
2.24.3 (Apple Git-128)



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-11 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 23:32 [PATCH v3 0/2] cocoa: keyboard quality of life gustavo
2021-05-04 23:32 ` [PATCH v3 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed gustavo
2021-05-10  9:56   ` 'Gerd Hoffmann '
2021-05-11  3:08   ` Akihiko Odaki
2021-05-11 17:44     ` Gustavo Noronha Silva
2021-05-04 23:32 ` [PATCH v3 2/2] ui/cocoa: add option to swap Option and Command, enable by default gustavo
2021-05-10  9:59   ` 'Gerd Hoffmann '

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).