Qiuck #plan9#9front question: usually the tiltscreen option is set in the plan9.ini in the 9fat partition. On the raspberry pi editing plan9.ini seems to have no effect, actually it appears to be generated at startup. Where can I set the tiltscreen option then?
@mcz@bubstance yes all in one line and a carriage return at the end. I also added nobootprompt and user, which work well! Maybe tiltscreen is not supposed on the rpi 🤔 I’m on a 3B
essentially, tilting works by having gscreen being a shadow framebuffer (softscreen)
with the rotated/tilted dimension.
and flushmemscreen() copies changed rectangle from gscreen in tilted
coordinates into the real framebuffer.
one also needs to tilt also the mouse coordinates and the mouse cursor bitmap
in cursoron().
the tilting codes are as follows:
0 = none,
1 = left,
2 = inverted,
3 = right,
note that negating a tilt code yields the inverse operation so when you apply -tilt code
to tiltpt()/tiltrect() on transformed coordinates to get the original back.