I think that xbut will help you out.
http://www.sandklef.com/xbut/
I will add some help printouts as soon as I can :)
/hesa
On Thu, 2001-12-27 at 05:29, Timothy Lu Hu Ball wrote:
> All I wanted was something simple. I have a touchpad, it's a PITA cause
> it only has two buttons. I currently use Option "Emulate3Buttons", it
> works and makes me hate life cause hitting both buttons is "tricky" on
> this laptop.
>
> So I did something like this:
> xmodmap -e "keycode 115 = Pointer_Button2"
>
> in xev I shows that my "windows" key is definitely sending a
> Pointer_Button2 event... it doesn't do "button 2" type things (like
> paste)
>
> I'm kinda lost, I've been thinking of writing a small X app to do this
> for me (but I don't believe I should have to... isn't this what xmodmap
> is for?). The program would do something like:
>
> --snip--snip--snip--
> XTestFakeButtonEvent(mydisplay, button, ispress, 0);
> XFlush(mydisplay);
> --snip--snip--snip--
>
> And I could call it from bbkeys... but I wanted to see what the xpert's
> said before I coded anything :).
>
> --timball
>
> --
> "... the ying to evil's malevolent yang"
> --theTick
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
>
>
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert