Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 11:44:48 +0300
From:      Juriy Goloveshkin <j@gu.ru>
To:        CHOI Junho <cjh@kr.FreeBSD.ORG>
Cc:        Will Andrews <will@csociety.org>, freebsd-mobile@freebsd.org
Subject:   Re: vaio's jogdial & moused
Message-ID:  <20020115084448.GA7051@aviaport.ru>
In-Reply-To: <sa3zo3gm30y.fsf@gradius.wdb.co.kr>
References:  <20020114223408.GA4272@aviaport.ru> <20020114180711.L73815@squall.waterspout.com> <20020115055759.GA5224@aviaport.ru> <sa3advgnm6r.fsf@gradius.wdb.co.kr> <20020115080639.GA6174@aviaport.ru> <sa3zo3gm30y.fsf@gradius.wdb.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 15, 2002 at 05:28:29PM +0900, CHOI Junho wrote:
>     >  But all I can get is that jogdial button works as button 1.
>     JG> hmm, looks good. how you tested jogdial under X?
>     JG> I've tested with xterm and mozilla.
> I've tested it with xterm...
how? the rigth way is to tape 'enter' unless screen rolls, then use wheel
under xterm.
> 
>     JG> netscape, for example, requires specific settings for wheel.
>     JG> anyway, try moused -t jodgial -p /dev/jogdial -d -f
>     JG> if dz will be -1 or 1 when you roll jogdial, X has to work.
> Here is the output: the following event is scrolling down and up
> respectively.
> 
> # moused -t jogdial -p /dev/jogdial -d -f
> moused: port: /dev/jogdial  interface: unknown  type: jogdial  model: generic
> moused: received char 0x72
> moused: assembled full packet (len 1) 72,0,0,0,0,0,0,0
> moused: tv:  1011083091 941081
> moused: flags:80000000 buttons:00000000 obuttons:00000000
> moused: activity : buttons 0x00000000  dx 0  dy 0  dz 1
> moused: received char 0x6c
> moused: assembled full packet (len 1) 6c,0,0,0,0,0,0,0
> moused: tv:  1011083093 963377
> moused: flags:80000000 buttons:00000000 obuttons:00000000
> moused: activity : buttons 0x00000000  dx 0  dy 0  dz -1
very good.
>     JG> what do you receive when you roll jogdial? (cat /dev/jogdial)
> # cat /dev/jogdial 
> lrdu
> (scroll up, down, pressing button down and up respectively)
It has to work. ;(
try to change dz to dx in the patch. is mouse move when you roll?

-- 
bye
Juriy Goloveshkin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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