This sounds an awful lot like The Typing of the Dead
post
A survival horror that's controlled entirely by typing on a keyboard. Online co-op is available. No reviews yet but I like the premise. Might be playable on a Steam Deck if you connect it to a keyboard. Demo is available for you to try before you buy. Also, the dev is broadcasting his playthrough right now.
That certainly looks interesting.
This might help me to keep my typing on point lol. Might try it out
all 4 comments