Answer the question
In order to leave comments, you need to log in
How to non-linearly change the coordinates transmitted to the OS from a specific device?
Hello, we are working on a project, the essence of which, in the context of this question, is not important, but it is important that this project involves working with a touch panel. And it is precisely on the issue of interaction with her that we have reached a dead end.
The problem statement is approximately the following: interception of a specific mouse (in our case, a touch panel, which is defined as a mouse) in the OS for a non-linear change in the coordinates transmitted to the OS, i.e. implementation of the function of calibration of the distorted image. However, it is important that other devices, in particular the mouse, should work as normal.
We tried to dig in the direction of interrupt 33 - everything that we found is somewhat outdated and is more suitable for changing the transmitted coordinates, but not for identifying the device we need (touch panel), and only under DOS. At least as far as we could understand it, this may be an erroneous opinion, correct me if this is so.
It is desirable to do without very low-level programming, but if it cannot be avoided (which we assume), then paths through this jungle will do.
I would very much like to get at least some bread crumbs - in which direction to dig, since at the moment there are absolutely no thoughts left.
We will be very grateful :)
UPD1: The project is designed for the Window families (starting from 7) and Unix systems, in the future - Android. But for now, development under Windows is underway, and it is there that they have wandered into a dead end. But we will also be grateful for help with the motion vector on them (Unix and Android), since, I suspect, some problems will be similar there.
UPD2: There is a need to change the coordinates when working with our program, but if they are within the entire system, this is not critical.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question