pythonvisual-studiowinapispy++

spy++: Help interpreting messages on spy++


I was using spy++ to log the keystrokes being sent to a game to simulate it myself using SendMessage() on Python. I have looked at the msdn documentation for WM_KEYUP and WM_KEYDOWN, so I was looking to interpret the lParam values using Spy++.

Spy++ logs for messages being sent

Can someone help me interpret these messages on spy++? I don't know what frepeat, crepeat and the fup values are. I tried Googling them, but couldn't find any source explaining what these parameters are.


Solution

  • Spy++ logs the attributes of WM_KEYDOWN in the same order that they are documented. Thus, cRepeat is the "repeat count", fRepeat is the "previous key state", and fUp is the "transition state".