summaryrefslogtreecommitdiffstats
path: root/hidd/fakehid.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-14 12:18:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-14 12:18:09 +0000
commit3e9d510274d6560e026c76dc3ecf415db0dd7e68 (patch)
tree79556a17a276df18b7b7e4909fdcb3ea9d556c88 /hidd/fakehid.c
parent9c4ddbfafab6fe96480edeb8c5fee1b76e103300 (diff)
Add initial fake HID support
Diffstat (limited to 'hidd/fakehid.c')
-rw-r--r--hidd/fakehid.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/hidd/fakehid.c b/hidd/fakehid.c
new file mode 100644
index 00000000..1483f022
--- /dev/null
+++ b/hidd/fakehid.c
@@ -0,0 +1,49 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2003-2005 Marcel Holtmann <marcel@holtmann.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 2 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdio.h>
+#include <errno.h>
+#include <sys/socket.h>
+
+#include <bluetooth/bluetooth.h>
+#include <bluetooth/rfcomm.h>
+#include <bluetooth/hidp.h>
+
+#include "hidd.h"
+
+#include <X11/Xlib.h>
+#include <X11/extensions/XTest.h>
+
+#include <math.h>
+
+void epox_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel)
+{
+}
+
+void headset_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel)
+{
+}