Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 11:09:18 -0700
From:      Alfred Perlstein <alfred@ixsystems.com>
To:        Justin Hibbits <jrh29@alumni.cwru.edu>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: questions about adb_mouse on 9-stable.
Message-ID:  <513E1DCE.4090002@ixsystems.com>
In-Reply-To: <CAHSQbTDtsCe=zRgpDBbU4YUEiA%2B-czgH1tg_Vw2TgRbAV9KGmA@mail.gmail.com>
References:  <513E142D.50404@ixsystems.com> <CAHSQbTDtsCe=zRgpDBbU4YUEiA%2B-czgH1tg_Vw2TgRbAV9KGmA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/13 10:34 AM, Justin Hibbits wrote:
> Hey Alfred,
>
>
> On Mon, Mar 11, 2013 at 10:28 AM, Alfred Perlstein <alfred@ixsystems.com>wrote:
>
>> Hello freebsd-ppc & Nathan!
>>
>> I have FreeBSD ppc working on a g4 macbookpro 12in.
>>
>> It works pretty awesome.
>>
>> The only nit I have is the mouse has a funny bug where after I hit a mouse
>> button, then the keyboard is unresponsive until I touch the trackpad to
>> move the mouse.  I'm wondering if there's a fix in place for this?
>>
> Yup, I filed a PR for this.  The keyboard is unresponsive because it thinks
> the mouse button is still down.  My experience was only in X, but it may
> also be on the console (PR powerpc/161045).
Thanks Justin.  I am seeing the same behavior, even on the console.

>
>> One other question, is there a way to make holding down another key +
>> hitting mouse button act as 2nd and 3rd mouse buttons?  Linux seems to have
>> this feature: http://box.matto.nl/**linuxibook.html<http://box.matto.nl/linuxibook.html>look under "Pasting with one button mouse in Linux":
>>
>>   The iBook comes with a single mouse button. This makes pasting a new
>>> challenge. One solution:
>>>
>>>    * edit /etc/sysctl.conf
>>>    * use Fn-Apple-Click to paste
>>>
>>> Put this in /etc/sysctl.conf:
>>>
>>> dev/mac_hid/mouse_button3_**keycode = 125
>>> dev/mac_hid/mouse_button2_**keycode = 126
>>> dev/mac_hid/mouse_button_**emulation = 1
>>>
>> If there's no time for this, any pointers to get started will be good.
>>
>> -Alfred
>>
> There is a sysctl for this, I think it's dev.ams.0.tapping (something like
> that).
Eh, the results are spotty, it would be nice to be able to hold down a 
keyboard key versus tapping.

-Alfred



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513E1DCE.4090002>