How can I get the MouseClick and MouseMove events in Bash scripting for my own simple OS events?

How can I get those events?

Edit
Report