OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zi99y on November 09, 2006, 06:19:46 pm

Title: Remapping Right Mouse Modifier
Post by: zi99y on November 09, 2006, 06:19:46 pm
I've wanted to ask this for ages, is there a way to remap the cancel button on the side od my C3200 so that it acts the same as the Fn key does to enable right mouse clicking.

Simply using xmodmap to remap the Fn key function has no effect.

The only way I've found to do this is using the following script I made and assigning a key to execute it:

if [ -f ~/.mbut ] ; then
  xmodmap -e "pointer = 3 2 1"
  rm -f ~/.mbut
  echo "switched to right mouse button"
else
  xmodmap -e "pointer = 1 2 3"
  touch ~/.mbut
  echo "switched to left mouse button"
fi

Only problem is that you have to click once to enable and againt to disable.

I want it so its easier to use when the keyboard is folded away in pda mode.
Title: Remapping Right Mouse Modifier
Post by: Capn_Fish on November 09, 2006, 08:47:28 pm
I would like the same thing...except with alt.