title: virtual joystick driver (VJoyD) and Direct Input
body: <p>I have couple of questions:</p>
  
  <ol>
  <li><p>What is exactly VJoyD used for? Based on my reading win WDK (Windows Driver Kit) it provides joystick services in Windows (http://msdn.microsoft.com/en-us/library/ff542258(v=vs.85).aspx). If that is the case, can I use it to send commands from my hardware to Vjoyd so my hardware can look like a joystick?</p></li>
  <li><p>Direct Input is used mostly to read input devices but I want to do the opposite, I would like to write data to direct input so that it becomes availabe in video games, ie. have custom hardware translate information to Direct Input so it is like a joystick.
  There's in WDK (dinputd.h), is that what you would use? Any examples would be much helpful, even if it is one-liner to sent input axis value to DInput.</p></li>
  </ol>
  
  <p>Btw, I am aware of PPJoy but not going to use it because this is for commercial use.</p>