All of this is possible today. I've attached a little program that selects for XRandR changes and then sets the orientation of the stylus accordingly.
Compile it via
gcc -Wall -lX11 -lXrandr wacomrotate.c -o wacomrotate
and then run it as
./wacomrotate &
Caveat: If you are using more than one screen, the program might not do the right thing, I can't test this right now. If you're having any trouble with it, please let me know.
All of this is possible today. I've attached a little program that selects for XRandR changes and then sets the orientation of the stylus accordingly.
Compile it via
gcc -Wall -lX11 -lXrandr wacomrotate.c -o wacomrotate
and then run it as
./wacomrotate &
Caveat: If you are using more than one screen, the program might not do the right thing, I can't test this right now. If you're having any trouble with it, please let me know.