Added missing includes and fixed issue with older versions of libudev

This commit is contained in:
Ingo Ruhnke 2011-01-28 00:01:52 +01:00
parent 9853f16741
commit 73c50783f8
7 changed files with 11 additions and 6 deletions

4
README
View file

@ -32,6 +32,8 @@ Required libraries and tools:
* g++ - GNU C++ Compiler
* libusb-1.0
* pkg-config
* libudev
* boost
* scons
* uinput (userspace input kernel module)
@ -50,9 +52,11 @@ On Ubuntu 10.10 you can install all the required libraries via:
libboost1.42-dev \
libboost-thread1.42-dev \
scons \
pkg-config \
libusb-1.0-0-dev \
git-core \
libx11-dev \
libudev-dev \
x11proto-core-dev \
python-dbus

6
TODO
View file

@ -38,12 +38,6 @@ $ git-buildpackage --git-no-create-orig --git-debian-branch=master-lts --git-tag
$ sudo pbuilder --build ../xboxdrv_0.7.0-1~lucid1.dsc
$ dput my-ppa ../xboxdrv_0.7.0-1~lucid1_source.changes
Stuff to do before 0.7.0 release:
=================================
* test test test, document
Stuff to do before 0.7.1 release:
=================================

View file

@ -20,6 +20,7 @@
#define HEADER_HELPER_HPP
#include <boost/function.hpp>
#include <stdint.h>
int hexstr2int(const std::string& str);

View file

@ -21,6 +21,7 @@
#include <boost/function.hpp>
#include <linux/uinput.h>
#include <stdint.h>
class ForceFeedbackHandler;

View file

@ -20,6 +20,7 @@
#define HEADER_XBOXDRV_MESSAGE_PROCESSOR_HPP
#include <boost/function.hpp>
#include <stdint.h>
struct XboxGenericMsg;

View file

@ -20,6 +20,7 @@
#include <boost/format.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/scoped_array.hpp>
#include <iostream>
#include <signal.h>
#include <stdio.h>

View file

@ -386,6 +386,8 @@ XboxdrvDaemon::print_info(struct udev_device* device)
//udev_device_get_sysattr_value(device, "busnum");
//udev_device_get_sysattr_value(device, "devnum");
#if FIXME
// only works with newer versions of libudev
{
log_debug("list: ");
struct udev_list_entry* it = udev_device_get_tags_list_entry(device);
@ -421,6 +423,7 @@ XboxdrvDaemon::print_info(struct udev_device* device)
);
}
}
#endif
log_debug("\\----------------------------------------------");
}