Re: can i set different moused_flags for tow mice?

2007-03-05 Thread Dan Nelson
In the last episode (Mar 06), lveax said:
> hi all
> 
> i have tow usb mouse,one is in left,another is in right.
> 
> i added
> moused_flags="-m 1=3 -m 3=1"
> 
> to my /etc/rc.conf then i can use the left hand mouse.
> but it effected the tow mice.
> 
>  391  ??  Ss 0:02.07 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums0 -t auto 
> -I /var/run/moused.ums0.pid
>  423  ??  Is 0:00.00 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums1 -t auto 
> -I /var/run/moused.ums1.pid
> 
> how can i set the moused_flags that only effect the left mouse?

I'm guessing here since it's not clearly documented, but it looks like
you can do this:

moused_ums0_flags="-m 1=3 -m 3=1"
moused_ums1_flags=""

to give moused different flags depending on which device it's
controlling ( for usb mice, moused is launched via devd, and you can
see in /etc/devd.conf it passes the devicename to /etc/rc.d/moused ,
which then reads the appropriate rc.conf entries ).

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can i set different moused_flags for tow mice?

2007-03-05 Thread lveax

hi all

i have tow usb mouse,one is in left,another is in right.

i added
moused_flags="-m 1=3 -m 3=1"

to my /etc/rc.conf then i can use the left hand mouse.
but it effected the tow mice.

 391  ??  Ss 0:02.07 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums0
-t auto -I /var/run/moused.ums0.pid
 423  ??  Is 0:00.00 /usr/sbin/moused -m 1=3 -m 3=1 -p /dev/ums1
-t auto -I /var/run/moused.ums1.pid

how can i set the moused_flags that only effect the left mouse?

thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"