Screen auto rotation doesn't work on endeavouros (xfce)

I installed endeavouros with xfce on my Acer chromebook spin 512 and auto rotation doesn’t work. When I change rotation manually in xfce settings mouse cursor is moving only int he middle of my screen when using touchscreen

Problem with xfce

Can I fix it?