Graphics tablet USB driver

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team

Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Graphics tablet USB driver

Post by Perdrix24 »

I'm working on USB driver to support current graphics tablets, such as the Wacom Intuos S, pictured in this video:

https://youtu.be/_3b9iDc3XUo

The tip of the stylus acts as the left mouse button when it's down on the tablet. The button on the stylus acts as the right mouse button. The pointer moves when the stylus hovers above the tablet. In addition there are four function keys that can be programmed, for example, to UNDO. It is also possible to get the tip pressure. Suggestions on how the function keys and the tip pressure can be used in Atari ST graphics programs are welcome.
User avatar
Atarieterno
Atari God
Atari God
Posts: 1275
Joined: Mon Jan 18, 2016 3:40 pm
Location: Spain

Re: Graphics tablet USB driver

Post by Atarieterno »

Amazing initiative!
Thank you for your contribution to the scene.
ST/fm/e, STacy, Mega ST/e, TT, Falcon, C-Lab MKX... and more music tools.
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 902
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Graphics tablet USB driver

Post by jfl »

Oh, wow! I actually prefer a tablet over any other pointing device on my computers so this is impressive news. How did you implement this, and what system will the driver be compatible with? TOS? MiNT?
MM41
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Sun Jun 28, 2015 2:36 pm
Location: France

Re: Graphics tablet USB driver

Post by MM41 »

Great project, too cool :cheers:
User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 1949
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Graphics tablet USB driver

Post by Cyprian »

awesome
Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.appspot.com/
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Re: Graphics tablet USB driver

Post by Perdrix24 »

jfl wrote:Oh, wow! I actually prefer a tablet over any other pointing device on my computers so this is impressive news. How did you implement this, and what system will the driver be compatible with? TOS? MiNT?
It's a new USB device driver in the same family as the existing mouse, keyboard, storage and printer drivers at
http://atari-forum.com/viewtopic.php?f=15&t=34355
It will be compatible with TOS, MiNT, EmuTOS, MagiC. It will be working with a NetUSBee, Lightning VME and possibly Unicorn.
It should work on ST, TT, Falcon.
Galvez
Captain Atari
Captain Atari
Posts: 298
Joined: Fri Oct 19, 2007 7:49 am

Re: Graphics tablet USB driver

Post by Galvez »

Perdrix24 wrote:
jfl wrote:Oh, wow! I actually prefer a tablet over any other pointing device on my computers so this is impressive news. How did you implement this, and what system will the driver be compatible with? TOS? MiNT?
It's a new USB device driver in the same family as the existing mouse, keyboard, storage and printer drivers at
http://atari-forum.com/viewtopic.php?f=15&t=34355
It will be compatible with TOS, MiNT, EmuTOS, MagiC. It will be working with a NetUSBee, Lightning VME and possibly Unicorn.
...and EtherNAT :-)
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 902
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Graphics tablet USB driver

Post by jfl »

Perdrix24 wrote:It's a new USB device driver in the same family as the existing mouse, keyboard, storage and printer drivers at http://atari-forum.com/viewtopic.php?f=15&t=34355
It will be compatible with TOS, MiNT, EmuTOS, MagiC. It will be working with a NetUSBee, Lightning VME and possibly Unicorn.
It should work on ST, TT, Falcon.
I've been too busy lately to follow the news about Atari developments. Any chance these drivers will work on the FireBee or does that machine need specific ones?
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12930
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Graphics tablet USB driver

Post by wongck »

Wow
great stuff
:thumbs:
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Galvez
Captain Atari
Captain Atari
Posts: 298
Joined: Fri Oct 19, 2007 7:49 am

Re: Graphics tablet USB driver

Post by Galvez »

