You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LEdoian
3e0929ce3d
I ran splint on the code and it complained a lot... |
4 years ago | |
---|---|---|
Makefile | 4 years ago | |
README.md | 4 years ago | |
dirot.c | 4 years ago |
README.md
Display Rotation Tool
A very simple C program, that just rotates the X11 screen 90 degrees counter-clockwise.
The main use case is to hook it up on a button to rotate my T101MT in tablet mode without having to reach the keyboard.
Do I know, what I am doing?
No, but I can easily know if it works. Also, a tutorial (https://tronche.com/gui/x/xlib-tutorial/2nd-program-anatomy.html) and Xrandr(3) man page probably know :-)
Compilation
- get Xlib and libXrandr
- run
make
Usage
dirot
. That's it.