The driver can now be built again for R5.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18252 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-07-24 19:39:03 +00:00
parent 8ba81a767e
commit e48655c17f
3 changed files with 12 additions and 6 deletions

View File

@ -2,6 +2,7 @@ SubDir HAIKU_TOP src add-ons kernel drivers input usb_hid ;
SetSubDirSupportedPlatformsBeOSCompatible ;
SubDirSysHdrs $(HAIKU_TOP) headers os drivers ;
UsePrivateHeaders input ;
KernelAddon usb_hid : kernel drivers bin :

View File

@ -29,13 +29,17 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
/*****************************************************************************/
#include <support/Debug.h>
#include <stdlib.h>
#include <unistd.h>
#include "hid.h"
#include "kb_mouse_driver.h"
#include "usbdevs.h"
#include <Debug.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static int keyboard_device_number = 0;
static int mouse_device_number = 0;
const char *keyboard_base_name = "input/keyboard/usb/";

View File

@ -30,11 +30,12 @@
// DEALINGS IN THE SOFTWARE.
/*****************************************************************************/
#include <drivers/Drivers.h>
#include <drivers/USB.h>
#include <drivers/usb/USB_hid.h>
#include "hidparse.h"
#include <Drivers.h>
#include <USB.h>
#include <usb/USB_hid.h>
#if DEBUG
#define DPRINTF_INFO(x) dprintf x
#define DPRINTF_ERR(x) dprintf x