Does the key commands work with regular keypresses?

It looks like in recent iOS versions, it would be possible to define keyPress events (via objc)
https://www.swiftbysundell.com/tips/handling-keyup-and-keydown-events/