![]() ![]() |
Mar 23 2008, 03:36 AM
Post
#16
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
If the X server supports the XKB extension you can use xmodmap to map the mouse buttons onto the keyboard My mistake, that's not really useful for a touchscreen. It's great for a one-button trackpad (I'm looking at you, MacBook), but for a touchscreen, there's no mouse move, just click and drag, so it only lets you right/middle-click somewhere where you already just left clicked... xbindkeys might do what you want if you use the press event to change the mapping and the release event to put it back. True, but xbindkeys has a bit lagging and a little overhead in real use on the Z. So far I find the mouseclick solution the best in terms of resource and ease of use, despite, as you mention, the need to implement the click where the pointer/cursor goes. But I can live with that. |
|
|
|
Apr 21 2008, 06:22 AM
Post
#17
|
|
|
Group: Members Posts: 206 Joined: 21-January 08 Member No.: 21,231 |
Is it possible to have something like Fn + tap = right click ( ONE time only ) ? Not like "To change in right click mode, press something, to change it back to left click mode, press something else". I hate this. Ah, even tap and hold would work when keyboard cannot be used. Might evrouter help with this? |
|
|
|
Apr 24 2008, 02:22 AM
Post
#18
|
|
|
Group: Members Posts: 28 Joined: 6-April 06 Member No.: 9,556 |
I updated the C version of mouseclick, and provides armel stripped binaries.
Source code has no change, just add strip option in the Makefile. mouseclick-20080424.tar.gz And, I found xdotool may help on this topic: http://www.semicomplete.com/projects/xdotool/ |
|
|
|
Jul 20 2008, 07:34 PM
Post
#19
|
|
|
Group: Members Posts: 283 Joined: 1-October 07 From: Blacksburg, SC, USA Member No.: 20,773 |
there going to be a deb of this, would be cool once done. I liked the Fn + Tap for the right click.
|
|
|
|
Jul 24 2008, 02:46 AM
Post
#20
|
|
|
Group: Members Posts: 76 Joined: 14-December 07 Member No.: 21,073 |
|
|
|
|
Aug 30 2008, 09:35 AM
Post
#21
|
|
|
Group: Members Posts: 283 Joined: 1-October 07 From: Blacksburg, SC, USA Member No.: 20,773 |
Seems 2ro0 and ZDevil I think have found a solution that works.
First part is in .xbindkeysrc this one works for me with the fn as the right click button. CODE #mouse-click-m "mouse-r" m:0x10 + b:1 Mod2 + Mode_switch #mouse-click-m "mouse-m" m:0x1 + b:1 Shift + Shift_L and ZDevil's program here |
|
|
|
Jun 21 2009, 12:34 AM
Post
#22
|
|
|
Group: Members Posts: 6 Joined: 23-August 08 Member No.: 22,251 |
Ah, even tap and hold would work when keyboard cannot be used. I personaly prefer this way. In case you guys are still looking for this, there is Mousetweaks, from the gnome project. Don't worry, it won't hurt to install. Just some minor gnome libraries.It can be downloaded here. For debian, you can get the mousetweaks and at-spi packages. To make it work, just run: CODE /usr/lib/at-spi/at-spi-registryd mousetweaks -e delay You can make it run with your favorite session manager by adding these two to the init scripts. The debian packages can be easily (?) ported to angstrom and pdaxrom. Regards. Axel Lira |
|
|
|
Jun 29 2009, 07:44 AM
Post
#23
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
I might as well throw my latest in here as well...
My current setup just uses Fluxbox's event grabber to run "xmodmap -e 'pointer = 3 2 1'" or similar commands. I also have it change the cursor so I can visually check what button will be pressed at any given time. The other option (I haven't tried this yet) is to add CODE Option "EmulateRightButton" "1" to the "input" section of xorg.conf. That SHOULD enable press-and-hold right clicking. Like I said, I haven't tried it, so YMMV. Hope that helps somebody. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 09:19 PM |