1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-16 18:45:54 +02:00

ubb-la/gui.c (gui_init): disable the cursor on the Ben

This commit is contained in:
Werner Almesberger 2013-02-01 11:48:46 -03:00
parent 0058175361
commit 9c3caf282f
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
CC = mipsel-openwrt-linux-gcc
CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include \
$(if $(LIBUBB),-DBEN,) \
$(shell sdl-config --cflags)
LDFLAGS =
#LDLIBS = -L../libubb -lubb -lm -lrt $(shell sdl-config --libs) -lSDL_gfx

View File

@ -130,6 +130,10 @@ void gui_init(void)
}
SDL_EnableKeyRepeat(REPEAT_DELAY_MS, REPEAT_INTERVAL_MS);
#ifdef BEN
SDL_ShowCursor(SDL_DISABLE);
#endif
}