mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
ubb-la/gui.c (gui_init): disable the cursor on the Ben
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
CC = mipsel-openwrt-linux-gcc
|
CC = mipsel-openwrt-linux-gcc
|
||||||
CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include \
|
CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include \
|
||||||
|
$(if $(LIBUBB),-DBEN,) \
|
||||||
$(shell sdl-config --cflags)
|
$(shell sdl-config --cflags)
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
#LDLIBS = -L../libubb -lubb -lm -lrt $(shell sdl-config --libs) -lSDL_gfx
|
#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);
|
SDL_EnableKeyRepeat(REPEAT_DELAY_MS, REPEAT_INTERVAL_MS);
|
||||||
|
|
||||||
|
#ifdef BEN
|
||||||
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user