-
-
Notifications
You must be signed in to change notification settings - Fork 172
Rotation argument has no effect(vertical display, horizontal digitizer) #282
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
Comments
The rotation/orientation argument rotates both the graphics and the touch input, so you can't use it to fix a misaligned touchscreen. However there's another way to fix it: #164 (comment) And I wrote an app to fix it as well: https://github.com/ardera/flutter_libinput_calibrator |
Okay I'll look into the calibrator but the display still doesn't rotate even though I passed in the rotate argument with 90/270 |
Ah, okay; that's a bug then yeah |
So won't the touchscreen still have problems if I add the rotate option even after I've calibrated it because all the libinput events would have the rotation applied to them or does that function differently? Also does the rotation option force the app into landscape or do we still have to do the set chrome orientation preference thing. |
Okay no I understand now, I'll set the udev rotation matrix so when I start the app with the rotate option the libinput events will already be rotated before they reach flutter-pi. |
Exactly, yeah flutter-pi gets its input events from libinput and libinput will rotate them internally when it sees the udev property. |
Okay Thank you so much! I got the touch working but now I just need it to rotate. Do I need to set the rotation preference thing inside of the application itself or can flutter-pi force it to rotate. |
you can set it inside the application ( |
Are you sure it's bugged, is there anyway I can force it on flutter gallery? |
I'm in a peculiar position where I have a display which is vertical on it's main axis and the digitizer, i suspect, is landscape/horizontal
I've run the flutter gallery application with
-r 270
,-r 90
,-o landscape_left
,-o landscape_right
and this is what it looks like regardless of any-r
I pass. I'm sure it's a clash between the orientations of the display and touchscreen, however flutter-pi doesn't react to any different rotations I provide. Any idea how to fix 😭flutter-pi-bug.mp4
The text was updated successfully, but these errors were encountered: