Quoting Timothy Lu Hu Ball <[EMAIL PROTECTED]>: Hi,
> 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) Try xkb MouseKeys. Alt+Shift+Num_Lock is normally the default hotkeys to enable and disable it. Some useful hotkeys are KP_Divide selects button1, KP_Multiply button2, and KP_Minus button3. KP_Plus is double click, KP_Ins press the button and KP_Del releases it. KP_5 keeps the button pressed until you release the keyboard. > 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 Paulo _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
