OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: sonicbuddha on October 30, 2004, 10:16:49 pm

Title: keyboard mouse clicks
Post by: sonicbuddha on October 30, 2004, 10:16:49 pm
I have pieced together some really good information on how to move the cursor from the keyboard in pdaXrom, the only thing I think is missing from this perfect X11 pda, from a couple really good posts:

https://www.oesf.org/forums/inde...88&hl=xkeymouse (https://www.oesf.org/forums/index.php?showtopic=1388&hl=xkeymouse)
https://www.oesf.org/forums/inde...91&hl=xkeymouse (https://www.oesf.org/forums/index.php?showtopic=5691&hl=xkeymouse)
https://www.oesf.org/forums/inde...59&hl=xkeymouse (https://www.oesf.org/forums/index.php?showtopic=3259&hl=xkeymouse)

But I am still lacking the abiltity to do anything but left click.  Several posts mention using these lines in their /etc/xkmc:

keycode=42, none, Exec, xmodmap -e "pointer = 1 2 3", NoFork, NoAutoRepeat
keycode=47, none, Exec, xmodmap -e "pointer = 2 1 3", NoFork, NoAutoRepeat

Which I have not gotten to work.  The only thing that does work is:

keycode=42,        AnyModifier, Button, 1, None, NoAutoRepeat

which gives me the left click only and no drag.  Sadly, there is no documentation to go with xkeymouse.  I would very much like to highlight/copy into buffer and paste using the middle mouse button as well as all the other time saving things that having a mouse allows (and never again use the stylus!!) but would settle for at least being able to have more mouse functionality than a Mac with a single button.    (no offence to Mac users.  Steve Jobs, on the other hand.....)

A second note, moving the cursor using xkeymouse drives aterm nuts and the load through the roof.  It has no effect on xterm.  Hm?

Thoughts?
Title: keyboard mouse clicks
Post by: pgas on October 31, 2004, 01:42:27 am
xmodmap -e "pointer = 2 1 3"

This line change the default button, eg above rigth click is the default,
but it doesn't actually send a click.

maybe :
keycode=47, AnyModifier, Button, 3, None, NoAutoRepeat
would  do the trick?