jfl wrote:
Perdrix24 wrote:It's a new USB device driver in the same family as the existing mouse, keyboard, storage and printer drivers at http://atari-forum.com/viewtopic.php?f=15&t=34355
It will be compatible with TOS, MiNT, EmuTOS, MagiC. It will be working with a NetUSBee, Lightning VME and possibly Unicorn.
It should work on ST, TT, Falcon.
I've been too busy lately to follow the news about Atari developments. Any chance these drivers will work on the FireBee or does that machine need specific ones?
Unfortunately no easily, the problem with FireTOS (and the TOS for the CTPCI) is that we need to uninstall their builtin USB drivers before we install these other drivers but there isn't a clean way to do it. Also to make a specific driver version for the FireBee won't work because there isn't either a clean way to expand the FireTOS USB facilities with new drivers.

I think the more realistic way to solve this problem would be to patch FireTOS to don't load their builtin USB drivers, I looked into that but that part of the code is compressed in the binary and I didn't figure out yet where exactly in the image is the compressed part. The drawback of this approach it would be that you won't have access to the USB device until they're loaded from the AUTO folder, this means that if something goes wrong loading the drivers you still rely on the ATARI (IKBD) keyboard and mouse.
sashapont
Captain Atari
Captain Atari
Posts: 153
Joined: Sat Jun 03, 2017 9:40 pm

Re: Graphics tablet USB driver

Post by sashapont »

Thank you! It is cool!
Atari Falcon, Firebee
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 902
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Graphics tablet USB driver

Post by jfl »

Galvez wrote:Unfortunately no easily, the problem with FireTOS (and the TOS for the CTPCI) is that we need to uninstall their builtin USB drivers before we install these other drivers but there isn't a clean way to do it. Also to make a specific driver version for the FireBee won't work because there isn't either a clean way to expand the FireTOS USB facilities with new drivers.
Re: the bolded, this really sucks. Thanks for the detailed explanation; I was expecting something like this.
mikro
Hardware Guru
Hardware Guru
Posts: 2219
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: Graphics tablet USB driver

Post by mikro »

jfl wrote:
Galvez wrote:Unfortunately no easily, the problem with FireTOS (and the TOS for the CTPCI) is that we need to uninstall their builtin USB drivers before we install these other drivers but there isn't a clean way to do it. Also to make a specific driver version for the FireBee won't work because there isn't either a clean way to expand the FireTOS USB facilities with new drivers.
Re: the bolded, this really sucks. Thanks for the detailed explanation; I was expecting something like this.
There is still a way - FireTOS sources (i.e. CTPCI TOS, too) aren't totally lost. But they are kept private, as per agreement with Didier (from a century ago). No, it isn't me but it's one person from the FireBee team. Convince him to break this agreement and we can do amazing things.
User avatar
shoggoth
Nature
Nature
Posts: 1014
Joined: Tue Aug 01, 2006 9:21 am
Location: Halmstad, Sweden
Contact:

Re: Graphics tablet USB driver

Post by shoggoth »

mikro wrote:
jfl wrote:
Galvez wrote:Unfortunately no easily, the problem with FireTOS (and the TOS for the CTPCI) is that we need to uninstall their builtin USB drivers before we install these other drivers but there isn't a clean way to do it. Also to make a specific driver version for the FireBee won't work because there isn't either a clean way to expand the FireTOS USB facilities with new drivers.
Re: the bolded, this really sucks. Thanks for the detailed explanation; I was expecting something like this.
There is still a way - FireTOS sources (i.e. CTPCI TOS, too) aren't totally lost. But they are kept private, as per agreement with Didier (from a century ago). No, it isn't me but it's one person from the FireBee team. Convince him to break this agreement and we can do amazing things.
It’s full of GPL-stuff anyway.
Ain't no space like PeP-space.
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12930
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Graphics tablet USB driver

Post by wongck »

mikro wrote: There is still a way - FireTOS sources (i.e. CTPCI TOS, too) aren't totally lost. But they are kept private, as per agreement with Didier (from a century ago). No, it isn't me but it's one person from the FireBee team. Convince him to break this agreement and we can do amazing things.
LOL... A century ago ? Has he copyrighted it? Which country ?
https://en.wikipedia.org/wiki/List_of_c ... ht_lengths
a century is not enough
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Re: Graphics tablet USB driver

Post by Perdrix24 »

I finished a first version of the driver. It was tricky to convert the absolute positions of the tablet to the relative needed by the mouse.

