From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwnKt-0002yP-ET for qemu-devel@nongnu.org; Thu, 12 Nov 2015 03:34:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwnKs-00026S-IG for qemu-devel@nongnu.org; Thu, 12 Nov 2015 03:34:27 -0500 Message-ID: <1447317256.1400.26.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 12 Nov 2015 09:34:16 +0100 In-Reply-To: <87mvuk5uli.fsf@blackfin.pond.sub.org> References: <1447224690-9743-1-git-send-email-eblake@redhat.com> <1447224690-9743-20-git-send-email-eblake@redhat.com> <87egfwbnfc.fsf@blackfin.pond.sub.org> <564366CB.6000804@redhat.com> <87mvuk5uli.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v11 19/28] qapi: Change munging of CamelCase enum values List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Kevin Wolf , Peter Maydell , "open list:Block layer core" , "Michael S. Tsirkin" , Jason Wang , qemu-devel@nongnu.org, Michael Roth , Amit Shah , Luiz Capitulino , Andreas =?ISO-8859-1?Q?F=E4rber?= Hi, > > If desired, I can prepare an alternate patch that adds the dash to the > > qapi enum definition, to see what we think. > > If Gerd is fine with the rename, let's do it. No need to do so I think ... > >> - [INPUT_BUTTON_WHEEL_UP] = SDL_BUTTON(SDL_BUTTON_WHEELUP), > >> - [INPUT_BUTTON_WHEEL_DOWN] = SDL_BUTTON(SDL_BUTTON_WHEELDOWN), > >> + [INPUT_BUTTON_WHEELUP] = SDL_BUTTON(SDL_BUTTON_WHEELUP), > >> + [INPUT_BUTTON_WHEELDOWN] = SDL_BUTTON(SDL_BUTTON_WHEELDOWN), > > > > Since SDL already spells the names without space, it's not the end of > > the world if we do likewise. > > Good point. This doesn't look too bad. And even if x-input-send-event isn't official api I'd prefer to not break it for such a minor cosmetic issue. cheers, Gerd