flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > how to program/use a touchscreen via fasm |
Author |
|
typedef 16 Jan 2015, 00:45
Quote: /how to program/use a touchscreen via fasm FASM is just an assembler that assembles assembly code which calls a system's API. You need to consult the API. |
|||
16 Jan 2015, 00:45 |
|
sleepsleep 16 Jan 2015, 11:30
afaik, the touch tap is actually a click,
for multi-touch, one would need to refer windows 8 api, https://www.google.com/search?q=windows+8+touch+api |
|||
16 Jan 2015, 11:30 |
|
donn 07 Jan 2016, 16:02
Not sure if this is any help, but a while ago, I was able to get multiple simultaneous taps on a touch tablet in Windows. I think it was fullscreen, so the coordinates were probably not Window-relative. It was also a quick test, so not aware of many limitations:
Code: int pointerID; POINTER_INFO pointerInfo; int x; int y; Code: case WM_POINTERDOWN: pointerID = GET_POINTERID_WPARAM(wparam); GetPointerInfo(pointerID, &pointerInfo); x = pointerInfo.ptPixelLocationRaw.x; y = pointerInfo.ptPixelLocationRaw.y; break; This is C by the way, but may provide a starting place. |
|||
07 Jan 2016, 16:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.