Help getting USB foot pedal started

Hello,

Im having issues adding the Library from this Tutorial; Code | Trinket Classic USB Foot Switch | Adafruit Learning System

I just keep getting this error when I try to add the Library as a zip file
"Specified folder/zip file does not contain a valid library"

I tried renaming it also to no avail

Also tried placing the unzipped files with this file name "Adafruit_Trinket_USB" and IDE still doesn't see it. I am using Arduino 1.8.7 on Windows 10.

EDIT:

Got it all figured out. Just need to learn how to set which Key now

Can someone help me on how I can make the key hold? It just keeps repeating when held down which cuts Push to talk

#include <TrinketKeyboard.h>  // Trinket keyboard library

const int PIN_SWITCH = 0;    // Trinket pin to connect to switch 

void setup()
{
  // Set button pin as input with an internal pullup resistor
  // The button is active-low, they read LOW when they are not pressed
  pinMode(PIN_SWITCH, INPUT_PULLUP);

  TrinketKeyboard.begin();  // initialize keyboard library
}

void loop()
{
  TrinketKeyboard.poll();
  // the poll function must be called at least once every 10 ms
  // or the computer may think that the device
  // has stopped working, and give driver errors

  if (digitalRead(PIN_SWITCH) == LOW)  // If the foot switch grounds the pin
  {
    // Select what key to press when the switch is tripped
    //   Possible keys are defined in TrinketKeyboard.h
    // Selected keys are Print Screen with the shift key modifier
    TrinketKeyboard.pressKey(0, KEYCODE_F8);
    TrinketKeyboard.pressKey(0, 0);  // release key
    // If you want to send a string, replace the 2 calls above with the line below
    // TrinketKeyboard.print("Hello World!"); // use for string instead of char
  }
}