PORTS Forum
Ports and Interfaces => USB => Topic started by: Const50 on September 26, 2012, 10:03:38 am
-
We develop now the mouse like device and it needs PC display screen parameters , screen X and Y size. We use HID descriptor for device, but we can’t understand, is it possible and how to transfer Windows function GetSystemMetrics (SM_CX(Y)Screen) to device over USB. Could you prompt it?
-
You could define a vendor-specific Feature report to transfer vendor-specific data. You would need an application or driver to send the data to the mouse.
-
By another words: I must make specific driver, isn't it?
-
Or an application. I have example code for Feature reports here:
http://www.lvr.com/hidpage.htm#MyExampleCode