title: How can on emulate a keyboard or mouse click?
body: <p>I'm currently using a Windows 8 Laptop and I have no way to use middle mouse clicks other than my mouse (which just happened to get break). So I thought that there must be a way to make a program running in the background that whenever i press a key of my choosing I can make it work like any other key (in this case a middle click).</p>
  
  <p>Though I have no idea how could someone accomplish this and I ended asking you guys.
  If it's important I'll make the program in c++, so if you know how to do it there it'll be better, but I'm sure it wouldn't be that hard to change from another language.</p>
  
  <p>Thank You for your time!!</p>