Skip to contentSkip to conversation

qapi-schema.json: Add kp_equals and power keys

PATCH Superseded Programmingkid 3 participants 5 messages Mar 1, 2016 – Mar 2, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi-schema.json: Add kp_equals and power keys

Add kp_equals and power keys support to the QKeyCode enum of keys.

---
 qapi-schema.json |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
qapi-schema.json +1 -1
index 8d04897..d63b17a 100644
@@ -3044,7 +3044,7 @@
             'left', 'up', 'down', 'right', 'insert', 'delete', 'stop', 'again',
             'props', 'undo', 'front', 'copy', 'open', 'paste', 'find', 'cut',
             'lf', 'help', 'meta_l', 'meta_r', 'compose', 'pause', 'ro',
-            'kp_comma' ] }
+            'kp_comma', 'kp_equals', 'power' ] }
 
 ##
 # @KeyValue
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 1 line · Programmingkid

Add kp_equals and power keys support to the QKeyCode enum of keys.

Please update the documentation in the comment too, so we keep track of which keys where added in which release.

Otherwise it's fine.

thanks,
Gerd

#2 lore raw
Quoted 11 lines · Gerd Hoffmann
Quoted 1 line · Programmingkid

Add kp_equals and power keys support to the QKeyCode enum of keys.

Please update the documentation in the comment too, so we keep track of which keys where added in which release.

Otherwise it's fine.

thanks,
Gerd

Is this what you mean:

##
# @QKeyCode:
#
# An enumeration of key name.
#
# This is used by the send-key command.
#
# Since: 1.3.0
#
# 'unmapped' and 'pause' since 2.0
# 'ro' and 'kp_comma' since 2.4
# 'kp_equals' and 'power' since 2.6
##

#3 lore raw
Quoted 17 lines · Programmingkid
Quoted 11 lines · Gerd Hoffmann
Quoted 1 line · Programmingkid

Add kp_equals and power keys support to the QKeyCode enum of keys.

Please update the documentation in the comment too, so we keep track of which keys where added in which release.

Otherwise it's fine.

thanks,
Gerd

Is this what you mean:

Quoted 12 lines

##
# @QKeyCode:
#
# An enumeration of key name.
#
# This is used by the send-key command.
#
# Since: 1.3.0
#
# 'unmapped' and 'pause' since 2.0
# 'ro' and 'kp_comma' since 2.4
# 'kp_equals' and 'power' since 2.6

Yes.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#4 lore raw
In reply to Programmingkid
Quoted 9 lines
Quoted 8 lines

Please update the documentation in the comment too, so we keep track of which keys where added in which release.

Otherwise it's fine.

thanks,
Gerd

Quoted 6 lines

Is this what you mean:

# 'unmapped' and 'pause' since 2.0
# 'ro' and 'kp_comma' since 2.4
# 'kp_equals' and 'power' since 2.6
##

Yes.

thanks,
Gerd