View Single Post
Old 16 March 2014, 22:04   #13
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,480
Quote:
Originally Posted by emufan View Post
the wait is over - Harry 0. found the tablet.library, he uploaded it into the zone
thanks Harry
Indeed.

I've begun to take a look at the tablet.library code.

What I'll call the ReadTabletData function (lib offset -$2A) does this:

If running on V39 or later (tablet.library actually checks the utility.library version, not Intuition version):
- Check eim_TabletData field in IntuiMessage. If non-zero, copy the TabletData structure to (A1) and return 1.
- Else return 0 (i.e. when eim_TabletData = 0)

If running pre-V39 it does more work, and the library also installs some kind of patch at initialisation time. I haven't looked into that yet. So it will probably be much easier to limit any WinUAE tablet.library-compatible code to require at least Intuition V39 for the time being.

There's also a currently-unknown function at offset -$30.

Edit: A little update: What I'll call the OpenTablet() function (offset -$1E) clears all tag data fields in the passed taglist.

Last edited by mark_k; 17 March 2014 at 17:22.
mark_k is offline  
 
Page generated in 0.05321 seconds with 9 queries