2019-04-16, 17:42
How to use remote control with bash script .sh?
I want to control the mouse with the keyboard keys.
Are there any methods?
I tried to use such code:
but nothing works((((
How to track keystrokes correctly?
I want to control the mouse with the keyboard keys.
Are there any methods?
I tried to use such code:
python:
#!/bin/bash
wid=`xdotool search --onlyvisible --name 'chrome'`
if [ "$wid" != "" ]; then
if [ 'LEFT_BUTTON' ]; then
xdotool mousemove_relative 20 0
fi
fi
but nothing works((((
How to track keystrokes correctly?