From 4f32f865517ba5c6a65550d39504a44065b9d013 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 17 Apr 2007 13:22:58 +0000 Subject: input: Connect/disconnect to the control and interrupt psm at the ending of CreateDevice --- input/device.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'input/device.h') diff --git a/input/device.h b/input/device.h index b156b985..b3316841 100644 --- a/input/device.h +++ b/input/device.h @@ -20,6 +20,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * */ +#define L2CAP_PSM_HIDP_CTRL 0x11 +#define L2CAP_PSM_HIDP_INTR 0x13 int input_device_register(DBusConnection *conn, bdaddr_t *src, bdaddr_t *dst, struct hidp_connadd_req *hidp, const char **ppath); @@ -29,3 +31,5 @@ int input_device_unregister(DBusConnection *conn, const char *path); int input_device_get_bdaddr(DBusConnection *conn, const char *path, bdaddr_t *src, bdaddr_t *dst); +int l2cap_connect(bdaddr_t *src, bdaddr_t *dst, + unsigned short psm, GIOFunc cb, void *data); -- cgit