Now with added rickrolling. A program to mess with people. Intended for small boards with built in USB sockets that connect direct to the CPU and can easily be hidden behind a computer (e.g. the mBuino).

Dependencies:   USBDevice mbed

Pretends to be a USB mouse and keyboard and has some predefined functions for various things (do a google image search on a set keyword every 5 minutes, move the mouse in a circle, keep turning the capslock key on etc...)

The default is to rickroll the user. It turns caps lock on, when the user turns it off again the program will turns the volume up to max and load a youtube video of Rick Astley. For the next 45 seconds the mouse will do some circles to make it harder to stop the video. It will then wait 10 minutes and loop back to the start.

As google used to say: Don't be evil. But there is nothing wrong with being a little bit naughty.

Revision:
1:f2747e954f10
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/searchText.h	Thu Dec 17 21:21:06 2015 +0000
@@ -0,0 +1,21 @@
+
+// number of search terms
+const int searchStringCount = 6;
+// search terms. Should be url encoded (e.g. space becomes %20)
+const char *searches[] = {"hot%20cheese",
+                          "big%20show",
+                          "hot%20cheese",
+                          "magic%20mike%20xxl",
+                          "hot%20wet%20cheese",
+                          "hot%20wet%20-cheese"
+                          };
+// pause between searches in seconds
+const float delayBetweenSearches = 120;
+ 
+// start of the search string
+const char searchPrefix[] = "https://www.google.co.uk/search?q=";
+ 
+// end of the seach string (an image search with safe search switched off)
+const char searchSuffix[] = "&safe=off&tbm=isch";
+ 
+ 
\ No newline at end of file