Giter Club home page Giter Club logo

webbymouse's Introduction

Air Mouse and touchpad with full web technology.

Build Status Dependency Status

Install

Unzip downloaded zip, tap to open it. Then you have a desktop with mouse server enabled.

Imgur

Open your mobile browser by scanning the QRCode or enter the URL, then you are able to control your desktop via browser.

Features

Touchpad mode (Mouse Control)

  • Use Single finger touch will let you move the mouse.
  • Use Double finger touch will let you scroll the content.
  • Use Single finger tap will let you simulate left click.
  • Use Double finger tap will let you simulate right click.

Air mouse mode (Motion Control)

Tap menu then choose Motion Control, then you can wave your mobile device to control the mouse.

Present mode

Tap menu then choose Presentation Control, then you can control the presentation by:

  • Use Single finger tap will let you simulate right arrow.
  • Use Double finger tap will let you simulate left arrow.

Passcode protection

On desktop and on client side browser, tap menu then choose Passcode to enter same string on prompt, then you can make sure the mouse is only accessible by you. (The passcode is not remembered and should re-entered when you restart the desktop next time)

How to Contribute

Patch is welcome. If you feel Webby Mouse is useful, please spread the word on social media!

Technology used

Setup

Get required packages

$ npm install

Which will also run bower install to install related client side libraries into public/vendor folder.

Then run

$ node server.js

To host the mouse server on desktop.

Code structure

The server side server.js manage the mouse position change, the client side send position offset to server.

The desktop side desktop.html includes server.js and provide the connection instruction and system tray.

In client side index.html, just call emitMouse to update the mouse position.

Build for Desktop

You need install node-webkit-builder first

$ npm install nw-builder -g

You have to check nw.js website and use same io.js version as nw.js did.

$ nvm install iojs-1.2.0
$ nvm use iojs

To build a smaller package, we only need install essential libraries for production. Clone a new repository and run following commands:

$ npm install --production
$ nwbuild -p osx64 webbymouse -v 0.12.3

Due to underlying robotjs mouse library, currently MacOS is the only support platform.

webbymouse's People

Contributors

gasolin avatar elin-moco avatar rjmunro avatar

Watchers

James Cloos avatar QUASI 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.