title: pyHook giving wrong ASCII values
body: <p>I was working on a keylogger to learn a bit about pyHook, but it seems like <code>event.Ascii</code> gives me the wrong ASCII values. For example I get 0 for any symbol or number, 1 for A (should be 65), etc.</p>
  
  <pre><code>import pyHook, pythoncom
  
  def OnKeyboardEvent(event):
      key = chr(event.Ascii)
      print(key)
      return 0
  hm = pyHook.HookManager()
  hm.KeyDown = OnKeyboardEvent
  hm.HookKeyboard()
  pythoncom.PumpMessages()
  </code></pre>
  
  <p>I found a kind of a fix for it, which is using <code>event.KeyID</code> instead of <code>event.Ascii</code>. However, because of that I only get letters and numbers - symbols are totally wrong.</p>
  
  <p>Is this a Python problem, or some kind of keyboard problem?</p>