HIDClass related doubt

Hi,
I have a Touch Screen Device connected to the host and we have to simulate
mouse clicks on touches.We have a USB Filter driver which takes the
co-ordinates and we have a HidMini(For Mouse) driver which takes the
co-ordinates from USB filter driver and completes the Read Reports sent by
HID Class.Now we have a requirement wherein we have to support multi monitor
configuration with 2 touch screens.i.e.the first screen is divided into the
first half and the 2nd screen to the other half.My Touch Screen can send
data of maximum 4096 Electrical Resolutions which I am submitting when I
receive Report Descriptor from Hidclass but how do I tell to the HidClass
about the primary monitor and second monitor.Any suggestions for
implementation are most welcome

Best Regards,
sai
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

You can’t. For absolute pointing devices, the mouse port driver just
reports absolute positioning relative to the *entire* desktop. This
means that you cannot have an absolute pointing device that is specific
to one monitor. This is a design limitation in windows that the input
team is aware of and are considering fixing in a later release.

BTW, if your device is already USB, why can’t you just report your
device as a HID and use the in the build HID miniport?

D

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Friday, May 10, 2002 3:57 AM
To: NT Developers Interest List
Subject: [ntdev] HIDClass related doubt

Hi,
I have a Touch Screen Device connected to the host and we have to
simulate
mouse clicks on touches.We have a USB Filter driver which takes the
co-ordinates and we have a HidMini(For Mouse) driver which takes the
co-ordinates from USB filter driver and completes the Read Reports sent
by
HID Class.Now we have a requirement wherein we have to support multi
monitor
configuration with 2 touch screens.i.e.the first screen is divided into
the
first half and the 2nd screen to the other half.My Touch Screen can send
data of maximum 4096 Electrical Resolutions which I am submitting when I
receive Report Descriptor from Hidclass but how do I tell to the
HidClass
about the primary monitor and second monitor.Any suggestions for
implementation are most welcome

Best Regards,
sai
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%

What I am trying to do is I have configured the first monitor as primary and
the second one as secondary monitor using windows settings.Device Vendor is
our client.We are just developing mouse emulatin software for the Touch
Screen Device.
Actually what we have seen with windows is when you configure the second
monitor as an extension,the mouse cursor goes to the second monitor.But the
problem which I am facing is when I get the co-ordinates from the second
monitor,I just complete the HID Read report with the co-ordinates,so the
mouse movement happens only in the primary monitor.
How do i build the descriptor so that the HIDClass interprets the touches on
secondary as extensions of primary ?

Best Regs,
Sai


From: Doron Holan[SMTP:xxxxx@windows.microsoft.com]
Reply To: NT Developers Interest List
Sent: Friday, May 10, 2002 9:04 PM
To: NT Developers Interest List
Subject: [ntdev] RE: HIDClass related doubt

You can’t. For absolute pointing devices, the mouse port driver just
reports absolute positioning relative to the *entire* desktop. This
means that you cannot have an absolute pointing device that is specific
to one monitor. This is a design limitation in windows that the input
team is aware of and are considering fixing in a later release.

BTW, if your device is already USB, why can’t you just report your
device as a HID and use the in the build HID miniport?

D

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Friday, May 10, 2002 3:57 AM
To: NT Developers Interest List
Subject: [ntdev] HIDClass related doubt

Hi,
I have a Touch Screen Device connected to the host and we have to
simulate
mouse clicks on touches.We have a USB Filter driver which takes the
co-ordinates and we have a HidMini(For Mouse) driver which takes the
co-ordinates from USB filter driver and completes the Read Reports sent
by
HID Class.Now we have a requirement wherein we have to support multi
monitor
configuration with 2 touch screens.i.e.the first screen is divided into
the
first half and the 2nd screen to the other half.My Touch Screen can send
data of maximum 4096 Electrical Resolutions which I am submitting when I
receive Report Descriptor from Hidclass but how do I tell to the
HidClass
about the primary monitor and second monitor.Any suggestions for
implementation are most welcome

