Don’t know if you’ve figured out a solution, but there’s a way to bypass PsychoPy’s handling of keyboard inputs altogether that should give you what you need. You can basically just listen to the pyglet window directly. See here: Tracking Key release