qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] qapi: convert sendkey


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 3/3] qapi: convert sendkey
Date: Thu, 31 May 2012 13:00:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Il 30/05/2012 15:26, Luiz Capitulino ha scritto:
>> > 
>> > qapi-types.h:
>> > typedef enum KeyCodes
>> > {
>> >      KEY_CODES_SHIFT = 0,
>> >      KEY_CODES_SHIFT_R = 1,
>> >      KEY_CODES_ALT = 2,
>> >      ....
>> >      KEY_CODES_< = ..
>> > 
>> >      ^^^ problem should exist here
> That's because you have something like '<' in the enum list, right? I think
> we can call it 'less-than', no?

Let's keep some consistency and use "less" as in ui/vnc_keysym.h.

Since we're at it, let's add the missing ones: prtsc (b7), break (c6),
win (db), win_r (dc), menu (dd), power (de), sleep (df), wake (e3).
Especially win/win_r/menu.

Paolo



reply via email to

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