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

Stargazers

Krish avatar Yinuo Yao avatar Shaun Payne avatar Md. Abu Taher avatar  avatar TouchVirtual avatar Huy Vu~ avatar ls avatar Katalyzzt avatar  avatar  avatar Ankit Mishra avatar  avatar Neelabh Madan avatar 量子Bug avatar Bryce Mc Williams avatar Stefan Smiljkovic avatar Hector Romo avatar tg-z avatar  avatar ittat avatar Hadi Azami avatar Midnoclose avatar  avatar  avatar Jhe-Wei Lin avatar Timothy Solomon avatar 十块钱 avatar Fabio Dias Rollo avatar Alex B. avatar Jasper avatar Jeremy Glenn avatar Glenn Vandeuren (aka Iondependent) avatar Himanshu avatar Kyle Dallafior avatar Todd Pressley avatar caa1211 avatar Martin Puškáč avatar ismail BASKIN avatar Anderson Nishihara avatar  avatar  avatar Sabin Tudor avatar Jacob Faber avatar Kuro avatar  avatar Roy Ling avatar Kemin avatar Òscar Casajuana avatar  avatar Alex Lawrence avatar Silicon Valley Experience Center avatar Fernando Fussuma avatar Jason Miller avatar Wai Cheung avatar Rahul Kumar avatar Michael Puckett avatar Lucas avatar  avatar Boris Cherny avatar Yorkie Makoto avatar Kasper Mikiewicz avatar Dave Davis avatar Carlo Denaro avatar Shahzain avatar Alvaro Naveda avatar  avatar David Ed Mellum avatar Berker Yüce avatar Garrett Wilson avatar Don Page avatar Adam Garrett-Harris avatar roadlabs avatar WanCW avatar Isaiah Odhner avatar Jason Stallings avatar

Watchers

roadlabs avatar  avatar James Cloos avatar Marc Laporte avatar ouzza avatar  avatar  avatar  avatar

webbymouse's Issues

Scroll not working

I can move the mouse, click, and right-click, but I can't seem to get it to scroll.

Wrong IP address.

This app is amazing, I can't believe how well it works. Except for one bug:

It reported that my IP address is 172.20.10.3, but it's actually 192.168.0.10.

It looks like it pulled the value of en4 instead of en1.

If you're busy I could probably look into this, just wanted to have it noted.

Unresponsive corner axis movement of gyroscope!

When user tries to move mobile at 45° angle, the response should have been the movement of the mouse cursor at an angle of 45° with respect of the reference position, but it just moves sideways at an angle of fixed 90°

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.