Skip to main content

Send mouse/keyboard inputs via network

Project description

net-input

Send mouse/keyboard inputs via network

Installation

You can install the package via pip:

pip install net-input

Usage

  1. Start the server.

    net-input
    
  2. Example client code.

    import socket
    
    host, port = "127.0.0.1", 9999
    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    
    sock.sendto(b"mouse,move,100,100", (host, port))
    sock.sendto(b"keyboard,write,Hello World", (host, port))
    

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

net_input-1.0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

net_input-1.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page