An old project I worked on for having a good understanding on JQuery and of course for fun 😁.
Execute run.sh
after cloning the repo. You must have python3
installed in your system to start a local server. I used bash
as shell script interpreter.
cd remote_keyboard
sudo chmod u+x run.sh
./run.sh
Or,
cd remote_keyboard
python3 -m http.server 8080 # for windows user, use python command
python3 -m webbrowser -t "http://localhost:8080/index.html" # for windows user, use python command
However you can also run the index.html
as a standalone file in your browser.
- Key press
- Mouse move
- Mouse wheel
- Right click
- Left click
- Double click
- Decided to improve it further, so implemented mouse/touchpad feature.
- Removed audio effect to improve latency problem between key strokes.
- Added custom event listener
interface-input
to handle events received from keyboard, mouse and screen(for touch devices). - Discontinued using of JQuery and rewritten entire code using vanilla JS.
- Implemented dark and light theme along with system theme detection feature.