On Die, 2002-03-12 at 03:32, Bastien Nocera wrote: > On Tue, 2002-03-12 at 00:21, Michel Dänzer wrote: > > On Mon, 2002-03-11 at 10:37, Craig Small wrote: > > > On Sun, Mar 10, 2002 at 09:04:18PM -0700, Chris Tillman wrote: > > > > > > > > On the powerpc mailing list, we get a question about every month on how > > > > to do mouse button emulation. It's so common because all Macs, out of > > > > the > > > > box, have a one-button mouse. > > > > > > > > When installing procps for the first time on a powerpc, > > > > could you create the following sysctl.conf? > > > > > > Is that possible? I thought all files were the same (except binaries > > > of course). > > > > A debconf interface for mouse button emulation setup would be really > > nice. :) > > Not really possible as showkey can behave weirdly under X, so would > probably every other way of getting the Linux keycode. > > However if you know a good way of getting the Linux keycode (maybe the > event devices ?), I'm up for adding support for it to the powermac-utils > (that I'll package some day soon).
The event interface is exactly what I was thinking of. If you need example code, check out the ruby module from linuxconsole CVS on sf.net. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast