Permalink
Browse files

Merge branch 'master' of https://github.com/chriscamacho/gles2framework

  • Loading branch information...
2 parents 827a82b + d9a4c22 commit 0312c36b1203d7d8e308fc0f5d1407db15deed0a chris committed Sep 24, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 Makefile
  2. +1 −1 src/input.c
View
@@ -4,9 +4,9 @@
# rpi - uses xwindows to provide event handling
# rpi_noX - get keyboard events from raw input, xwindows not needed
-PLATFORM=xorg
+#PLATFORM=xorg
#PLATFORM=rpi
-#PLATFORM=rpi_noX
+PLATFORM=rpi_noX
####
View
@@ -246,7 +246,7 @@ bool *getKeys()
int n;
n = scandir ("/dev/input/by-path/", &eps, __dfilter, __dsort);
- if (n >= 0)
+ if (n > 0)
{
// only check 1st usb keyboard....
char fn[256];

0 comments on commit 0312c36

Please sign in to comment.