In wacserial.c, lines 863/864 the maximum values for WACOMFIELD_POSITION_X/Y are defined as 21136 and 15900. However, I found these to be wrong on my IBM ThinkPad X41t, and the values I found are
[WACOMFIELD_POSITION_X].nMax = 24576 (==0x6000) and
[WACOMFIELD_POSITION_Y].nMax = 18432 (==0x4800)
Can these be changed? Maybe it doesn't make a difference for existing applications, but I wrote a tool which converts serial wacom events to events for the linux input subsystem using the uinput (userspace input) kernel module. There, I have to report min/max values, and it does matter if they are wrong.
These round values (0x6000 and 0x4800) also seem to make way more sense than the previous ones as they also reflect the correct aspect ratio of 0.75.
Log in to post a comment.