Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileMouse

MobileMouse lets you use your smartphone as a wireless mouse for your computer. Control your desktop's cursor with simple touch gestures from your mobile device.

screenshot

Features

  • Control your computer's mouse wirelessly using your phone
  • Auto-discovery of available desktop clients on the same network
  • Low-latency UDP & TCP connections for smooth control
  • Mouse movement with touch gestures
  • Mouse click functionality

Components

Desktop App

An Electron-based application that:

  • Broadcasts its presence on the local network
  • Establishes connections with mobile clients
  • Interprets touch input as mouse movements and clicks
  • Uses robotjs to control the system cursor

Mobile App

A React Native application that:

  • Automatically discovers available desktop clients
  • Connects to the selected desktop
  • Sends touch input to control the desktop mouse
  • Keeps the screen awake during usage

Installation

Desktop App

cd desktop
yarn install
yarn start    # Run the development version
yarn build    # Build the production version

Mobile App

cd mobilemouse
yarn install
yarn android  # Run on Android device/emulator
yarn ios      # Run on iOS device/simulator

Usage

  1. Start the desktop application on your computer
  2. Launch the mobile app on your smartphone
  3. Connect to your computer from the list of available devices
  4. Use touch gestures to control your computer's mouse:
    • Drag to move the cursor
    • Tap to click

Development

  • Desktop app built with Electron, TypeScript, and robotjs
  • Mobile app built with React Native and TypeScript
  • Communication via UDP for mouse movement and TCP for connection management

License

See the LICENSE file for details.

About

Use your phone as a mouse to control your computer.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages