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

From: Gustavo Noronha Silva <gustavo@noronha.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

I propose to enable swap-option-command by default and leave full-grab
off 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    |  20 +++++++
 qemu-options.hx |   4 ++
 ui/cocoa.m      | 139 +++++++++++++++++++++++++++++++++++++++++++-----
 3 files changed, 151 insertions(+), 12 deletions(-)

-- 
2.24.3 (Apple Git-128)



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

end of thread, other threads:[~2021-04-30 14:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 23:47 [PATCH 0/2] cocoa: keyboard quality of life gustavo
2021-04-29 23:47 ` [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed gustavo
2021-04-30  7:20   ` Markus Armbruster
2021-04-30 10:02     ` Gustavo Noronha Silva
2021-04-30 10:10       ` Gustavo Noronha Silva
2021-04-30 10:58         ` Markus Armbruster
2021-04-30 12:02           ` Gustavo Noronha Silva
2021-04-30 14:36             ` Markus Armbruster
2021-04-30 10:54       ` Markus Armbruster
2021-04-30  8:05   ` 'Gerd Hoffmann '
2021-04-30  9:43     ` Gustavo Noronha Silva
2021-04-29 23:47 ` [PATCH 2/2] ui/cocoa: add option to swap Option and Command, enable by default gustavo
2021-04-30  7:25   ` Markus Armbruster
2021-04-30  8:04   ` 'Gerd Hoffmann '
2021-04-30 10:36     ` Gustavo Noronha Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.