title: How to write a the keyboard key mapping program in C, windows platform?
body: <p>I asked a similar question but was criticized because I didnt explain my target clear enough.Sorry for that.</p>
  
  <p>What I am going to implement in the program is to "redirect the key input from the keyboard"</p>
  
  <p>For example, I want the key Q to replace key V, so once the program is started, when I use ctrl+Q is actually ctrl+V, and when I type Q in a test app, there will be a V appear. I dont need a GUI implementation but only a console. I think it should be easy but I do not know which system apis I should use to receive the key input and block it and make it another key input and send to the system.</p>
  
  <p>Many thanks</p>