Wacom devices are now not handled, uses devices preferences devices list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11414 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,6 +8,10 @@ R5KernelAddon hid : kernel drivers bin :
|
||||
devlist.c
|
||||
;
|
||||
|
||||
ObjectHdrs [ FGristFiles hid$(SUFOBJ) ] : [ FObjectsDir src prefs devices ] ;
|
||||
|
||||
Includes [ FGristFiles hid.c ] : <src!prefs!devices>usbdevs.h <src!prefs!devices>usbdevs_data.h ;
|
||||
|
||||
# Link to kernel/drivers/dev/input/
|
||||
{
|
||||
local dir = [ FDirName $(OBOS_ADDON_DIR) kernel drivers dev input ] ;
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <unistd.h>
|
||||
#include "hid.h"
|
||||
#include "kb_mouse_driver.h"
|
||||
#include "usbdevs.h"
|
||||
|
||||
static int keyboard_device_number = 0;
|
||||
static int mouse_device_number = 0;
|
||||
@@ -611,6 +612,13 @@ hid_device_added(const usb_device *dev, void **cookie)
|
||||
DPRINTF_INFO ((MY_ID "device_added()\n"));
|
||||
|
||||
dev_desc = usb->get_device_descriptor (dev);
|
||||
|
||||
if (dev_desc->vendor_id == USB_VENDOR_WACOM) {
|
||||
DPRINTF_INFO ((MY_ID "vendor ID 0x%04X, product ID 0x%04X\n",
|
||||
dev_desc->vendor_id, dev_desc->product_id));
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
DPRINTF_INFO ((MY_ID "vendor ID 0x%04X, product ID 0x%04X\n",
|
||||
dev_desc->vendor_id, dev_desc->product_id));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user