From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Feb  7 00:33:34 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h16FXYU39221;
	Fri, 7 Feb 2003 00:33:34 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from inflames.my.domain.jp (dhcp-ubr3-0229.csf.ne.jp [219.117.56.44])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h16FXUJ39202
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 7 Feb 2003 00:33:30 +0900 (JST)
	(envelope-from yanagida@inflames.dhis.portside.net)
Received: from localhost (localhost.my.domain.jp [127.0.0.1])
	by inflames.my.domain.jp (8.12.6/8.12.6) with ESMTP id h16FXRcV042524;
	Fri, 7 Feb 2003 00:33:27 +0900 (JST)
	(envelope-from yanagida@inflames.dhis.portside.net)
Message-Id: <20030207.003327.74718502.root@inflames.dhis.portside.net>
To: FreeBSD-users-jp@jp.FreeBSD.org, sada@bsdclub.org
From: Kazuhiro YANAGIDA <yanagida@inflames.dhis.portside.net>
In-Reply-To: <20030206163920.2f3f28f5.sada@BSDclub.org>
References: <20030202.173216.74725199.root@inflames.dhis.portside.net>
	<20030205.051106.74719290.root@inflames.dhis.portside.net>
	<20030206163920.2f3f28f5.sada@BSDclub.org>
X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 07 Feb 2003 00:33:27 +0900
X-Sequence: FreeBSD-users-jp 73291
Subject: [FreeBSD-users-jp 73291] Re: WACOM ET-0405-U tablet
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: yanagida@inflames.dhis.portside.net
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030107


$B$*@$OC$K$J$j$^$9!#LxED$G$9!#(B

From: SADA Kenji <sada@bsdclub.org>
Subject: [FreeBSD-users-jp 73287] Re: WACOM ET-0405-U tablet
Date: Thu, 6 Feb 2003 16:39:20 +0900

> intuos i-600 USB, 5.0 $B$H(B 4.7 $B$N(B release $B$G;n$7$^$7$?$,$&$^$/$$$-$^$;$s$G(B
> $B$7$?!#(B
> 
> $B>I>u$H$7$F$O!"%Z%s%@%&%s$G%+!<%=%k$,>C$($F$7$^$$!"%^%&%9$rF0$+$9$H2sI|$7(B
> $B$^$9!#(B
 
$B$A$g$C$H(B Linux $B$N%I%i%$%PItJ,$N%3%a%s%H$rFI$s$G$_$?$H$3$m!"(B
$B%Q%1%C%H$N9=@.$,=q$$$F$"$j$^$7$?!#(B
$B$3$l$K$h$k$H!"$d$C$Q$j(B FAVO(Graphire) $B$H(B intuos $B$O%Q%1%C%H$N9=@.$,(B
$B0c$&$N$G!"$=$N$^$^$G$OBLL\$C$]$$$G$9!#(B

$B$^$!!"$G$b$3$l$r8+$k8B$j!"N><T$N0c$$$O!"(Bbyte2$B$N%S%C%H%"%5%$%s$H!"(B
$B:BI8%G!<%?$,(B Little Endian $B$+(B Big Endian $B$+0L$J$N$G!"(Bintuos $BMQ$K(B
$B=q$-49$($k$N$b$=$s$J$KFq$7$/$J$$$H;W$$$^$9(B(tilt $B$C$F$J$s$@$m$&!)(B)$B!#(B

$B:G=*E*$K$O!"(Bn_hibma $B;a$N8@$&$h$&$K!"G!2?$K%I%i%$%P$r0lHL2=$9$k$+!)(B
$B$H$$$&LdBj$K%V%AEv$?$k$+$H;W$$$^$9$,!"EvLL$O(B #ifdef $B!A(B #else $B$G(B
FAVO $BMQ$H(B intuos $BMQ$N%I%i%$%P$rJ,$1$k$H8@$&<j$b$"$j$+$H;W$$$^$9!#(B

$B$H$$$&$3$H$G!"EZF|$K$G$b:n6H$7$F$_$^$9!#(B


/*
 * Wacom Graphire packet:
 *
 * byte 0: report ID (2)
 * byte 1: bit7		pointer in range
 *	   bit5-6	pointer type 0 - pen, 1 - rubber, 2 - mouse
 *	   bit4		1 ?
 *	   bit3		0 ?
 *	   bit2		mouse middle button / pen button2
 *	   bit1		mouse right button / pen button1
 *	   bit0		mouse left button / touch
 * byte 2: X low bits
 * byte 3: X high bits
 * byte 4: Y low bits
 * byte 5: Y high bits
 * byte 6: pen pressure low bits / mouse wheel
 * byte 7: pen presure high bits / mouse distance
 * 
 * There are also two single-byte feature reports (2 and 3).
 *
 * Wacom Intuos status packet:
 *
 * byte 0: report ID (2)
 * byte 1: bit7		1 - sync bit 
 *	   bit6		pointer in range
 *	   bit5		pointer type report
 *	   bit4		0 ?
 *	   bit3		0 ?
 *	   bit2		pen button2
 *	   bit1		pen button1
 *	   bit0		0 ?
 * byte 2: X high bits
 * byte 3: X low bits
 * byte 4: Y high bits
 * byte 5: Y low bits
 * byte 6: bits 0-7: pressure	(bits 2-9)
 * byte 7: bits 6-7: pressure	(bits 0-1)
 * byte 7: bits 0-5: X tilt	(bits 1-6)
 * byte 8: bit    7: X tilt	(bit  0)
 * byte 8: bits 0-6: Y tilt	(bits 0-6)
 * byte 9: bits 4-7: distance
 */

$B$d$J$.$@(B
