Skip to content

Commit

Permalink
Update .gitignore and 2in1screen.c: fixed fogotten command (executes …
Browse files Browse the repository at this point in the history
…rotation for both touch screen and pen)
  • Loading branch information
ppenguin committed Dec 15, 2020
1 parent d208e75 commit 3fce69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2in1screen
1 change: 1 addition & 0 deletions 2in1screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void rotate_screen(){
sprintf(command, "xrandr -o %s", ROT[current_state]);
system(command);
sprintf(command, "xinput set-prop \"%s\" \"Coordinate Transformation Matrix\" %s", "pointer:ELAN2514:00 04F3:29F5", COOR[current_state]);
system(command);
sprintf(command, "xinput set-prop \"%s\" \"Coordinate Transformation Matrix\" %s", "pointer:ELAN2514:00 04F3:29F5 Pen (0)", COOR[current_state]);
system(command);
}
Expand Down

0 comments on commit 3fce69b

Please sign in to comment.