Please help me remapping mouse buttons to keyboard

view full story

http://forums.opensuse.org – I have a wireless keyboard with touchpad However the position of the mouse buttons is very unconfortable and so I would like to remap the mouse button to some kes on the keyboard. I would like to use the media keys which are present on the keyboard. They are useless to me since most of the programs that I use have their own keyboard shortcuts for controls such as play, stop etc. I mapped the keys using xev, and for instance I found that the "play" key mapped to keycode 172 by trying someting like xmodmap -e "keycode 172 = Pointer_Button1" nothing happens. Could anybody help me please? (Distributions)