[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: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC PATCH 2/5] kbd-state: add hotkey registry |
Date: |
Tue, 5 Jun 2018 12:20:37 +0200 |
User-agent: |
NeoMutt/20180512 |
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