ruundii / bluez

Bluez fork with an input device profile functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork of 
BlueZ - Bluetooth protocol stack for Linux
******************************************

Copyright (C) 2000-2001  Qualcomm Incorporated
Copyright (C) 2002-2003  Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002-2010  Marcel Holtmann <marcel@holtmann.org>


This fork extends the input profile with input device support. now the profile can listen to
BT input devices while presenting itself as an input device to other host machines.

added to input.conf
InputDeviceProfileEnabled=[true/false]
InputDeviceProfileSDPRecordPath=[path to sdp record xml file]

after connection with input host machine is established the profile adds a dbus interface 
org.bluez.InputHost1 to the device object, which contains the names of ctrl and intr channel
sockets. 

if you connect to intr socket and white hid reports, those will be transmitted to the host

CaptureUHIDChannelsForInputDevices and ExclusiveCaptureOfUHIDChannelsForInputDevices allow 
to create similar sockets to capture bluetooth devices communications, possibly exclusively 
(bypassing machine)

Examples folder contains a working example of a python gateway, which connects to input profile 
sockets for input devices and hosts and transmits messages both ways. E.g. Key remapping can happen
in such gateway

About

Bluez fork with an input device profile functionality

License:GNU General Public License v2.0


Languages

Language:C 97.4%Language:Python 1.6%Language:Makefile 0.4%Language:Roff 0.3%Language:C++ 0.2%Language:M4 0.1%Language:Shell 0.0%Language:Perl 0.0%