Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chris authored and chris committed Sep 24, 2012
2 parents 827a82b + d9a4c22 commit 0312c36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -4,9 +4,9 @@
# rpi - uses xwindows to provide event handling # rpi - uses xwindows to provide event handling
# rpi_noX - get keyboard events from raw input, xwindows not needed # rpi_noX - get keyboard events from raw input, xwindows not needed


PLATFORM=xorg #PLATFORM=xorg
#PLATFORM=rpi #PLATFORM=rpi
#PLATFORM=rpi_noX PLATFORM=rpi_noX


#### ####


Expand Down
2 changes: 1 addition & 1 deletion src/input.c
Expand Up @@ -246,7 +246,7 @@ bool *getKeys()
int n; int n;


n = scandir ("/dev/input/by-path/", &eps, __dfilter, __dsort); n = scandir ("/dev/input/by-path/", &eps, __dfilter, __dsort);
if (n >= 0) if (n > 0)
{ {
// only check 1st usb keyboard.... // only check 1st usb keyboard....
char fn[256]; char fn[256];
Expand Down

0 comments on commit 0312c36

Please sign in to comment.