Fresh install of 1.6.7 won't use core libraries Keyboard and Mouse

Hello,

I just got a fresh, "non-admin" install of 1.6.7 and tried using the Keyboard example code "KeyboardMessage" (under USB > Keyboard) I get an error message asking if the code has the line #include "Keyboard.h" which it does. For some reason this code won't compile so I tried out an even simpler code,

 #include <Keyboard.h>

void setup() {
  Keyboard.begin();
  Keyboard.write('z');
  Keyboard.end();
}

void loop() {
    
}

and I get the same error. This problem only seems to occur with the Mouse and Keyboard libraries. Any other core library compiles normally.

Further up in the error message it displays the line "#warning 'Using legacy HID core (non pluggable)'"
Would this mean these libraries are no longer functional?

Thanks for the help

Which board have you selected?
It does not support keyboard or mouse.

Oops! I had it set to the default, forgot to switch it to the Micro (which does support keyboard and mouse). Thanks for the help! I feel so silly.