moby: synchronize touchscreen rotation with display rotation
This commit is contained in:
@@ -203,6 +203,7 @@ for_window [title="sm64ex-coop: beta 31.0"] {
|
|||||||
|
|
||||||
|
|
||||||
### displays & inputs
|
### displays & inputs
|
||||||
|
# find inputs with `swaymsg -t get_inputs`
|
||||||
# totally disable input events generated by buffyboard
|
# totally disable input events generated by buffyboard
|
||||||
input "26214:25209:rd" events disabled
|
input "26214:25209:rd" events disabled
|
||||||
|
|
||||||
@@ -251,6 +252,8 @@ output $out_lappy {
|
|||||||
## MOBILE
|
## MOBILE
|
||||||
# pinephone internal display (a.k.a. "Unknown Unknown Unknown")
|
# pinephone internal display (a.k.a. "Unknown Unknown Unknown")
|
||||||
input "1046:4097:Goodix_Capacitive_TouchScreen" map_to_output $out_moby
|
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 {
|
output $out_moby {
|
||||||
# scale defaults to 2 in portrait mode, 1 in landscape
|
# scale defaults to 2 in portrait mode, 1 in landscape
|
||||||
scale 2
|
scale 2
|
||||||
|
Reference in New Issue
Block a user