simplified ps2_hid driver, only used to load the ps2 bus manager right now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,15 +1,8 @@
|
|||||||
SubDir HAIKU_TOP src add-ons kernel drivers input ps2_hid_new ;
|
SubDir HAIKU_TOP src add-ons kernel drivers input ps2_hid_new ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
|
||||||
|
|
||||||
UsePrivateHeaders input ;
|
UsePrivateHeaders input ;
|
||||||
UsePrivateHeaders kernel ;
|
UsePrivateHeaders kernel ;
|
||||||
|
|
||||||
KernelAddon ps2_hid_new : kernel drivers bin :
|
KernelAddon ps2_hid_new : kernel drivers bin :
|
||||||
common.c
|
ps2_hid.c
|
||||||
keyboard.c
|
|
||||||
mouse.c
|
|
||||||
packet_buffer.cpp
|
|
||||||
ps2_dev.c
|
|
||||||
ps2_service.c
|
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2005 Haiku, Inc.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*
|
||||||
|
* PS/2 hid device driver
|
||||||
|
*
|
||||||
|
* Authors (in chronological order):
|
||||||
|
* Marcus Overhagen ([email protected])
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <KernelExport.h>
|
||||||
|
#include <Drivers.h>
|
||||||
|
#include "../../../bus_managers/ps2/PS2.h"
|
||||||
|
|
||||||
|
#define TRACE(x) dprintf x
|
||||||
|
|
||||||
|
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
||||||
|
|
||||||
|
ps2_module_info *gPs2 = NULL;
|
||||||
|
|
||||||
|
status_t
|
||||||
|
init_hardware(void)
|
||||||
|
{
|
||||||
|
TRACE(("ps2_hid: init_hardware\n"));
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const char **
|
||||||
|
publish_devices(void)
|
||||||
|
{
|
||||||
|
TRACE(("ps2_hid: publish_devices\n"));
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
device_hooks *
|
||||||
|
find_device(const char *name)
|
||||||
|
{
|
||||||
|
TRACE(("ps2_hid: find_device\n"));
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
init_driver(void)
|
||||||
|
{
|
||||||
|
TRACE(("ps2_hid: init_driver\n"));
|
||||||
|
return get_module(B_PS2_MODULE_NAME, (module_info **)&gPs2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
uninit_driver(void)
|
||||||
|
{
|
||||||
|
TRACE(("ps2_hid: uninit_driver\n"));
|
||||||
|
put_module(B_PS2_MODULE_NAME);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user