- Command for list outputs:
xrandr
- Command to list available input devices:
xinput
- Map movements of x input device to specific output device:
xinput map-to-output <Input Device ID> <Output Device Name>
for example: xinput map-to-output 15 DP-1
In Manjaro distro you can install xinput
command by installig xorg-xinput
package. (sudo pamac install xorg-xinput
)