View previous topic :: View next topic |
Author |
Message |
onlinefloh n00b
Joined: 02 May 2009 Posts: 25
|
Posted: Sat May 02, 2009 3:54 pm Post subject: How to emulate mouse button by keyboard?? |
|
|
Hi Folks,
Even after some searching i haven't found a solution yet, so i'll ask here:
Is there a way to emulate a mouse button with your keyboard?
Background: I got a Apple Powerbook which is running gentoo just fine despite it being nine years old. But: as most Apple boxes this has only one mouse button, where one would rather have two (ya know, right-clicke here, right-click there). I do know a friend of mine had on this very laptop the F12 key mapped as second mouse button. Unfortunately this was on another distro and i can't ask him how he did it.
But i'm sure one or two of you guys already solved the same problem
Currently, im running kde 3.5 (and am not planning on upgrading) with (nearly) plain evdev, no xf86-input-{mouse,keyboard}.
Suggestions, anyone?
Greets,
Florian |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sat May 02, 2009 4:55 pm Post subject: |
|
|
Quote: | sys-apps/mouseemu
Available versions: *0.12 ~*0.13 ~*0.14 ~*0.15
Homepage: http://geekounet.org/powerbook/
Description: Emulates scrollwheel, right- & left-click for one-button mice/touchpads | This might be of use(Edit, the linked hp gives a 404, but it's available on the mirrors).
Other than that, there's afaik some X11-functionality for it - don't remember the name, though - and maybe your wm/de does allow it, too(should be easily doable with i.e. fvwm, I think). |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
|
Back to top |
|
|
onlinefloh n00b
Joined: 02 May 2009 Posts: 25
|
Posted: Sun May 03, 2009 11:43 am Post subject: |
|
|
Tnx, mouseemu works fine so far, only in (kde-)konsole there appears a tilde for every simulated mouseclick. I don't mind that though as i don't need those additional clicks in konsole anyways
Greets,
Florian |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun May 03, 2009 2:17 pm Post subject: |
|
|
You really don't need any extra software. In xorg you can control the pointer with the numeric pad after pressing shift-numlock |
|
Back to top |
|
|
onlinefloh n00b
Joined: 02 May 2009 Posts: 25
|
Posted: Fri May 08, 2009 3:11 pm Post subject: |
|
|
i92guboj wrote: | You really don't need any extra software. In xorg you can control the pointer with the numeric pad after pressing shift-numlock |
That could possibly be, but: This Powerbook (read: 2000ish Apple Laptop) has neither NumLock nor a numeric pad...
Umm, that's only half-true as i just found out: it can emulate a keypad, but pressing three keys instead of just one is not much of a time saver anyways
But tnx for the pointer.
Greets,
Floh |
|
Back to top |
|
|
|