]> git.proxmox.com Git - mirror_qemu.git/commit
ui/cocoa: add option to swap Option and Command
authorGustavo Noronha Silva <gustavo@noronha.dev.br>
Sun, 6 Mar 2022 12:11:19 +0000 (21:11 +0900)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 15 Mar 2022 12:36:33 +0000 (13:36 +0100)
commit4797adce5f0b7542c5aa4a83bdce7f0e63d6deae
tree5e45ae3d28530cc56d29d974836f6a27a7a1245f
parentf844cdb997144a3fd83d7d18e32365fc6a1a8a1f
ui/cocoa: add option to swap Option and Command

On Mac OS X the Option key maps to Alt and Command to Super/Meta. This change
swaps them around so that Alt is the key closer to the space bar and Meta/Super
is between Control and Alt, like on non-Mac keyboards.

It is a cocoa display option, disabled by default.

Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gustavo Noronha Silva <gustavo@noronha.dev.br>
Message-Id: <20210713213200.2547-3-gustavo@noronha.dev.br>
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220306121119.45631-3-akihiko.odaki@gmail.com>
Reviewed-by: Will Cohen <wwcohen@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
qapi/ui.json
qemu-options.hx
ui/cocoa.m