Invert Mouse

Hello,

I am using the newest BB Image on a BeagleboneBlack Rev C,
I need to invert the mouse x y axis. How do I do it? xinput doesnt work.