touchscreen

Blitz3D Forums/Blitz3D Programming/touchscreen

In Blitz3d if I use the mouse functions do they work with a touchscreen?

I believe most touch screens simply tell the application that there was a mouse click whereever the user touches. It's all handled through their driver.

Yes we use touchscreens at work and the touchscreen driver just fools windows into thinking it is a mouse...no right clicking though of course =)

yeah it just uses a grid and where ever you touch it moves the mouse to. sae thing...alhtough for 3d games I dont think it would work very well.

I write simple games for the touchscreens in the school I work in, using Blitz3d, no problems at all. This includes LCD touchscreens, CRT touchscreens, and giant 72" back projected types. Blitz actually works better than some of the software we buy for touchscreens, which don't always respond so well. I use the standard mouse functions. Indeed, I put an option in the games to toggle the mouse pointer on and off, so they can be played with a mouse on a non-touchscreen system.

Same here, created an app for our indoor golf simulator that works fine on a touchscreen. As far as the conmputer is concerend its just an odd sort of mouse.

brilliant.

We've used touchscreen controls for our c\c++ code but ran into a problem with when it uses direct input although I can't remember what it was now.

Good to know it'll work fine. Thanks guys!

Shambler (Posted 2004-09-22 11:56:25)

Yes we use touchscreens at work and the touchscreen driver just fools windows into thinking it is a mouse...no right clicking though of course =)

Stupid question but couldn't a triple click then be used to emulate the R mouse??? Am I off on this???
-Z

If it just translates a touch into a mouse click, then it wouldn't work, since triple-clicking the mouse doesn't open a right-hand menu. But don't keyboards have a right-menu button on them? Next to Ctrl on the right side?

well there's an alt key there (called alt gr, for some reason, in europe), but alt-clicking doesn't do the same thing as right-clicking.

unless you mean on one of those newer windows keyboards that i don't have. in which case i'm not real sure what that menu button does.. i've never pushed it.

Yes, there is a button on the keyboard to open a right-click menu. I don't think it's the same as an actual right click though.

That might work if the user has a keyboard...usually the idea behind a touchscreen is to get rid of both the mouse and keyboard.

Hmmmm...when I touch my screen nothing happens. It just gets spotty and dirty. What am I doing wrong??

;)