All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cocoa: keyboard quality of life
@ 2022-03-06 11:11 Akihiko Odaki
  2022-03-06 11:11 ` [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed Akihiko Odaki
  2022-03-06 11:11 ` [PATCH 2/2] ui/cocoa: add option to swap Option and Command Akihiko Odaki
  0 siblings, 2 replies; 18+ messages in thread
From: Akihiko Odaki @ 2022-03-06 11:11 UTC (permalink / raw)
  Cc: Peter Maydell, Markus Armbruster, qemu-devel, Gerd Hoffmann,
	Akihiko Odaki, Eric Blake, Gustavo Noronha Silva

The patch series was originally posted by Gustavo Noronha Silva,
and rebased to commit 2acf5e1d0e0f15be1b0ad85cf05b3a6e6307680c by
Akihiko Odaki.

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.32.0 (Apple Git-132)



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [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
  0 siblings, 1 reply; 18+ 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] 18+ messages in thread

end of thread, other threads:[~2022-03-07 12:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-06 11:11 [PATCH 0/2] cocoa: keyboard quality of life Akihiko Odaki
2022-03-06 11:11 ` [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed Akihiko Odaki
2022-03-06 11:28   ` BALATON Zoltan
2022-03-06 11:11 ` [PATCH 2/2] ui/cocoa: add option to swap Option and Command Akihiko Odaki
2022-03-06 11:46   ` BALATON Zoltan
2022-03-07  7:17     ` Markus Armbruster
2022-03-07  7:50       ` Akihiko Odaki
2022-03-07 12:25         ` BALATON Zoltan
  -- strict thread matches above, loose matches on Subject: below --
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

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.