[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6] ui/cocoa.m: Add ability for user to specify
From: |
Programmingkid |
Subject: |
Re: [Qemu-devel] [PATCH v6] ui/cocoa.m: Add ability for user to specify mouse ungrab key |
Date: |
Mon, 19 Feb 2018 10:35:15 -0500 |
> On Feb 19, 2018, at 3:48 AM, Gerd Hoffmann <address@hidden> wrote:
>
> Hi,
>
>>> (b) Restrict allowed hotkeys to modifier key(s) plus one
>>> non-modifier key. Forwarding modifier keydown+keyup
>>> to the guest has typically effects inside the guest,
>>> so we only have to hold back that single non-modifier
>>> key. That is alot easier to implement.
>>
>> Sorry but I was using this patch to make my ungrab key F15.
>> This key is not used by anything and makes things so simple
>> for me. Requiring a modifier key in the sequence seems unnecessary.
>
> Just a plain F15 without any modifier should be find too.
>
> Allowing *two* (or more) non-modifier keys (i.e. F14+F15) is where it
> becomes tricky ...
I'm not sure I follow. The code does handle two or three non-modifier keys just
fine.
A quick test shows this does work:
./ppc-softmmu/qemu-system-ppc -display cocoa,hotkey-grab=kp_4-kp_5-kp_6