Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Instructions for setting up in linux:
Turn ON the device. Search for the bluetooth MAC address and add it to /etc/bluetooth/rfcomm.conf (as shown below)
hcitool scan (for scanning the bluetooth device)
#############/etc/bluetooth/rfcomm.conf#######################
rfcomm2 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:12:09:25:90:02; #add the scan result
#
# # RFCOMM channel for the connection
channel 1;
comment "bluetooth serial port2";
}
#############################################################
Now bind the device using command shown below:
sudo rfcomm bind 2
Now run the mouse.py and you can use the bluetooth mouse to control the mouse pointer, clicks and wheel....
(you need to install pymouse module before running the script)
for more details visit http://blog.vinu.co.in