[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/10] sdl2: move keyboard input code to new sdl
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 03/10] sdl2: move keyboard input code to new sdl2-input.c |
Date: |
Fri, 12 Dec 2014 11:38:27 +0100 |
Hi,
> > +static uint8_t modifiers_state[SDL_NUM_SCANCODES];
> > +
> > +void sdl2_reset_keys(struct sdl2_console *scon)
> > +{
> > + QemuConsole *con = scon ? scon->dcl.con : NULL;
> > + int i;
> > +
> > + for (i = 0; i < 256; i++) {
>
> Should this be SDL_NUM_SCANCODES?
Yes, fixed.
thanks,
Gerd
- [Qemu-devel] [PATCH 05/10] sdl2: move sdl_update to new sdl2-2d.c, (continued)
- [Qemu-devel] [PATCH 05/10] sdl2: move sdl_update to new sdl2-2d.c, Gerd Hoffmann, 2014/12/11
- [Qemu-devel] [PATCH 08/10] sdl2: add+use sdl2_2d_redraw function., Gerd Hoffmann, 2014/12/11
- [Qemu-devel] [PATCH 07/10] sdl2: move sdl_switch to sdl2-2d.c, Gerd Hoffmann, 2014/12/11
- [Qemu-devel] [PATCH 01/10] sdl: move version logic from source code to makefile, Gerd Hoffmann, 2014/12/11
- [Qemu-devel] [PATCH 03/10] sdl2: move keyboard input code to new sdl2-input.c, Gerd Hoffmann, 2014/12/11