How would one go about controlling retrieving/setting the position of the mouse and triggier keyboard events on the operating system/X11 level? This is similar to functionality
ncurses bind - is the most lightweight solution I've found, all the others are parts of graphic or gaming engines