-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor rotation not working - height of menu bar in KDE #3
Comments
Can you post the output of: For the mouse to not rotate it means the input rotation matrix doesn't find it. as for the size, um, its big enough landscape but not portrait? Maybe look @ https://wiki.archlinux.org/index.php/HiDPI |
Thank you for your quick reply! The output is as follows: ⎡ Virtual core pointer id=2 [master pointer (3)] Thank you again for your great work and your efforts! |
do you know which pointer you are using of that list that is not following the rotation? you could try 'xev' to see i guess. you could manually try setting the transformation matrix. don't worry, nothing in this script persists, it won't cause trouble :) It seems my script would be transforming:
pointer id from your list |
My guess is the 'arc mouse keyboard' is actually a pointer(?) or the 'ipts'. ↳ Video Bus id=6 [slave keyboard (3)] |
Got it. Surface Arc Mouse is working fine but not the pen (↳ ipts 045E:0021 Pen id=12 [slave keyboard (3)]). So after rotation the mouse pointer when moved by the Arc mouse is behaving as expected but not the touch screen input. I guess that it is only a minor change to the script? |
try this:
|
Looking @ jakeday/linux-surface#150 (comment) it seems they do ipts/surface keyboard touchpad |
I changed the line as you suggested but it did not have an effect. I need to look deeper into my system to exclude that I made a stupid mistake on my side and will come back to you when I found something. All you wrote makes absolutely sense to me so I think I screwed up something else. Again: Thank you very much for your script and your fast reaction! |
After some testing I ended up with following script working for me (SB2):
Unfortunately I could not make use of your advanced scripting but maybe this is a good starting point to extend your script to cover my case. I have the impression that the The I must mention here that pen input does not work if I rotate from normal to any other position (everything else works fine). If i turn from normal to bottom-up and back pen input works from this moment on in any position. This of course sounds like that some stupid error is hidden somewhere in my script but I was not able so far to figure out what I am doing wrong. |
Hello,
first of all: Thank you very much for providing the script! I have a MS Surface Book 2 (13") with jakeday's kernel (https://github.com/jakeday/linux-surface). Everything works well but I did not dare to touch screen auto rotation since I once screwed things so up that I had to reinstall.
Auto rotation with your script works great after changing eDP-1 to eDP1. However, mouse cursor does not follow rotation. Can you give me any direction where to look to fix that? Also: Do you have an idea how to scale the menu bar (i. e. adjust height) in KDE? It gets very small when I flip the screen to upright postion.
Thanks in advance!
The text was updated successfully, but these errors were encountered: