kopia lustrzana https://github.com/FreeSpacenav/spacenavd
According to Matthew Marincic some old linux versions don't have EV_SYN defined in the evdev headers. So now we define it if it's missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@123 ef983eb1-d774-4af8-acfd-baaf7b16a646pull/1/head
rodzic
cfd07dfdd4
commit
c901bfa6df
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
spacenavd - a free software replacement driver for 6dof space-mice.
|
||||
Copyright (C) 2007-2010 John Tsiombikas <nuclear@member.fsf.org>
|
||||
Copyright (C) 2007-2011 John Tsiombikas <nuclear@member.fsf.org>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -56,6 +56,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define REL_RZ 5
|
||||
#endif
|
||||
|
||||
/* apparently some old versions of input.h doesn't define EV_SYN */
|
||||
#ifndef EV_SYN
|
||||
#define EV_SYN 0
|
||||
#endif
|
||||
|
||||
static int open_dev_usb(const char *path);
|
||||
static int read_dev_usb(struct dev_input *inp);
|
||||
|
|
Ładowanie…
Reference in New Issue