qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 2/5] kbd-state: add hotkey registry


From: Programmingkid
Subject: Re: [Qemu-devel] [RFC PATCH 2/5] kbd-state: add hotkey registry
Date: Tue, 5 Jun 2018 10:37:58 -0400

> On Jun 5, 2018, at 6:20 AM, Gerd Hoffmann <address@hidden> wrote:
> 
>  Hi,
> 
>> You say the hotkey is a QKeyCode and a modifier key combined. But it looks 
>> like a single QKeyCode would be supported. I would prefer being able to use 
>> a single key like F16 to ungrab the mouse. Would that be possible here?
>> 
>> Kbd_state_hotkey_register(kbd, KBD_HOTKEY_GRAB, Q_KEY_CODE_F16, 
>> KBD_MOD_NONE, KBD_MOD_NONE, KBD_MOD_NONE);
> 
> Yes, that should work.  I'm working on the series now and then (when I
> find some time), latest state is here:
> 
> https://git.kraxel.org/cgit/qemu/log/?h=sirius/kbd-state
> 
> cheers,
>  Gerd

Great. I look forward to seeing the completed series. I think we should add the 
code for specifying the command-line option for setting custom keys to this 
series if possible.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]