Skip to content

Control your PC keyboard and mouse via serial messages.

License

Notifications You must be signed in to change notification settings

carlosperate/python-serial-pc-control

Repository files navigation

Serial PC Control

GitHub Action Tests status GitHub Action Package status Supported Python versions Supported Platforms Code style Black License

Control your PC keyboard and mouse via serial messages from a microcontroller board like the BBC micro:bit or Arduino.

This is done by loading any of the pre-made libraries into the microcontroller board, and then executing in the PC application from this repository.

Embedded libraries to use with this application:

This Is Currently Under Development!

This project is still under heavy development, so it can be a little bit unstable or incomplete.

Current way to install and run it is with poetry:

$ git clone https://github.com/carlosperate/serial-pc-control.git
$ cd serial-pc-control
$ poetry install
$ poetry run python serial_pc_control/process_cmds.py

Current status:

  • Controlling the mouse position is working.
  • Mouse left click and right click are working.
  • Typing text from the keyboard is working.
  • Typing special keys from the keyboard (arrow keys, shift, alt, etc) not yet implemented
  • Tested in macOS
  • Not yet tested in Windows, although it should work
  • Not yet tested in Linux, although it should work
  • Automatically detecting the micro:bit or Arduino serial port is working.
  • CLI interface includes command line arguments to manually select the por and baud rate.
  • CLI interface includes command line arguments to manually select the por and baud rate.
  • Known issues not yet solved can be found here:

About

Control your PC keyboard and mouse via serial messages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages