2012-05-17 03:56:12 +00:00
|
|
|
/*
|
|
|
|
spacenavd - a free software replacement driver for 6dof space-mice.
|
|
|
|
Copyright (C) 2007-2012 John Tsiombikas <nuclear@member.fsf.org>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <IOKit/IOKitLib.h>
|
|
|
|
#include <IOKit/hid/IOHIDLib.h>
|
|
|
|
|
|
|
|
int init_hotplug(void)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
void shutdown_hotplug(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int get_hotplug_fd(void)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
int handle_hotplug(void)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2019-01-28 03:41:06 +00:00
|
|
|
#else
|
|
|
|
int spacenavd_hotplug_darwin_shut_up_empty_source_warning;
|
2012-05-17 03:56:12 +00:00
|
|
|
#endif /* __APPLE__ && __MACH__ */
|