Absolute touch coordinates of the touch panel

Can I read data directly from the Alps touchpad? I'm trying to turn my touchpad into a cheap tablet, so I need to read the raw unprocessed x and y coordinates, where it was affected relative to the physical touchpad. Therefore, if I touch the lower left corner of the touch panel, it should match (0,0), etc.

I am trying to do this with windows by the way.

I can already do this using the Synaptics touchpad, but only because Synaptics has a good SDK that gave me full control over the device. I could not find a similar thing for the Alps. Is there anyway to do this using windows api or directinput or something else?

+3
source share
1 answer

Sorry, but the Alps driver is really limited, it does not even give you the opportunity to disable it (it is so annoying sometimes!). Unless you use reverse engineering dlls that come with them (hard) or write a filter to capture the input directly (even harder). I would suggest just using the Synaptics device if you really want to go this route.

Also, to capture processed XY coordinates - this is an example in C #. Try it first, it's pretty simple and maybe it will be accurate enough.

, , , ( ) , , .

+3

Source: https://habr.com/ru/post/1715096/


All Articles