Author Topic: keyboard mouse clicks  (Read 1837 times)

sonicbuddha

  • Newbie
  • *
  • Posts: 38
    • View Profile
keyboard mouse clicks
« 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/inde...91&hl=xkeymouse
https://www.oesf.org/forums/inde...59&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?
C860 running pdaXrom 1.1.0 RC9
Full 121Mb root
home on Kingston 512Mb SD card
Pretec WiFi

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
keyboard mouse clicks
« Reply #1 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?
SLC-860 cacko / senao wifi