Git Product home page Git Product logo

jasonclyde / android-pc-controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wncc/android-pc-controller

0.0 1.0 0.0 605 KB

To make an Android app which takes touch responses on touch screen of mobile and controls the mouse pointer on the laptop/computer screen through Bluetooth (or any other connection).so we want to shift the trackpad of your PC to screen of your mobile . It will also include the facility to use keypad of mobile to type on PC .so overall, one would be able to control his pc using his mobile phone. Will try to include features like motion sensor of mobile to play games on pc.`

C 26.77% Java 73.23%

android-pc-controller's Introduction

1.To Start a connection , Make sure your pc is the "ONLY" device paired to your phone and bluetooth is turned on in your phone.

2.Compile and run blumouse-server.c

  (Before that you have to install the following packages :
	1.libxtst & libxtst-dev 
	2.libbluetooth & libbluetooth-dev )

  Compile using the following command:
	gcc -o blumouse-server blumouse-server.c -lbluetooth -L/usr/X11R6/lib -lX11 -lXtst
	
  Run from terminal using ./blumouse-server.

3.Next install and open the app (blumouse) in your phone.(This step should be done only after blumouse-server is running in terminal.)

4.Now after you run the app , you'll get two messages : 
	Accepted connection from xx.xx.xx.xx.xx.xx
	Connection Started :) 
  If you get these two messages , that means your phone is ready to use as a mouse :)

  Else, exit from the blumouse-server process, start in again. now relaunch the app in your phone.


Instructions to use:
	Use the black portion of the screen as a touch pad.
	The two buttons below are left and right clicks.
	If you press and hold any of the button it means that you are holding down the mousebutton . 
	If you want to toggle the button's state ,then again press and hold it to bring back to normal

Caution : be careful not to tilt phone (in phones which auto align to gravity) because then, the socket will be reset..

**PS: You can change the sensitivity , and the resolution of your screen in the blumouse-server.c file (they are globals) **

android-pc-controller's People

Watchers

Akashiro Shin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.