Touchscreen

Just starting out? Need help? Post your questions and find answers here.
Rookie
Enthusiast
Enthusiast
Posts: 106
Joined: Tue May 20, 2003 4:16 pm
Location: Florida
Contact:

Touchscreen

Post by Rookie »

I don't if this has been asked before, but my searching isn't coming up with anything.
Can you program something to use the touchscreen for input using PB?
Insanity is over rated, unless you can join me in mine.
Don't post questions at work
Don't post questions at work
Don't post questions at work
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Touchscreen

Post by dige »

Do you mean mouse gestures? All the other events are like mouse events ...
"Daddy, I'll run faster, then it is not so far..."
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Touchscreen

Post by blueznl »

I've done some touchscreen work, there are two ways: either by using a dedicated API, such as being used for touch tablets, or relying on windows where the touch screen is a sort of mouse, and handled by windows as 'mouse clicks'.

I've not fooled around with multi touch setups though, if that is what you're looking for...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Rookie
Enthusiast
Enthusiast
Posts: 106
Joined: Tue May 20, 2003 4:16 pm
Location: Florida
Contact:

Re: Touchscreen

Post by Rookie »

I was thinking of using it like a mouse input.
Like I touch the screen, and there is a gadget or something where I touch,, and something happens.
Insanity is over rated, unless you can join me in mine.
Don't post questions at work
Don't post questions at work
Don't post questions at work
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Touchscreen

Post by blueznl »

Well, in that case there's nothing you have to do, windows takes care of it. Just treat it like regular mouse clicks.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply