"unsigned char usbFunctionSetup(unsigned char*)" error on Digispark

Here’s my code:

#include <DigiMouse.h>
#include "DigiKeyboard.h"
void setup() {
  DigiKeyboard.sendKeyStroke(0);
  DigiMouse.begin();
  DigiKeyboard.delay(500);
  DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
  DigiKeyboard.delay(400);
  DigiKeyboard.println("chrome http://www.staggeringbeauty.com/");
  DigiKeyboard.sendKeyStroke(KEY_ENTER);
  DigiKeyboard.delay(3000);
  DigiKeyboard.sendKeyStroke(KEY_F11);
  DigiMouse.moveX(-1500);
  DigiMouse.moveY(-1500);
}
void loop() {
  DigiMouse.moveX(1500);
  DigiMouse.delay(10);
  DigiMouse.moveX(-1500);
  DigiMouse.delay(10);
}

Error messages:

Arduino: 1.8.2 (Windows 10), Board: "Digispark (Default - 16.5mhz)"

In file included from C:\Users\Owner\Documents\Arduino\ASX\ASX.ino:2:0:

C:\Users\Owner\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/DigiKeyboard.h: In function 'unsigned char usbFunctionSetup(unsigned char*)':

C:\Users\Owner\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/DigiKeyboard.h:220:8: error: redefinition of 'unsigned char usbFunctionSetup(unsigned char*)'

  uchar usbFunctionSetup(uchar data[8]) {

        ^

In file included from C:\Users\Owner\Documents\Arduino\ASX\ASX.ino:1:0:

C:\Users\Owner\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkMouse/DigiMouse.h:287:8: error: 'unsigned char usbFunctionSetup(unsigned char*)' previously defined here

  uchar usbFunctionSetup(uchar data[8]) {

        ^

exit status 1
Error compiling for board Digispark (Default - 16.5mhz).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Both of those libraries are trying to set up their own USB connection. It looks like you can't use them both together. Pick one and get that working. Or look for a combined version that does both jobs.

Ok, Thanks.