How can a USB keyboard emulator (TrinketKeyboard) type Unicode characters? I've got an Adafruit Trinket microcontroller set up using this USB keyboard tutorial, and it works great.

I'd like to set up my project to type a shruggie ( ¯\_(ツ)_/¯ ) when I press a hardware button. 

My naive solution was:

TrinketKeyboard.print("¯\_(ツ)_/¯");


But that only printed the underscores, parentheses and slashes, not the "hands" or the "face."

Is there a standard keyboard input method I could use so this device, when plugged into any Mac, will type out a string that includes Unicode (specifically Katakana) characters?

An ideal solution does not require configuring the machine before plugging this widget in, and doesn't require changing state on the machine -- although I'll take what I can get! :) (e.g., configuring Japanese keyboard support and toggling input source -- all of which is done blind since the computer can't give feedback to a lowly keyboard -- is un-ideal.)
You could hack it.


Make it press CMD+SPACE 
type terminal.app
press ENTER 
type  echo -e
"\xC2\xAF\\_(\xE3\x83\x84)_/\xC2\xAF" | pbcopy
press ENTER
press CMD+Q
press CMD+V


though the user would see a terminal window for a second.