WPFのタブレット対応
Galaxy 2008で扱ったタブレットの筆圧対応の件ですが、見つかる情報からすると次の条件が必要かもしれません。
WPF (Windows Presentation Foundation)がタブレットの筆圧に対応する条件?
OS | タブレット機能 |
---|---|
Windows XP | ― |
Windows XP Tablet PC Edition | ○ |
Windows Vista Home Basic | ― |
Windows Vista Home Premium | ○ |
Windows Vista Buisness | ○ |
Windows Vista Ultimate | ○ |
Galaxy 2008でタブレット・デバイスの情報を表示する
Galaxy 2008更新版(2008-05-25)で、「Tablet Info」タブでタブレット・デバイスの情報を表示する機能をつけてみました。「更新」ボタンを押すと再取得します。最初に現在(Current)のデバイスを表示するようになっています。ないときは「Current Tablet Device : null」になります。現在のデバイスは動的に変化するようで、ペンで操作しているときにだけ取得できるようです。
Vista Ultimate + intuos2の場合(開発環境)
WPFでタブレットのデバイスが有効かどうか、興味がある方はチェックしてみてください。
Tablet Info Viewer 2008/05/25 15:42:33 Tablet Devices : 2 Tablet Device : Current Is Current Deivce : True Tablet Hardware Capabilities : HardProximity, SupportsPressure Id: 045104DC, Product Id: 4097, Type: Stylus Supported Stylus Point Properties { {Id=X, IsButton=False} {Id=Y, IsButton=False} {Id=NormalPressure, IsButton=False} {Id=XTiltOrientation, IsButton=False} {Id=YTiltOrientation, IsButton=False} {Id=AzimuthOrientation, IsButton=False} {Id=AltitudeOrientation, IsButton=False} {Id=TwistOrientation, IsButton=False} {Id=PacketStatus, IsButton=False} {Id=BarrelButton, IsButton=True} {Id=TipButton, IsButton=True} } Tablet Device : 0 Is Current Deivce : False Tablet Hardware Capabilities : Integrated, HardProximity, SupportsPressure Id: 045105FC, Product Id: 4097, Type: Stylus Supported Stylus Point Properties { {Id=X, IsButton=False} {Id=Y, IsButton=False} {Id=NormalPressure, IsButton=False} {Id=XTiltOrientation, IsButton=False} {Id=YTiltOrientation, IsButton=False} {Id=AzimuthOrientation, IsButton=False} {Id=AltitudeOrientation, IsButton=False} {Id=TwistOrientation, IsButton=False} {Id=PacketStatus, IsButton=False} {Id=BarrelButton, IsButton=True} {Id=TipButton, IsButton=True} } Tablet Device : 1 Is Current Deivce : True Tablet Hardware Capabilities : HardProximity, SupportsPressure Id: 045104DC, Product Id: 4097, Type: Stylus Supported Stylus Point Properties { {Id=X, IsButton=False} {Id=Y, IsButton=False} {Id=NormalPressure, IsButton=False} {Id=XTiltOrientation, IsButton=False} {Id=YTiltOrientation, IsButton=False} {Id=AzimuthOrientation, IsButton=False} {Id=AltitudeOrientation, IsButton=False} {Id=TwistOrientation, IsButton=False} {Id=PacketStatus, IsButton=False} {Id=BarrelButton, IsButton=True} {Id=TipButton, IsButton=True} }