Why can’t I catch a keyboard press?

This works for me too, with Xojo 2025r1.1 on a MacBook and a Parallels Windows 10 VM as target.
This does not influence the fact that the keys are not working as expected in this app. They are in a different one.
Just found this.

EDIT: As a mitigation, AsyncKeyDown(hex) does work. So I’ll add a space depress as fallback.