Relative coordinates are referring to a point they are relative to. So, when you keep track of the reference point you can calculate the absolute distance.
Problem might be that a relative point can be expressed with fewer bytes than absolute coordinates. This would require a change in the USBFS definitions.
Hi Bob, thanks for your reply.
My plan is to generate the positions in my own functions and send the absolute position over usb as suggested here:
Can you tell me where I can change the descriptor? Can I modify it in the dialogue box or is it a "dirty hack" trick?
I do not like/use "dirty hacks" at all. Your USBFS is an interface, so both sides have to agree about the data exchanged.
I'm not quite fit with USBFS, but afaik the settings have to be made in the HID descriptor and are concerned with tte report size.
I am trying to implement the following driver:
Version - Single Touch
Does anybody know how to change the Hex 0x66 to 0x65 for UNIT - NONE using the USBFS Descriptors. Cypress UNIT Value is 0x66, instead of 0x65 as described in this tutorial. Is the tutorial wrong?
When plugging the device into the USB port of my computer, a USB HID Device is identified but I get an exclamation mark in the device manager. Is my initialization code wrong (meaning I am using the APIs incorrectly) or is it the driver?
Does anybody have an idea?
Fail Code of the Driver is Code 10: "This device cannot start. (Code 10)"