mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 21:32:49 +02:00
ubb-la/gui.c (gui_init): disable the cursor on the Ben
This commit is contained in:
parent
0058175361
commit
9c3caf282f
@ -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
|
||||
|
@ -130,6 +130,10 @@ void gui_init(void)
|
||||
}
|
||||
|
||||
SDL_EnableKeyRepeat(REPEAT_DELAY_MS, REPEAT_INTERVAL_MS);
|
||||
|
||||
#ifdef BEN
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user