thank you for that and i have started my project but one more help needed to increase the resolution above mouse.move(100,100); because am using an wide screen laptop it may require mouse.move(120.120);
Not sure I can help as I don't have Leonardo to try it on but a quick look at the code shows
#ifdef ABSOLUTE_MOUSE_MODE
0x15, 0x01, // LOGICAL_MINIMUM (1) <<<< This allows us to talk to any display resolution
0x25, 0x64, // LOGICAL_MAXIMUM (100) <<<< as though it was 100x100 pixels
that implies the 100x100 will work with any screen resolution.