title: How do i hook keyboard events in c++?
body: <p>I want to make a program that opens youtube when i hit enter before and after typing 'youtube'.</p>
  
  <p>I want it to run in the background without affecting the actual usage of my computer so i think i need to make the program hook keyboard events.</p>
  
  <p>Does anyone know how to do this or at least which c++ headers to use?</p>