Thanks for this project. Been really useful. I'm also new to GitHub so apologise if I'm posting this in the wrong place.
The only issue I had with the programme was that
- I'd rotate the screen to portrait
- put the laptop flat on the desk or at a not so steep angle
- Because rotation_changed sets the state to 0/normal at the start of each call, the screen gets set back to normal mode. Annoying if using a pen.
To fix this, I'd suggest changing int state to static int state at the start of rotation_changed()
Thanks!
Thanks for this project. Been really useful. I'm also new to GitHub so apologise if I'm posting this in the wrong place.
The only issue I had with the programme was that
To fix this, I'd suggest changing
int statetostatic int stateat the start ofrotation_changed()Thanks!