New video: https://youtu.be/R2th1pdOAs0

It's already on FreeMiNT's repository, and I'll include it in the next package of the USB drivers in October I hope.

I tested on Falcon030 TOS & EmuTOS, Falcon 060 MagiC, 520STFM TOS. Basically, if a program works with the USB mouse, it will work with the stylus and tablet.

WORKS:
CyberPaint (calibrate before calling draw screen)
TouchUp
Degas Elite
Pixart
Rembrandt
Vision 4.5c

DOES NOT WORK:
Deluxe Paint
NeoChrome 2.28 (but older version worked on draw screen but not on menu)
Spectrum 512
Grafx-2-2
Rainbow 2
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Re: Graphics tablet USB driver

Post by Perdrix24 »

Video of variable brush size in Vision depending on pressure applied to the tablet: https://youtu.be/bsiuaaLJg-M
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12930
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Graphics tablet USB driver

Post by wongck »

Perdrix24 wrote:Video of variable brush size in Vision depending on pressure applied to the tablet: https://youtu.be/bsiuaaLJg-M
Wow... looks good !
It took Apple years to do 3D touch on their iPhone, and you alreday have it on your driver.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
User avatar
Zogging Hell
Atari Super Hero
Atari Super Hero
Posts: 892
Joined: Sat Apr 29, 2006 12:08 pm
Location: Bristol, UK
Contact:

Re: Graphics tablet USB driver

Post by Zogging Hell »

This looks great, does it work with Quill, which was compatible with the original Wacom, and has pressure sensitivity built in iirc?
Firebee, Falcon CT60, Milan 040, Falcon MkI, TT, Mega STe, Mega ST + Lots of STs of various flavours
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Re: Graphics tablet USB driver

Post by Perdrix24 »

Zogging Hell wrote:This looks great, does it work with Quill, which was compatible with the original Wacom, and has pressure sensitivity built in iirc?
Do you have such a tablet and is it USB? If so PM me and I can send you a test program. From my experience so far, Wacom tablets are very different in the reports they send to the computer. There seems to be no standard like there are for mice and keyboards.


Claude
User avatar
Zogging Hell
Atari Super Hero
Atari Super Hero
Posts: 892
Joined: Sat Apr 29, 2006 12:08 pm
Location: Bristol, UK
Contact:

Re: Graphics tablet USB driver

Post by Zogging Hell »

Perdrix24 wrote:
Zogging Hell wrote:This looks great, does it work with Quill, which was compatible with the original Wacom, and has pressure sensitivity built in iirc?
Do you have such a tablet and is it USB? If so PM me and I can send you a test program. From my experience so far, Wacom tablets are very different in the reports they send to the computer. There seems to be no standard like there are for mice and keyboards.
Sadly not any more, it broke some years back. The original wasn't USB though so it probably wouldn't work with your program. Quill itself was a program, I can't find it for download anywhere obvious (I'm sure there is a server with it on) though there was a demo version on a ST Format disk.
Firebee, Falcon CT60, Milan 040, Falcon MkI, TT, Mega STe, Mega ST + Lots of STs of various flavours
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2711
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Graphics tablet USB driver

Post by charles »

why has nobody brought up the ever so old "light pen"
which some older systems used to utilize...
those would simplify drawing too
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12930
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Graphics tablet USB driver

Post by wongck »

may be there is no light trace on the LCD ¯\_(ツ)_/¯
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2711
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Graphics tablet USB driver

Post by charles »

no why reinvent the wheel ..
there already was a stylus for drawing no need for usb tablet???
im unaware of any advantage a usb tablet would present because I don't do art or images on Atari ...sorry
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 127
Joined: Mon Feb 26, 2018 1:47 pm

Re: Graphics tablet USB driver

Post by Perdrix24 »

Anyone tried the tablet driver with MiNT? Does it work?

Anyone tried the Wacom Intuos M tablet?

Also, thanks to Kroll, the PF1209 tablet is supported! At least with TOS for now.
Post Reply

Return to “Hardware”