moby: synchronize touchscreen rotation with display rotation

This commit is contained in:
2024-10-18 05:18:20 +00:00
parent 2dec4a648e
commit 34ad1831ff

View File

@@ -203,6 +203,7 @@ for_window [title="sm64ex-coop: beta 31.0"] {
### displays & inputs
# find inputs with `swaymsg -t get_inputs`
# totally disable input events generated by buffyboard
input "26214:25209:rd" events disabled
@@ -251,6 +252,8 @@ output $out_lappy {
## MOBILE
# pinephone internal display (a.k.a. "Unknown Unknown Unknown")
input "1046:4097:Goodix_Capacitive_TouchScreen" map_to_output $out_moby
# pinephone pro internal display
input "1046:1158:Goodix_Capacitive_TouchScreen" map_to_output $out_moby
output $out_moby {
# scale defaults to 2 in portrait mode, 1 in landscape
scale 2