questions about adb_mouse on 9-stable.

Alfred Perlstein alfred at ixsystems.com
Mon Mar 11 18:09:23 UTC 2013


On 3/11/13 10:34 AM, Justin Hibbits wrote:
> Hey Alfred,
>
>
> On Mon, Mar 11, 2013 at 10:28 AM, Alfred Perlstein <alfred at 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


More information about the freebsd-ppc mailing list