Best Regards,
sai
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@bla.satyam.com
To unsubscribe send a blank email to %%email.unsub%%

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

All mouhid does is scale your reported values from the range that the
device is capable to the absolute pointer range expected by the raw
input thread (RIT). The RIT expects an absolute pointer device to
report its data from 0x0 to 0xFFFF (for both X and Y). This range
covers the entire virtual desktop (including any gaps created by non
aligned multiple monitors).

So, if you report a physical max on your device of 0xFF and in your
report you specify a value of 0x7F, that would map to 0x7FFF being
reported to the RIT. The RIT will then take that absolute value and
scale it to the desktop. Let’s assume you are reporting just the X
value here.

So for instance, 0x7FFF on a…
…single monitor w/a X resolution of 0 to 1024 would map to 512
…mulitple monitor system w/a virtual desktop of 0 to 2048 with 2
monitors lined up side by side, each at 1024 would map to 1024. This
would map to the left most coordinate on the 2ndary monitor (the primary
is always at 0).

Hope that helps

D

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Friday, May 10, 2002 10:52 PM
To: NT Developers Interest List
Subject: [ntdev] RE: HIDClass related doubt

What I am trying to do is I have configured the first monitor as primary
and the second one as secondary monitor using windows settings.Device
Vendor is our client.We are just developing mouse emulatin software for
the Touch Screen Device. Actually what we have seen with windows is when
you configure the second monitor as an extension,the mouse cursor goes
to the second monitor.But the problem which I am facing is when I get
the co-ordinates from the second monitor,I just complete the HID Read
report with the co-ordinates,so the mouse movement happens only in the
primary monitor. How do i build the descriptor so that the HIDClass
interprets the touches on secondary as extensions of primary ?

Best Regs,
Sai


From: Doron Holan[SMTP:xxxxx@windows.microsoft.com]
Reply To: NT Developers Interest List
Sent: Friday, May 10, 2002 9:04 PM
To: NT Developers Interest List
Subject: [ntdev] RE: HIDClass related doubt

You can’t. For absolute pointing devices, the mouse port driver just
reports absolute positioning relative to the *entire* desktop. This
means that you cannot have an absolute pointing device that is
specific to one monitor. This is a design limitation in windows that
the input team is aware of and are considering fixing in a later
release.

BTW, if your device is already USB, why can’t you just report your
device as a HID and use the in the build HID miniport?

D

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Friday, May 10, 2002 3:57 AM
To: NT Developers Interest List
Subject: [ntdev] HIDClass related doubt

Hi,
I have a Touch Screen Device connected to the host and we have to
simulate mouse clicks on touches.We have a USB Filter driver which
takes the co-ordinates and we have a HidMini(For Mouse) driver which
takes the co-ordinates from USB filter driver and completes the Read
Reports sent by
HID Class.Now we have a requirement wherein we have to support multi
monitor
configuration with 2 touch screens.i.e.the first screen is divided
into
the
first half and the 2nd screen to the other half.My Touch Screen can
send
data of maximum 4096 Electrical Resolutions which I am submitting when
I
receive Report Descriptor from Hidclass but how do I tell to the
HidClass
about the primary monitor and second monitor.Any suggestions for
implementation are most welcome

Best Regards,
sai
**********************************************************************
**
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying
or
distribution or forwarding of any or all of the contents in this
message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.

************************************************************************

**


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com

To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@bla.satyam.com To

unsubscribe send a blank email to %%email.unsub%%

************************************************************************
**
This email (including any attachments) is intended for the sole use of
the intended recipient/s and may contain material that is CONFIDENTIAL
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or distribution or forwarding of any or all of the contents in
this message is STRICTLY PROHIBITED. If you are not the intended
recipient, please contact the sender by email and delete all copies;
your cooperation in this regard is appreciated.
************************************************************************
**


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%