Can GLbasic handle tablet input?

Previous topic - Next topic

Emil

Specifically the pressure of a wacom tablet...
I'm having a hard time trying to do it with c++ and SDL. So I'm taking a long shot in asking. I expect that it doesn't work in GLbasic in any easy way....

How would you guys go about doing it? any simple way out there?

Thanks
/Emil

MrTAToad

In  a program ?  I'm surprised if it isn't treated like a normal mouse...

Emil

A normal mouse doesn't have pressure.., that's the problem

mentalthink

I don´t test, and I want have this characteristic too, I have a wacom and for make some paint program it´s nice... But whit the mouseAxis command?¿, perhaps getting the central mouse of the wheel whit the pen return something... I don´t test, but I have to do...

erico

I´m interested too.

Dr. Petter once did a nice paint program and it supports pressure, but has an alternative for it using an analog joystick.
http://www.drpetter.se/project_cherrybrush.html

I saw no raw code but I guess emailing him could help?
Maybe wacom has some libs that could be imported inside GLB?

spicypixel

There was a DLL for usage with BlitzBasic many years ago for pressure in tablets, might be usable for GLB in Win32, by looking at how the bb source handles it??? Dunno bout the link to it though, sorry.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Hemlos

check if the output for the mouseaxis is anything but 1 and 0
Bing ChatGpt is pretty smart :O

MrTAToad

Quote from: Emil on 2012-Oct-30
A normal mouse doesn't have pressure.., that's the problem
Ah true - I wouldn't be surprised if pressure could be found by reading the Z axis value...