Date:2013-01-31 00:55:58 (11 years 1 month ago)
Author:Werner Almesberger
Commit:4fb2a8cbee1d86d76358bba02a005c0f4d356f64
Message:ubb-la/gui.c (gui_init): enable keyboard repeat

Files: ubb-la/gui.c (2 diffs)

Change Details

ubb-la/gui.c
3232
3333#define MAX_ZOOM 3
3434
35#define REPEAT_DELAY_MS 300
36#define REPEAT_INTERVAL_MS 30
3537
3638static SDL_Surface *surf;
3739
...... 
4951        fprintf(stderr, "SDL_SetVideoMode: %s\n", SDL_GetError());
5052        exit(1);
5153    }
54
55    SDL_EnableKeyRepeat(REPEAT_DELAY_MS, REPEAT_INTERVAL_MS);
5256}
5357
5458

Archive Download the corresponding diff file

Branches:
master



interactive