According to the library mouse.h only works with 32u4 controllers, Due and Zero boards. So Nano does not work. I am new to Arduino and could not make screensave-mouse-jiggler work on a Nano ATmega328P.