From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Akihiko Odaki" <akihiko.odaki@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>
Subject: [PATCH 0/2] ui/kbd-state: QAPI'fy QKbdModifier
Date: Fri, 24 Feb 2023 12:01:51 +0100 [thread overview]
Message-ID: <20230224110153.8559-1-philmd@linaro.org> (raw)
QAPI seems designed to maintain such enums,
so convert QKbdModifier to be QAPI generated.
Besides, this is how QKeyCode is maintained.
Philippe Mathieu-Daudé (2):
ui/kbd-state: Rename QKbdModifier enum definitions
ui/kbd-state: QAPI'fy QKbdModifier
include/ui/kbd-state.h | 16 ----------------
qapi/ui.json | 10 ++++++++++
ui/cocoa.m | 2 +-
ui/kbd-state.c | 14 +++++++-------
ui/keymaps.c | 6 +++---
ui/sdl2-input.c | 2 +-
ui/vnc.c | 16 ++++++++--------
7 files changed, 30 insertions(+), 36 deletions(-)
--
2.38.1
next reply other threads:[~2023-02-24 11:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 11:01 Philippe Mathieu-Daudé [this message]
2023-02-24 11:01 ` [PATCH 1/2] ui/kbd-state: Rename QKbdModifier enum definitions Philippe Mathieu-Daudé
2023-02-24 11:01 ` [PATCH 2/2] ui/kbd-state: QAPI'fy QKbdModifier Philippe Mathieu-Daudé
2023-02-25 3:19 ` [PATCH 0/2] " Akihiko Odaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230224110153.8559-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=akihiko.odaki@gmail.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=kraxel@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).