Skip to content

AirPointer is an Electron-based application that allows users to control their computer's mouse using their mobile phone's gyroscope. The app connects via WebSocket and provides an intuitive air mouse experience.

Notifications You must be signed in to change notification settings

pritish384/AirPointer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

AirPointer

Air Pointer Presentation AirPointer is an Electron-based application that allows users to control their computer's mouse using their mobile phone's gyroscope. The app connects via WebSocket and provides an intuitive air mouse experience.

Features

  • Wireless Mouse Control: Move your mouse using your phone's motion sensors.
  • WebSocket Connection: Establish a connection between the mobile app and the Electron backend.
  • Manual Mouse Control: Use the mobile app to move the mouse pointer.
  • Secure Authentication: Connect with a password to prevent unauthorized access.
  • Recenter Mouse: Quickly bring the pointer back to the screen center.
  • Left-Click Support: Trigger a left click from your mobile device.
  • Real-Time Status Updates: Displays connection status and device information in the Electron app.
  • Customizable Settings: Configure the WebSocket server port and password.

Download

Desktop App: AirPointer-Desktop Mobile App: AirPointer-Mobile

Installation

Mobile App

  1. Clone the repository:
    git clone https://github.com/pritish384/airpointer.git
    cd airpointer/AirPointer-Mobile
  2. Install dependencies:
    npm i
  3. Run the application:
    npm start

Desktop App

  1. Clone the repository:
    git clone
    cd airpointer/AirPointer-Desktop
  2. Install dependencies:
    npm i
  3. Run the application:
    npm run dev

Configuration

You can change the WebSocket port and password in the Desktop app:

  • Open the settings menu.
  • Enter a new port or password.
  • Click Update to apply changes.

Mobile App Integration

  • A React Native app connects to the Electron backend.
  • Users input the IP address , Port and Password to authenticate.
  • The mobile app sends motion data to move the mouse.

Troubleshooting

  • WebSocket Connection Issues:

    • Ensure the mobile device and PC are on the same network.
    • Check the IP address, port, and password.
  • App Not Responding:

    • Close all instances of Electron and restart the app.
    • Check the console logs for errors.

Contributing

Feel free to fork and submit pull requests to improve the app!

License

MIT License. See LICENSE for more details.

About

AirPointer is an Electron-based application that allows users to control their computer's mouse using their mobile phone's gyroscope. The app connects via WebSocket and provides an intuitive air mouse experience.

Resources

Stars

Watchers

Forks