arduino/Arduino — pull request #1488 by nospam2000 (2013-06-29 21:10:39+00:00)
Title: fix for issue #1295

This adds a new feature to fix issue #1295 "leonardo as keyboard does not wake windows 7 from sleep"

It makes it possible to wake up the PC when it is in standby mode. Use the following code in the Sketch:
USBDevice.wakeupHost();

Tested with Mac OSX and Windows 7