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:
@@ -2,6 +2,7 @@ SubDir HAIKU_TOP src add-ons kernel drivers input usb_hid ;
|
|||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
|
SubDirSysHdrs $(HAIKU_TOP) headers os drivers ;
|
||||||
UsePrivateHeaders input ;
|
UsePrivateHeaders input ;
|
||||||
|
|
||||||
KernelAddon usb_hid : kernel drivers bin :
|
KernelAddon usb_hid : kernel drivers bin :
|
||||||
|
|||||||
@@ -29,13 +29,17 @@
|
|||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
#include <support/Debug.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include "hid.h"
|
#include "hid.h"
|
||||||
#include "kb_mouse_driver.h"
|
#include "kb_mouse_driver.h"
|
||||||
#include "usbdevs.h"
|
#include "usbdevs.h"
|
||||||
|
|
||||||
|
#include <Debug.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
static int keyboard_device_number = 0;
|
static int keyboard_device_number = 0;
|
||||||
static int mouse_device_number = 0;
|
static int mouse_device_number = 0;
|
||||||
const char *keyboard_base_name = "input/keyboard/usb/";
|
const char *keyboard_base_name = "input/keyboard/usb/";
|
||||||
|
|||||||
@@ -30,11 +30,12 @@
|
|||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#include <drivers/Drivers.h>
|
|
||||||
#include <drivers/USB.h>
|
|
||||||
#include <drivers/usb/USB_hid.h>
|
|
||||||
#include "hidparse.h"
|
#include "hidparse.h"
|
||||||
|
|
||||||
|
#include <Drivers.h>
|
||||||
|
#include <USB.h>
|
||||||
|
#include <usb/USB_hid.h>
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
#define DPRINTF_INFO(x) dprintf x
|
#define DPRINTF_INFO(x) dprintf x
|
||||||
#define DPRINTF_ERR(x) dprintf x
|
#define DPRINTF_ERR(x) dprintf x
|
||||||
|
|||||||
Reference in New Issue
Block a user