I've been working on proof that besides in my DSR, I can do the messaging with TIPI from assembly... So here is a proof of concept around a mouse driver for TI Artist Plus:
(edit: Oops, this only works if TIPI is at CRUBASE >1100, cause I skipped implementing the search routine in assembly... guess I have that to look forward to )
Just the binary is in the zip.. the manuals for TI Artist Plus describe how you use this.
I found that it is a bit too fast, so I've added a MOUSE_SCALE entry to the PI.CONFIG file, which should be set as a percentage... to set it to 50% enter:
This will be available in an update that can be applied from inside TIPICFG. ( TI BASIC: CALL TIPI ) Once I publish the update, there will be a 'U' option.
that's the default... even if no entry is in the file. Different mice will have different resolutions... some will appear to be decaf, and others more like jolt-cola ( remember that? )
So this is 'service-side' scaling, before the TI gets an x and y delta as bytes.
The TI Artist Plus documentation lists all these interaction points, and warns that if you override EXTDSR ( the default joystick driver ) you may not get it back. Then in the disk image, there is a JOYST driver, and it is very different from EXTDSR. EXTDSR provides rubber-banding when using the drawing tools.
The example mechatronics mouse source doesn't appear to interact with the rubber-banding... Does anyone recall if that driver supported rubber-banding? or not? It is a disappointing experience without it.
When I get some more time, I'll probably have to debug the joystick driver EXTDSR or compare the disassemblies between EXTDSR and JOYST