What I wanted is to use the scroll wheel on my cordless mouse to scroll through channels while watching tv and use the left mouse click to select the channel in the osd. Which left me no choice but to use another program to emulate the keyboard with the mouse.
Simply what it does is make the left mouse button press space and the right mouse button press escape.
I did the following on Ubuntu 10.04 and myth v0.24, with no problems.
sudo apt-get install xbindkeys xautomation
xbindkeys --defaults > $HOME/.xbindkeysrc
add this to the file
"xte 'keydown space' 'keyup space'"
"xte 'keydown Escape' 'keyup Escape'"
quit and save the file.
now test it, from the command line 'xbindkeys', left click gives a space 'right click' gives escape (which does little in the shell)
now try running mythfrontend (hide mouse option must be off, you want to see the pointer)
scroll wheel to 'watch tv', press left mouse key once, while watching tv scroll channels using the wheel, select channel on the osd using the left mouse button and escape out of watching tv using the right button, simple enough. Remember left = space and right = escape
exit out of mythfrontend and kill the xbindkeys to regain control with the system
now make a script that will start xbindkeys before starting mythfrontend, and auto kill xbindkeys after exiting mythfrontend.
# loads mouse support for mythtv.
now make the script executable
chmod +x mythtvstart.sh
make a shortcut on the desktop / main menu to this script
left click on desktop, create launcher.... browse to command mythtvstart,sh
thats it, throw away the remote, put the keyboard under the bed, no more struggle. For all those doubters out there, you are more than welcome to go back to holding that remote in you hand, cos we know that is what you enjoy doing ;-0