ev1l, Not sure why you may be getting problems here, what Z, ROM and version of liBSDL are you using here.
I use Cacko 1.21b on an SL-C860 with the 1.26 zports version of libSDL and it works great. The various patches to libSDL for Qtopia knocking around do the rotation stuff slightly differently. I think the zports libSDL generally has better model detection and gets the rotation right without tinkering (also translates the cursor keys to work in rotated modes), however, the version that cmisip puts out seems to be slightly faster but I guess may have some of the rotation issues.
BTW: As far as I'm aware you can't use the stylus. But you might want to check out the libSDL and prboom source to see if it implements stylus as a mouse... it is feasible.
- Andy