Keyboard and mouse library error

Hi guys, I have an arduino giga ad I am trying to make it work with the keyboard and mouse library. But the IDE gives me the following error:

#include "Keyboard.h"
#include "Mouse.h"

void setup() {
  Serial.begin(9600);
  Keyboard.begin();
  Mouse.begin();
  Keyboard.press(KEY_LEFT_CTRL);
  Keyboard.press('n');
  
}

void loop() {

}

In file included from C:\Users\quibe\AppData\Local\Temp\.arduinoIDE-unsaved2024415-4456-139e9u6.tz7di\sketch_may15a\sketch_may15a.ino:2:0:
e:\ELEGOO William\Arduino Code\libraries\Keyboard\src/Keyboard.h:25:10: fatal error: HID.h: No such file or directory
 #include "HID.h"
          ^~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

The Keyboard library is not compatible with the Giga

See Keyboard - Arduino Reference

Hi @williamnumismatics. You can use the "USBHID" library to do keyboard and mouse emulation using the GIGA R1 WiFi board. You can find examples demonstrating the usage of the library under the File > Examples > USBHID menu in Arduino IDE.