summaryrefslogtreecommitdiffstats
path: root/qapi/ui.json
diff options
context:
space:
mode:
authorAkihiko Odaki2021-06-17 04:31:13 +0200
committerGerd Hoffmann2021-06-23 14:26:04 +0200
commitd7696ff884e35c6dacf83a7cbe3355e3b0a90125 (patch)
tree47f63d8e03b5d1680b967e406c062381538194a6 /qapi/ui.json
parentui/cocoa: Add clipboard support (diff)
downloadqemu-d7696ff884e35c6dacf83a7cbe3355e3b0a90125.tar.gz
qemu-d7696ff884e35c6dacf83a7cbe3355e3b0a90125.tar.xz
qemu-d7696ff884e35c6dacf83a7cbe3355e3b0a90125.zip
input: Add lang1 and lang2 to QKeyCode
lang1 and lang2 represents the keys with the same names in the keyboard/keypad usage page (0x07) included in the "HID Usage Tables for Universal Serial Bus (USB)" version 1.22. Although the keys are described as "Hangul/English toggle key" and "Hanja conversion key" in the specification, the meaning depends on the variety of the keyboard, and it will be used as the representations of Kana and Eisu keys on Japanese Macs in qemu_input_map_osx_to_qcode, which is used by ui/gtk. Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Message-Id: <20210617023113.2441-2-akihiko.odaki@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/ui.json')
-rw-r--r--qapi/ui.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/ui.json b/qapi/ui.json
index 1052ca9c38..90b44c5c5c 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -786,6 +786,9 @@
# @muhenkan: since 2.12
# @katakanahiragana: since 2.12
#
+# @lang1: since 6.1
+# @lang2: since 6.1
+#
# 'sysrq' was mistakenly added to hack around the fact that
# the ps2 driver was not generating correct scancodes sequences
# when 'alt+print' was pressed. This flaw is now fixed and the
@@ -818,7 +821,8 @@
'audionext', 'audioprev', 'audiostop', 'audioplay', 'audiomute',
'volumeup', 'volumedown', 'mediaselect',
'mail', 'calculator', 'computer',
- 'ac_home', 'ac_back', 'ac_forward', 'ac_refresh', 'ac_bookmarks' ] }
+ 'ac_home', 'ac_back', 'ac_forward', 'ac_refresh', 'ac_bookmarks',
+ 'lang1', 'lang2' ] }
##
# @KeyValue: