Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse Emulation on iMac G5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jaeger63
n00b
n00b


Joined: 08 Apr 2006
Posts: 38
Location: Gatineau, Quebec

PostPosted: Sun May 07, 2006 9:00 pm    Post subject: Mouse Emulation on iMac G5 Reply with quote

The PPC FAQ describes how to enable mouse emulation to emulate middle and right mouse buttons in sysctl.conf. But this requires setting kernel configuration parameters that don't seem to be available in PPC64.

Is there a way to enable 2 and 3-button mouse emulation with a PPC64 kernel? If so, how?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun May 07, 2006 11:45 pm    Post subject: Reply with quote

I don't think so (there's no adb) but you could try mouseemu instead.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
jaeger63
n00b
n00b


Joined: 08 Apr 2006
Posts: 38
Location: Gatineau, Quebec

PostPosted: Tue May 09, 2006 12:39 am    Post subject: Reply with quote

This is not exactly a solution, but I've worked out a way to emulate the buttons in X, at least.

I did it by putting these lines in $HOME/.Xmodmap:
Code:
keycode 95 = Pointer_Button2 Pointer_Drag2
keycode 96 = Pointer_Button3 Pointer_Drag3
keycode 113 = Mode_switch Pointer_EnableKeys


For my keyboard, at least, I can enable the mousekey by hitting <shift><right-alt> ( that is keycode 113). Then F11 (keycode 95) works as the middle button and F12 (keycode 96) works as the right mouse button. You can assign these functions to any other keys you like, just use xev to determine the keycodes for the keys you want to use.

Obviously this will only work for applications running under X.

By the way, I tried mouseemu 0.15, but it didn't work - it just logged an unkown IOCTL error on startup and had no effect. This is on a ppc64 kernel with vanilla-sources-2.6.17-rc3.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum